Please provide HTML that would reproduce the problem or link to the page where the problem is reproducible. Also, please provide the Ruby code that produces the error.
Željko -- https://leanpub.com/watirbook On Mon, Sep 9, 2013 at 12:16 AM, topgun fifteen <[email protected]>wrote: > Hi Everyone, > > I'm new to watir, and currently having a problem when ajax is present. > My Scenario is, I should Select the First Industry before the Second > Industry Shows up. > > Problem is that, it gives me the wrong value. *"Miscellaneous Heavy > Construction" *should be on the last Industry and not in the 2nd > Industry. Thats why I'm getting this error below right after the Industry 1 > was selected. > *Here is my error message: > Watir::Exception::NoValueFoundException: No option with :text, > :label or :value of "Miscellaneous Heavy Construction" in this select > element* > I'm worried that the onchange="javascript:setTimeout( might be the reason > why I'm having this. > > What Is the best approach for this? Should I use the wait_until? or there > is another way doing this right? > Im using WATIR and data-driven using excel. > > > > > > > > -- > -- > 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/groups/opt_out. > -- -- 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/groups/opt_out.
