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:

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). -ben

*/sathya shankar <[EMAIL PROTECTED]>/* wrote:

    Hi Ben,

    Use "Autoit" so that u can send any simulated key
    words from ur scripts.

    Sathya Shankar

    --- Ben Torres 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 using :name,
    > so the only way I can think of, is to just simulate
    > hitting the tab key to get to the field. Is there a
    > TypeKeys function I can use in Watir?
    >
    > Thanks,
    > Ben
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Tired of spam? Yahoo! Mail has the best spam
    > protection around
    > http://mail.yahoo.com >
    _______________________________________________
    > Wtr-general mailing list
    > [email protected]
    > http://rubyforge.org/mailman/listinfo/wtr-general
    >




    ____________________________________________________
    Start your day with Yahoo! - make it your home page
    http://www.yahoo.com/r/hs

    _______________________________________________
    Wtr-general mailing list
    [email protected]
    http://rubyforge.org/mailman/listinfo/wtr-general

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

------------------------------------------------------------------------

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to