How to check for field input during playback test worked

How to apply eValid to functional testing of web applications.

How to check for field input during playback test worked

Postby JamesTG » Tue Jan 23, 2018 12:03 pm

Morning.

If my test playback puts something in to a field, how can I confirm that the imputed data worked?

Thanks
JamesTG
 
Posts: 1
Joined: Tue Jan 23, 2018 12:01 pm

Re: How to check for field input during playback test worked

Postby eValid » Wed Jan 24, 2018 2:11 pm

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.html

This 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.html

When 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
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

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