unable to select data from ajax drop down list

73 views
Skip to first unread message

harendra

unread,
Feb 5, 2010, 12:49:31 AM2/5/10
to selenium-ruby
I am using selenium RC with IE7. my application is having a ajax drop
down list with autosuggestion option from where i need to select data.
When I start typing in the text area, autosuggest control provides
similar options available in the list.

I need to select the populated option from the list either using down
arrow + hitting enter OR by just clicking it.
can anyone please help me out writing HTML code for the same, its
urgent.

Thanks,

Mike Schaufelberger

unread,
Feb 5, 2010, 2:21:27 PM2/5/10
to seleni...@googlegroups.com
Try something like this x path I use for AJAX drop downs:

<tr>
<td>click</td>
<td>//div[contains(@id, 'divID')]//tr/td[text()='your text string']</td>
<td></td>
</tr>

Hope this helps



--
You received this message because you are subscribed to the Google Groups "selenium-ruby" group.
To post to this group, send email to seleni...@googlegroups.com
To unsubscribe from this group, send email to selenium-rub...@googlegroups.com
For Selenium-Ruby project, visit http://seleniumhq.org/projects/ruby/
For Selenium related questions like Core, Server, and RC client in other language, please go to http://clearspace.openqa.org/community/selenium

Reply all
Reply to author
Forward
0 new messages