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