Regular Expression Search -- What Is It Good For?

How to apply eValid to functional testing of web applications.

Regular Expression Search -- What Is It Good For?

Postby Rafe08 » Mon May 25, 2009 9:00 pm

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
Rafe08
 
Posts: 36
Joined: Mon Jun 02, 2008 9:39 am

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

Postby functionaltesting » Wed Jun 17, 2009 11:14 am

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
eValid Tech Support Team
functionaltesting
 
Posts: 116
Joined: Tue Jan 01, 2008 12:48 pm


Return to Desktop and Mobile Device Functional Testing

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