Regular expression matching

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

Regular expression matching

Postby alltest » Thu Apr 21, 2011 3:02 pm

Does eValid support regular expression matching during DOM manipulation passages?
alltest
 
Posts: 1
Joined: Wed Apr 20, 2011 3:28 pm

Re: Regular expression matching

Postby eValid » Tue Apr 26, 2011 9:38 am

alltest wrote:Does eValid support regular expression matching during DOM manipulation passages?

Yes, eValid does support regular expression matching.

The main place where you would use that kind of search in when you are trying to locate the sourceIndex of an element that meets some criteria.

Usually you search with the IndexFindElement command, which matches on simple string comparison basis.

But if you want to have a regular expression search you use the IndexFindElementEX command, which accepts a variety of input specification that will match one or more properties of an element.

A word of caution about the IndexFindElementEX command: As efficient as it is, for pages with a large number of elements the amount of time that it takes to do a search can be quite substnatial -- and may produce visible slowdowns at test playback time.

For example, searching in the home page of CNN or Yahoo! or some equally complex page takes sometimes whole seconds to scan 10,000 element/property combinations. These ratios are documented in the eValid User Manual.

eValid Support
eValid
 
Posts: 2431
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