[wtr-general] New to ruby and watir

2009-02-05 Thread Louie
I was using ruby and watir and now I seem to have broken it when I try to run a small script I get an error How do I get it fixed The script is below here require "watir" ie = Watir::IE.new_process() ie.maximize test_site = "http://hw.expedata.net/admin"; ie.goto test_site The error is below C:/R

[wtr-general] Re: Need to automate pressing of Enter key

2009-01-16 Thread Louie
identify an non IE window? How can you see all windows available? Thank you Louie On Jan 16, 10:33 am, "Darin Duphorn" wrote: > You would just replace the $ie. With whatever you called your browser > property. > > The $ie in my test case is referring to the following > >

[wtr-general] Re: Need to automate pressing of Enter key

2009-01-16 Thread Louie
How would you send an enter key if the window that is open is not a ie window? On Jan 16, 10:11 am, Natasha wrote: > Thanks Darin. > > Just to sum up, the following statement worked: > >  $ie.send_keys("{ENTER}") > > Thanks, > Natasha > > On Jan 16, 2:46 pm, "Darin Duphorn" > wrote: > > > > >