The text in an ElementFocus command

How to apply eValid to functional testing of web applications.

The text in an ElementFocus command

Postby pBrock » Mon Apr 15, 2013 3:51 pm

What does eValid do if the text in an ElementFocus command has changed in the website under test?
pBrock
 
Posts: 1
Joined: Mon Apr 15, 2013 3:44 pm

Re: The text in an ElementFocus command

Postby eValid » Sat Apr 20, 2013 10:45 am

When eValid records a body of text in an ElementFocus command it is setting up the script to play back in a way that will notify you if any changes happened in the element just brought into focus.

eValid does this because the working assumption is that you will want to KNOW whether the content of a page has changed, or not.

At playback time, if the text matches, the playback continues.

If the text does NOT match eValid now uses Adaptive Playback to try to find a matching element on the page with the same text, under the assumption that the element (based on its content) may have moved to a new location on the page. If evalid can't find a matching element that will be noted, and the command logs an ERROR in the EventLog.

In practical terms, however, we have seen many cases when the text that is focused is so complex that the search by eValid for a matching element takes a very long time and/or almost always fails. Sometimes a great feature gets in the way of a usefule test. So, in such a case you may choose to delete the entire command.

eValid Support Team
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