Page 1 of 1

Regular Expression Search -- What Is It Good For?

PostPosted: Mon May 25, 2009 9:00 pm
by Rafe08
We have been working with eValid for some time and like it but sometimes your commands seem to kind of float around without an explanation and that sometimes can be very confusing...

My question is about the "IndexFindElementEX" command...what this one all about and what is it good for? Do you have any simple examples of how you might be using this comand?

-Rafael Lugarno

Re: Regular Expression Search -- What Is It Good For?

PostPosted: Wed Jun 17, 2009 11:14 am
by functionaltesting
Thanks for writing.

We apologize if you are having trouble finding the
explanations for eValid commands.

In particular, here is the complete description of eValid's
command that lets you find the sourceIndex of an object on a
page using a search process based on Regular Expressions:

http://www.e-Valid.com/Products/Documentation.9/DOM/index.find.element.ex.html

You typically would use this command in place of an
IndexFindElement command when you only know a part of the
information about the element you're trying to locate on the
page.

By specifying part of what you are looking for you are able to
find it even if the specific part of the page has changed.

The use of a regular expression rather than a simple string
match can have some performance penalties that you ought to be
aware of.

Here is a page that benchmarks the eValid IndexFindElementEx
command that searches page DOMs for Regular Expressions:

http://www.e-Valid.com/Products/Documentation.9/DOM/performance.html