If you're using Watir 1.5.1, you can call wait_until for a control to exist.
Take a look at this, your needs might be different but it may give you some
direction:
http://wiki.openqa.org/display/WTR/Simple+Ajax+examples

I'll add more examples at some point but the basic concept holds.

-Charley

On 4/15/07, Neel <[EMAIL PROTECTED]> wrote:

When i click a link ,an ajax
form opens there it self. Using selenium i can get the form but am not
able to enter the values. Its throwing me an error Element not found,
But i used the correct element only. I tried
using wait_for_page_to_load() also. then its throwing me Time out
error. So wat should i do to over come this problem??
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to