Can eValid do Xpath?

Applying eValid to AJAX applications that require advanced DOM-based methods.

Can eValid do Xpath?

Postby UserD » Mon May 04, 2009 11:27 am

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
UserD
 
Posts: 18
Joined: Fri Oct 03, 2008 11:25 am

Re: Can eValid do Xpath?

Postby eValid » Tue May 12, 2009 6:40 am

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

The eValid Team
eValid
 
Posts: 2395
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons