Search elements via sub-string using eValid

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

Search elements via sub-string using eValid

Postby VHoward » Fri Jul 07, 2017 1:59 pm

Afternoon.

How do I look for an element by specifying a sub-string in eValid.

Thanks
VHoward
 
Posts: 1
Joined: Fri Jul 07, 2017 1:56 pm

Re: Search elements via sub-string using eValid

Postby eValid » Mon Jul 10, 2017 7:10 am

VHoward wrote:Afternoon.

How do I look for an element by specifying a sub-string in eValid.

Thanks


A good question VHoward thanks for posting.

You didn't say if this was for a synchronization or for a validation, but the methods to use are similar.

First, you can locate an element in the current page with an IndexFindElement or IndexFindElementEX command, described here:

http://www.evalid.us/Products/Documenta ... indElement

The search for a sub string is best done with a regular expression.

Here is how that goes:

http://www.evalid.us/Products/Documenta ... ple15.html

One note of caution, the regular expression search is resource heavy if you have a very broad regular expression.

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