JamesTG wrote:Morning.
If my test playback puts something in to a field, how can I confirm that the imputed data worked?
Thanks
Good question JamesTG.
The eValid commands are VERY reliable, but even so, it is a fair question.
Implanting data into the current page can happen in many different ways.
At playback time that could be a simple as having the [artificial] user type into an input field.
No problem.
But, to find out, after such a command has finished, exactly what was put into the field you need to know:
(1) The sourceIndex of the element.
(2) The name of the property in that DOM element that stores the data.
This will probably require you to use the IndexFindElement command:
http://e-valid.com/Products/Documentati ... ement.htmlThis will help you find [and set] sourceIndex to the right value.
Then you need to extract the specific value of the named DOM element, using the ValueGetElement command described here:
http://e-valid.com/Products/Documentati ... ation.htmlWhen this command completes the current "ElementValue" string contains what was in that elements specifically named property.
Let us know if you need further help.
-- eValid Support