Page 1 of 1

Input Value Command Explained

PostPosted: Thu Jun 19, 2008 11:26 am
by swtesting
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.

Re: Input Value Command Explained

PostPosted: Thu Jun 19, 2008 11:28 am
by serverloading
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