Forum Discussion
I tried it and I get this :
Aliases.MainTabControl.rowHeaderContent.Click(5, 12);
NameMapping.Sys.Wdh_Digisharp_UI_Shell.MainWindow.MainRegion.ThresholdsView.PhysicalTab.PhysicalTableRight.Keys("[Up][Up][Up][Up][Up][Up][Up][Up][Up][Up][Up][Up][Up]");
Aliases.MainTabControl.rowHeaderContent2.Click(5, 11);
NameMapping.Sys.Wdh_Digisharp_UI_Shell.MainWindow.MainRegion.ThresholdsView.PhysicalTab.PhysicalTableLeft.Keys("[Up][Up]");
The 1rst part (with many Up) corresponds to press 'Up' continiously and the second part is when I press 'Up' two distinct times.
Alicya
I tried this
item1.Click();
item2.Click();
item3.Click();
Sys.Desktop.KeyUp(VK_CONTROL);
- AlexKaras5 years agoChampion 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?
- Alicya6195 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_R5 years agoModerator
What's the test case that you are trying to implement here?
Related Content
- 7 years ago
- 5 years ago
Recent Discussions
- 13 hours ago
- 13 hours ago
- 19 hours ago