Page 1 of 1

Does eValid work with a select box?

PostPosted: Tue Jan 05, 2016 8:05 am
by VTayback
Morning.

Here's one for you technical support people?

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

Thanks

Re: Does eValid work with a select box?

PostPosted: Wed Jan 06, 2016 3:35 pm
by eValid
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