Forum Discussion
AlexKaras
Champion Level 3
Hi Alicya,
As per https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-sys-desktop-pda/keys-method-sys-desktop-object.html, what if you try something like this:
<object>.Keys("[Hold]a[P2000][Release]");
<object>.Keys("[Hold][Up][P2000][Release]");
Does it help?
Alicya619
4 years agoOccasional Contributor
Hello,
The code given
<object>.Keys("[Hold]a[P2000][Release]"); => nothing
<object>.Keys("[Hold][Up][P2000][Release]"); => increase one unit
If I tried this :
Sys.Desktop.Keys("[Hold][Up]");
aqUtils.Delay(5000);
Sys.Desktop.Keys("[Up][Release]");
aqUtils.Delay(3000);
Sys.Desktop.Keys("[Hold][Up]");
I will have 3 unit increasement, one for each 'Keys' command lines
Thanks
- Marsha_R4 years agoChampion Level 3
What's the test case that you are trying to implement here?
Related Content
- 6 years ago4m4d3u5