UserD wrote:My question is, can eValid do Xpath?
The problem is to find a specific page element at which a specific
property takes on a specified pattern -- a regular expression in my
case -- and I don't see how eValid can do that?
Can it?
Can you explain?
UserD
Yes, there is a very close equivalent to Xpath built into the eValid engine.
The special set of commands that does "index motion" operations on web pages includes a command called "IndexFindElementEX" that identifies the index in a page that contains the first-found regular expression pattern match for a given regular expression.
The "first-found" match means the first one after an initial starting index value which you can set explicitly, or which can be the result of the PRIOR "IndexFindElementEX" command.
Basically, you can chain together several IndexFindElementEX commands to identify a specific part of page -- pretty much independenly of page variations that would defeat even Xpath expressions sometimes.
Here's the URL for the command description:
http://www.e-valid.com/Products/Documen ... nt.ex.htmlThe eValid Team