RDrake wrote:Morning.
Thanks for answering my previous forum post.
Follow up to the prior question:
What if I don't know the specific "sourceIndex" in the page?
How do I find it.
Thanks
Interesting question RDrake.
OK, the facts you have are that you know there is [supposed to be] some page element that has a property name which has a particular value.
Here you have to use either IndexFindElement of IndexFindElementEx to locate the index.
Here is an example of this:
http://e-valid.com/Products/Documentati ... ple12.htmlNote that this will find the FIRST-OCCURING instance of an index which possesses a property with the specific name taking on that particular value.
If that is not unique then your search is more complicated.
Our experience is that you can almost always find a property value that, when found, yields a unique "sourceIndex".
In well behaved pages this, in the worst case, is the "ID tab"...
Hope this helps.
-- eValid Support