Does eValid work with a select box?

Discussion of the technology underlying the eValid solution.

Does eValid work with a select box?

Postby VTayback » Tue Jan 05, 2016 8:05 am

Morning.

Here's one for you technical support people?

How does eValid handle selecting the Nth entry in a Select Box?

Thanks
VTayback
 
Posts: 1
Joined: Tue Jan 05, 2016 7:59 am

Re: Does eValid work with a select box?

Postby eValid » Wed Jan 06, 2016 3:35 pm

VTayback wrote:Morning.

Here's one for you technical support people?

How does eValid handle selecting the Nth entry in a Select Box?

Thanks


Very good question, thanks for asking VTayback.

First, here is a description of how eValid looks into your page:

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

So the first thing to do is figure out the source Index of the DOM element that heads (or contains) your drop-down list.

You need to fine some unique DOM property name or name=value that you can pivot on.

Once you have that, then you can always find that particular element even when all the rest of the page changes.

So you search down the page to that pivot and then simply ask for "4" in the SELECT-ONE attribute of that DOM element.

You do that with an IndexInputValue command that identifies the SELECT-ONE attribute from that DOM element.

Here are the commands to that do the job along with some additional explanation:

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

-- eValid Support
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Technology

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