Hello,
I got started with macro scheduler yesterday, so pardon my ignorance.
I am writing a test script to launch and login a windows application. Once the login page pops up, the focus is in the username text box. I am trying to type the username, hit tab and then type password and then Hit Alt +L (for logging in).
I am able to launch the application, however I can not make it type the username in the textbox.
I have tried Send, Send Character.
Please help.
TIA.
Sending text (username, pwd ) to a windows application
Moderators: Dorian (MJT support), JRL
The particular form (window) which is to receive the typed text needs to have the focus first before you do a Send>.
Do a SetFocus> command then a small wait i.e. Wait>0.5 then do the Send> to type in the field.
Example:
Note that the last Send>l is sending a lowercase "L" not a 1
Do a SetFocus> command then a small wait i.e. Wait>0.5 then do the Send> to type in the field.
Example:
Code: Select all
WaitWindowOpen>Login
Wait>0.5
SetFocus>Login
Wait>0.5
Send>mylogin
Wait>0.5
Press Tab
Wait>0.5
Send>mypassword
Wait>0.5
Press Alt
Send>l
Release Alt