Input Value Command Explained

Use and application of the eValid server loading (LoadTest) capability. And in the cloud computing context for monitoring and loading.

Input Value Command Explained

Postby swtesting » Thu Jun 19, 2008 11:26 am

I already checked your tips and try some, what i could figure was that
this step is the one making the JS to fail:

InputValue 0 41 "FILE" "upfile" "upfile" "C:\Documents and
Settings\raul.sanchez\Desktop\1Bueno.txt" "" ""

If playback step by step and insert the path manually or with the browse
button, there is no problem with the submit button, it gets clicked with
no problem. but if that command runs, then the button clicked triggers
no action.

Im gonna try to fill that field with some other way, maybe then th JS
does not fails :)

Thanks and Regards.
swtesting
 
Posts: 35
Joined: Thu May 29, 2008 3:51 pm

Re: Input Value Command Explained

Postby serverloading » Thu Jun 19, 2008 11:28 am

I believe the problem is that "FILE" is not a recognized playback time
type parameter...please see the documentation:

http://www.e-Valid.com/Products/Documen ... InputValue

Or, even though eValid recorded it there you need a different way to
force the action to be accepted.

The thing to do is to convert the command this way...

You have:
InputValue 0 41 "FILE" "upfile" "upfile" "C:/Documents and
Settings/raul.sanchez/Desktop/1Bueno.txt" "" ""

You want something like this:
IndexFindElement 0 DOWN "id" "name of the id" ""
IndexInputValue 0 "FILE" "right hand side of the property at that index" "1" ""

You have to use the PageMap to find the specific values from
that page.

Please study the DOM manipulation options:

http://www.e-Valid.com/Products/Documen ... mmary.html
eValid Tech Support Team
serverloading
 
Posts: 86
Joined: Tue Jan 01, 2008 12:48 pm


Return to Performance/Load Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons