Re: [Wtr-general] Tabbing through website

2005-07-21 Thread Raghu Venkataramana
Are you trying to manually launch/activate another window? IMHO, it is always best not to run any other application (manually) when test automation is running. If you still need it, you could try WinActivate("title_of_ie") to activate the browser before sending keys Raghu Ben Torres wrote:

Re: [Wtr-general] Tabbing through website

2005-07-21 Thread Ben Torres
thanks sathya...autoit helped with the tabbing.  is there a way for me to keep the browser active while the lines for autoit are executed?  when i run the script, and go off to do work on another app, autoit runs the command on the current active app (ran while i was in notepad).   -bensathya shank

RE: [Wtr-general] Tabbing through website

2005-07-21 Thread Bret Pettichord
At 09:45 AM 7/21/2005, Cain, Mark wrote: Would this also work for sending other keyboard commands? E.g. {ALT + A} Yes _ Bret Pettichord www.pettichord.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforg

Re: [Wtr-general] Tabbing through website

2005-07-21 Thread Michael Kelly
+1 more... -Mike >-Original Message- >From: Cain, Mark [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 21, 2005 09:45 AM >To: wtr-general@rubyforge.org >Subject: RE: [Wtr-general] Tabbing through website > >1+ > >Would this also work for sending other keyboar

RE: [Wtr-general] Tabbing through website

2005-07-21 Thread Cain, Mark
1+ Would this also work for sending other keyboard commands? E.g. {ALT + A} --Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Wednesday, July 20, 2005 7:09 AM To: wtr-general@rubyforge.org Subject: RE: [Wtr-general] Tabbing

Re: [Wtr-general] Tabbing through website

2005-07-20 Thread Sean Gallagher
+1 On 7/20/05, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Would there be interest in adding this method to Watir? -- > >ie.send_keys("{tab}") # send key events to IE window > > I don't have strong feelings either way, but it wouldn't be hard to add. > > Bret > > > At 04:40 PM 7/19/2005,

Re: [Wtr-general] Tabbing through website

2005-07-20 Thread Shao Kang Tat
I vote yes :) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

RE: [Wtr-general] Tabbing through website

2005-07-20 Thread Bret Pettichord
Would there be interest in adding this method to Watir? -- ie.send_keys("{tab}") # send key events to IE window I don't have strong feelings either way, but it wouldn't be hard to add. Bret At 04:40 PM 7/19/2005, Scott Hanselman wrote: You might be able to FireEvent( onblur ) then FireEven

RE: [Wtr-general] Tabbing through website

2005-07-20 Thread Williams, Kevin
If it isn't too much trouble, I can see how it might come in handy some day. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Wednesday, July 20, 2005 8:09 AM To: wtr-general@rubyforge.org Subject: RE: [Wtr-general] Tabbing th

Re: [Wtr-general] Tabbing through website

2005-07-19 Thread sathya shankar
Hi Ben, Use "Autoit" so that u can send any simulated key words from ur scripts. Sathya Shankar --- Ben Torres <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to both Ruby and Watir and was wondering if > there is a way to send the key for my scripts. > I am unable to locate a file field by u

RE: [Wtr-general] Tabbing through website

2005-07-19 Thread Scott Hanselman
You might be able to FireEvent(“onblur”) then FireEvent(“onfocus”) to get the same effect, unless your _javascript_ is truly looking at keydowns… Scott   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Torres Sent: Tuesday, July 19, 2005 2:22 PM To: wtr-genera