Hey guys, if I want to simulate key strokes done on a website I am only able to do so for pre-defined keys such as “LEFT_CONTROL” and “LEFT_ALT” or at least that is the way I have tried it.
What I am trying to do is to simulate a user pressing CTRL+ALT+R or CTRL+ALT+S at the same time when they are on a webpage as these simultaneous key presses kick off certain actions on our website.
I have tried using “SEND KEYS” but it only works if an element that supports key inputs is selected and this does not suit my use case. I have tried using the “press and hold key” addon but it only supports a set list of pre-defined keys, not alpha-numeric keys. Is there a way to simulate these key presses by a user using TestProject without having to select an element first?
An example work flow would be:
- User opens site
- User inputs username
- User inputs password
- User clicks login
- User presses CTRL+ALT+R
Help with this would be highly appreciated!