Please help me out in handling AJAX populated data through selenium

4 views
Skip to first unread message

Saturn

unread,
Sep 2, 2009, 10:13:33 AM9/2/09
to selenium-ruby
Hi All,
I am using selenium-rc-beta 1. Thanks in advance for all helpful
hands.

Scenario of problem:
I am selecting a value from one select control.
On the bases of selected value in first select , an AJAX call is made
and second select control gets some data populated.


Problem :
When I try to select values from 2nd select element it gives Element
Not Present error, however I tried to use sleep 60 or even more
between Selecting a value in 1st select and 2nd.

I read about waitForValue etc but couldn't find these functions in
selenium rc beta 1.

Please help me.

dara

unread,
Sep 2, 2009, 3:06:26 PM9/2/09
to selenium-ruby

Saturn

unread,
Sep 22, 2009, 10:33:24 AM9/22/09
to selenium-ruby
Thanks !!! But the problem was that I was picking the element by it's
XPATH now I am using it's id.

On Sep 3, 12:06 am, dara <dara.lil...@gmail.com> wrote:
> You should use wait_for_elementhttp://selenium-client.rubyforge.org/classes/Selenium/Client/Extensio...
Reply all
Reply to author
Forward
0 new messages