auto fill web forms with drop down menus

Asked by Vineet

I am testing a web-based form that has few textboxes, dropdowns and checkboxes. I can manage auto-filling textboxes but its really cumbersome to test a form with dropdown menus, especially when the drop down contains all the different states.

Currently, the script uses a pattern match to find the form menu, left-click, then do some pattern matching on the state name and click on it.

Does Sikuli have something like the auto-form addon for browser to make this easy?

Question information

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

Sorry, no.

To handle dropdowns is one of the hardest jobs in Sikuli. Whenever I tried this, I ended up in using keyboard simulation to navigate to the appropriate list entry. But this only works in cases where you know the entries of the list in advance.

For these cases in browsers, it is sometimes easier to use Selenium or some javascript injection.

Revision history for this message
Enix Shen (enix12enix) said :
#2

Yes, selenium or watir(if you use ruby) will make it easy.

http://seleniumhq.org/

http://watir.com/

Can you help with this problem?

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

To post a message you must log in.