What can you do when eValid can't found an element on a page

How to apply eValid to functional testing of web applications.

What can you do when eValid can't found an element on a page

Postby PAdams » Mon Feb 12, 2018 11:55 am

Hello.

I was wondering:

What happens in eValid if you search for an element and it is not found?

Thanks
PAdams
 
Posts: 1
Joined: Mon Feb 12, 2018 11:53 am

Re: What can you do when eValid can't found a element on a p

Postby eValid » Tue Feb 13, 2018 11:20 am

PAdams wrote:Hello.

I was wondering:

What happens in eValid if you search for an element and it is not found?

Thanks


Thanks for asking PAdams.

We assume you mean you are using the search commands described in this manual page:

http://e-valid.com/Products/Documentati ... ation.html

The search commands assume that you are starting at the SourceIndex, a variable know internally to eValid and which is defaulted to "0".

If match occurs, the value of SourceIndex is reset to the index of the element where the match was found.

If no match occurs, you get an error message in the EventLog and the value of SourceIndex is NOT CHANGED.

This means that if you have a property value that could be only one of to values (unique in the page) and your first search fails, you can run the second one right away, and you'll be assured that is there is a match it will be found correctly.


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