26-07-23 01:35 PM
27-07-23 01:57 PM
I'd create a new object called something like "[System Name] - Win32 Actions"
Create an attach stage that attaches to the window (do not use the mainframe interface). Create a new action called something like "Send global keys to screen", and in the action activate the window and use the Global Sendkeys or Global Sendkey Events (try both to see what works) to send the keystrokes to the mainframe. Set a 0.1 second time between keystrokes whenever using global sendkeys just in case the robot sends them too fast for the application.
Your mainframe interface will then enter the username and then call your new windows action to send global keystrokes for the password which should definitely work because that is replicating what the human does.
01-08-23 10:32 AM
Hi Gurunath,
Try setting the cursor position at the start position of both username and password and then try writing them this would ensure the cursor is at right place and it would reflect as if you click on the fields manually.
Hope this helps...