Is the radio button created (rendered) as a result of the list
selection?

You might just have to do a little sleep after the selection to give
the javascript time to render the element, so it can be found on the
page.

If you use IRB to run that code manually, does it work?   if so it's
likely just timing..   If not, then please tell us exactly what
happens.

On May 28, 8:43 am, leva parivar <[email protected]> wrote:
> Hi All,
>
> I am also working on drop down lists...(select_list) and am facing a
> problem in selecting list in Firefox.
> The following piece of code works fine with IE(ie.select_list), but
> fails to work with Firefox 3.0.10.
> I want to select the value from drop down list and then further click
> a radio button on same page.The select list and radio buttons are on a
> Ajax response.
>
> Code ...
> ff.select_list(:id, 'capture_main_form:source').select('Phone')
> ff.select_list(:id, 'capture_main_form:languages').select('English')
> ff.radio(id,'capture_main_form:data_panel').set
>
> Error displayed ...
> -FAIL-]>[Select: 'capture_main_form:source']
> Step failed: Check present: [Select: 'capture_main_form:source']
> Unexpected error from Watir runner: Unable to locate element,
> using :id, "capture_main_form:source"
>
> If any one know this please let me know.
> Appreciate your help.
>
> Thanks
> Prashant
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to