Page 1 of 1

Help with navigating a dropdown within a page

PostPosted: Thu Aug 26, 2021 9:57 am
by RogerL
Hello.

If I want to navigate within a dropdown to the Nth item, how do I do that?

Please add any reference material if available.

Thanks

Re: Help with navigating a dropdown within a page

PostPosted: Fri Aug 27, 2021 9:43 am
by eValid
RogerL wrote:Hello.

If I want to navigate within a dropdown to the Nth item, how do I do that?

Please add any reference material if available.

Thanks


Thanks for posting that question RogerL.

Indeed, to get to the first item is a dropdown box is easy enough, but the "trick" to get to a subsequent one is to carefully resent the IndexFindElement command so it skips the current location and returns the NEXT location.

Here is an example showing how this is done for the 3rd item in a dropdown:

http://e-valid.com/Products/Documentati ... ple08.html ?

The reason this is so complicated is that the name-match checking always will find the first-occurring name (string).

This should get you on the right track, but let us know if you encounter problems..


-- eValid Support