Multiple drop down menus

Asked by Pamela Kilponen on 2018-06-07

I have a site I am trying to test that has multiple drop-down menus. How do I get Sikuli to recognize each one in sequence? I use the find feature, but it only finds one, not the next one, or it randomly clicks on any of the drop downs on the site.

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

--- to find a single dropdown
1. use images with as little background as possible to concentrate on the distinguishing aspects (probably text in your case)
2. use Pattern() with a high similarity (>0.95)

--- to find all dropdowns and cycle through the matches
see findAll()

Pamela Kilponen (paboki) said : #2

Thank you, I used the location (x, y) settings, and that worked. Just need to put a wait time between them. Just need to remember each time I test it has to be in the same position on the screen. Fortunately, the devs made that automatic when opening the program.

Can you help with this problem?

Provide an answer of your own, or ask Pamela Kilponen for more information if necessary.

To post a message you must log in.