Page 1 of 1

Can eValid handle a drop-down list of names

PostPosted: Mon Dec 28, 2015 5:35 pm
by StewartM
Evening.

How does eValid handle the job of picking off the nth item in a drop-down list?

Specifically, I need the THIRD item of the same name in the list.

Is this possible?

Thanks

Re: Can eValid handle a drop-down list of names

PostPosted: Tue Dec 29, 2015 9:28 am
by eValid
StewartM wrote:Evening.

How does eValid handle the job of picking off the nth item in a drop-down list?

Specifically, I need the THIRD item of the same name in the list.

Is this possible?

Thanks


Very good question StewartM.

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

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

The key is to find the actual name of elenment as well as the sourceIndex.

You do this by searching for a name with the PageMap, then incorporating that information into your script.

Most drop down lists are indexed themselves, so once you have eValid focused on the right sourceIndex (the right DOM element), all you have to do is choose "3" as the selection within that structure.

Here are the commands and a complete writeup about how to do this:

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

-- eValid Support