forum.e-valid.com
http://forum.e-valid.com/

Can eValid do Xpath?
http://forum.e-valid.com/viewtopic.php?f=16&t=1300
Page 1 of 1

Author:  UserD [ Mon May 04, 2009 12:27 pm ]
Post subject:  Can eValid do Xpath?

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

Author:  eValid [ Tue May 12, 2009 7:40 am ]
Post subject:  Re: Can eValid do Xpath?

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

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/