Im trying to set .keys("~^x")
This doesnt seem to work. Is there an alternate suggestion
Solved! Go to Solution.
For the Keys method, try
Keys('[Hold]~^x[Release]') See https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-sys-deskto...
Hi,
Have you read https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-sys-deskto... and https://support.smartbear.com/testcomplete/docs/app-objects/simulating/keystrokes.html help topics and tried what is suggested there? Doesn't it work?
Specifically, I mean [Hold] constant and .KeyDown()/.KeyUp() methods of Desktop and LLPlayer objects.
The alternate suggestion was given... using the LLPlayer or other objects, send keydown, keyup, etc., commands.
yes, i tried that as well. below is my code for ctrl Alt r
Sub Testing123
Call LLPlayer.KeyDown(VK_CONTROL, 2000) ' Presses Control
Call LLPlayer.KeyDown(VK_MENU, 2000) ' Presses Alt
Call LLPlayer.KeyDown(82, 2000) ' Presses r
Call LLPlayer.KeyUp(VK_CONTROL, 1000)
Call LLPlayer.KeyUp(VK_MENU,1000)
Call LLPlayer.KeyUp(82,1000)
End Sub
So... I guess the question is... what's not working? What behavior are you NOT seeing that you want to see? What errors, if any, are you getting?
Im not getting any errors.
In my application, when i press ctrl alt x, it is supposed to bypass captcha, which is not happening
For the Keys method, try
Keys('[Hold]~^x[Release]') See https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-sys-deskto...
Thank you HOLD and Release worked for multiple keys worked.
@AlexKaras wrote:
Have you read [...]
Specifically, I mean [Hold] constant [...]
@Mathit wrote:
Yes, I did.
@tristaanogre wrote:
For the Keys method, try
Keys('[Hold]~^x[Release]') See [the same link]
@Mathit wrote:
Thank you HOLD and Release worked for multiple keys worked.
Subject | Author | Latest Post |
---|---|---|