Forum Discussion
rraghvani
8 months agoChampion Level 3
Key press followed by a 5 second delay,
Obj.Keys("[F10]");
aqUtils.Delay(5000);
- SubhraDas8 months agoNew Contributor
That's not what I want . I want Keys function to know if it's getting "[F10]" and do stuff. I want to modify the Keys function i.e. override or extend aqObject / testObject
- rraghvani8 months agoChampion Level 3
If you want to override the method, search the internet for "how to override a JavaScript function", if using JavaScript.
I'm not sure if it's possible in the version of JavaScript, that TC uses.
You pass the constant value i.e. "[F10]" to the Keys method, which will then simulate the keystroke to the object. You can then proceed to perform other actions.
- SubhraDas8 months agoNew Contributor
What ? Before you reply again I want you to read my original question carefully . Don’t stress
Related Content
- 8 years ago
- 3 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago