how to scroll and select multiple items from dropdown list

Asked by Simon Shi

hi , i was trying to pick up several items from a dropdown. those items are located at very bottom of the list. .

i am not to pick up multiple, but pick up one is OK.

in the meanwhile, i am also think whether Sikuli can support to run javascript in loaded webpage.

thanks
Simon

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

--- not really clear, what you mean with "picking up"

--- not a feature, but if you know how to do it manually with mouse and keyboard: just script it.

Revision history for this message
Simon Shi (simon-shihua) said :
#2

HiRaiman, thanks for replying.
1. pick up, i meant to select list items.
2. sad to know no JS support. let me ask this way, i can select one of items in the list by typing first few characters. but don't know how to do the same when i need to select multiple items. i tried to keyDown CMD on Mac, but it seems not working properly

thanks
Simon

Revision history for this message
Best RaiMan (raimund-hocke) said :
#3

as far as I know:
it is not possible manually to select more than one entry in a drop down by using this approach (typing the starting characters of an entry)
... hence it is not possible with Sikuli as well

So again: if you have a working manual approach, to select multiple entries, you have to implement a simulating workflow with Sikuli features. from experience using keyboard actions with step counting is most promising.

Nevertheless: dropdowns besides menues are the most challenging things with Sikuli ;-)

Revision history for this message
Simon Shi (simon-shihua) said :
#4

Thanks RaiMan, that solved my question.