Using multiple Object Properties

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

Using multiple Object Properties

Postby PacMan » Wed Dec 15, 2010 4:52 pm

How would I go about indentifying an object using the 3 properties below?
Please provide the syntax.

1) HTML ID = ABC
2) isDisabled = false
3) innerText = Welcome back, .* (I need to use a regular expression)
PacMan
 
Posts: 8
Joined: Tue Nov 23, 2010 1:46 pm

Re: Using multiple Object Properties

Postby eValid » Fri Dec 17, 2010 9:46 am

PacMan wrote:How would I go about indentifying an object using the 3 properties below?
Please provide the syntax.

1) HTML ID = ABC
2) isDisabled = false
3) innerText = Welcome back, .* (I need to use a regular expression)

We would first recommend that you study the operation of the IndexFindElementEX command, which can searche for multiple matches. That command accepts regular expressions, of which simple string matches are a proper subset, so that should be powerful enough for you to find the sourceIndex [if one exists on the current page] that matches your requirements

Here is the link to the manual page for this command:

http://www.e-valid.com/Products/Documen ... nt.ex.html

If after studying this command, and reviewing the worked examples that are supplied with the documentation, you are unable to get the structural testing command passage to work please contact Technical Support and we can open a support ticket for you.

The eValid Team
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