Post new topic Reply to topic  [ 2 posts ] 

Board index : Dom : DOM Processing

Author Message
 Post subject: Can eValid do Xpath?
PostPosted: Mon May 04, 2009 12:27 pm 

Joined: Fri Oct 03, 2008 12:25 pm
Posts: 18
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


Back to top
 Profile  
 
 Post subject: Re: Can eValid do Xpath?
PostPosted: Tue May 12, 2009 7:40 am 

Joined: Tue Jan 01, 2008 1:48 pm
Posts: 284
Location: USA
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


Back to top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Board index : Dom : DOM Processing


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.