No I am not. Actually it's choosing but it's not reflecting, clicking the option through selenium refreshes the page and once option is selected field gets disabled but nothing is happening while I choose through JavaScript.
On 04-Sep-2017 11:30 PM, "Titus Fortner" <[email protected]> wrote: > Out of curiosity, are you testing it on a site using React? > > On Mon, Sep 4, 2017 at 12:18 AM, <[email protected]> wrote: > >> To be close it 's choosing but not reflecting in the select list. But >> selenium select does the Job properly. I believe after the choose, >> selenium is triggering something which Javascript fails to trigger that. >> >> >> On Monday, September 4, 2017 at 12:23:48 PM UTC+5:30, >> [email protected] wrote: >>> >>> I have written the below code >>> >>> browser.select_list(:id, "ProductGroup").select!("Fire Products") >>> >>> >>> It's not choosing any option as well as it's not throwing any error. >>> >>> >>> I know this has been done through Java script and don't know why it's not >>> working. >>> >>> -- >> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> [email protected] >> http://groups.google.com/group/watir-general >> [email protected] >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Watir General" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > > --- > You received this message because you are subscribed to a topic in the > Google Groups "Watir General" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/watir-general/lUkyU5-C0Eg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
