Hi everyone, I'm sorry i found my error already. I missed an array declaration in my excel script that cause the selection error.
thanks Zeljko and Tadeu. On Tuesday, September 10, 2013 8:57:06 PM UTC+8, Tadeu Panato wrote: > > missing excel data. > > > and looks like you are trying to get *Miscellaneous Heavy Construction > but exist only * Heavy Construction > > > just my two peanuts. > > > > Em segunda-feira, 9 de setembro de 2013 04h16min55s UTC-3, AAA escreveu: >> >> 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.
