This might not be your issue, but have you tried adding a "require watir/ie" line? If that doesn't help, please provide information on what versions of watir and ruby you're using.
-Dylan On Aug 16, 10:17 pm, balbao <ramkrishn...@gmail.com> wrote: > Folks, > > Have any of you faced similar kind of issue ?. This is a blocker for > me...Need help. > > On Aug 14, 12:04 pm, balbao <ramkrishn...@gmail.com> wrote: > > > HI, > > > In my application, to enter a date for a field, we need to do it using > > the calendar icon. This is the only option to enter data in that > > field. The code i wrote for this is > > > $ie.image(:src, /calendar/).click > > sleep(7) > > $ie2 = Watir::IE.find(:title, /Calendar/) > > $ie2.select_list(:id, /month/).select('June') > > $ie2.text_field(:id, /year/).set('2008') > > sleep(3) > > $ie2.link(:index, 22).click > > > I tried this in IRB and it worked fine. Nevertheless, when i inserted > > this into script, after selecting the month [$ie2.select_list(:id, / > > month/).select('June') ], the script execution ceased. No error was > > thrown even after one hour. > > I got this error, after closing the console manually "Exit code: > > -1073741510". Not sure, why this surfaced. > > > My hunch is that the console is expecting some sort of response. > > > Balbao. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---