RPerry wrote:Good morning.
Are all property names in a web page always unique and what happens if they are not?
Thanks for asking RPerry.
The hope would be that the element IDs in a web page are all unique but that may not be true.
The same applies to any other property name:
It is possible for two separate index values in the DOM tree to have identically named property names.
The most common issue for this, is, how do you find the index that has the right one?
Here the command you'll be using: http://www.e-valid.com/Products/Documen ... ement.html
The key to solving this riddle is to know more about the page.
You MUST find some "fixpoint" in the page that you can use.
For example, you want the element that has property X=SOMETHING that happens after the ONLY element that has the property PI=3.14159.
So you first find that one, then increment the sourceIndex by 1, and then search again for the element hat has X=SOMETHING.
eValid remembers the sourceIndex of the last search made, so subsequent commands can pivot on that one point.
-- eValid Support