DonaldK wrote:Afternoon.
What happens when the page changes and an element can not be found?
Thanks
Thanks for posting DonaldK.
We assume you are talking about the IndexFind... commands, like one of these:
http://e-valid.com/Products/Documentati ... indElementIf an element find operation fails to find an element, then a Warning message is written, but the script then continues as if the element searched for has not been found.
This leaves the value of "SourceIndex" unchanged.
Either you can set a flag for alternative processing for that failure, or you can check the value of "SourceIndex" to see if it has changed.
Hint: If the element you are searching for is on the SAME index value as where you started, then you will indeed find it and there won't be a change in value.
In this case you can use a ValueSet +1 command to jump around this situation.
-- eValid Support