Java App not accepting input keys/mouse
Java App not accepting input keys/mouse
I am having problems getting a standalone java-based application to accept keyboard input from Robotask. My script is simple with only two tasks: launch the app (this works fine) and send keys. I have tried variations for SendKeys task including "Emulate KeyPress" and "Send as Simple Text" with no behavior difference.The window is detected because it rises to the top window when I manually run the Send task. The text field is active and the text cursor is blinking in the login text field area.I tested and I have no problems getting input to work on Notepad or other similar utilities, so I know it is not a case of operator error.Robotask system log says: I: 6/4/2011 9:57:21 AM: Starting Task [Run "thinkTDA.exe "...] Cause: Manual runI: 6/4/2011 9:57:29 AM: Starting Task [Send keys to "Logon"] Cause: Manual runIf you want to try to duplicate this issue, the java application is available for free download at https://www.thinkorswim.com/tos/suiteFr ... g-s.tos.My configuration:Win7 SP1 64bitRobotask 4.4 patch #3I looked on this forum for any issues related to standalone Java apps but found next to nothing.Let me know if I can provide other information related to my problem in order to get this resolved. Thanks for your kind assistance!
Java App not accepting input keys/mouse
Check the following:
You need to do some timeout (a few seconds) in order to give some time to launched application.
Insert the "pause" action after the launching of your application.
You need to do some timeout (a few seconds) in order to give some time to launched application.
Insert the "pause" action after the launching of your application.