How to use Selenium to simulate the action of picking an item of SuggestionBox?

45 views
Skip to first unread message

zoe.Liao

unread,
Nov 20, 2009, 3:06:53 AM11/20/09
to Google Web Toolkit
Hello,Selenium IDE can not capture the action of picking an item of
SuggestionBox.Is there any way to simulate this action (selecting an
item) ?Or any aternative way to test SuggestionBox with selenium?

Thanks in advance.

Clint

unread,
Nov 21, 2009, 2:10:54 AM11/21/09
to Google Web Toolkit
You need to instruct it to focus on the field, clear the field (some
browsers might keep the original text), type each key, and somehow you
need to type space as the last key to trigger the suggestions. So
basically just selenium.type(..) won't work.

Clint
Reply all
Reply to author
Forward
0 new messages