ContributionsMost RecentMost LikesSolutionsRe: How do I simulate holding "UP" key It's not about a number it's about the possibility to do it, let's say : As a user of my application, I want to have an increase of several digits when I'm continuously pressing on UP key. By opposition, when I'm pressing one time on UP key, I want an increase of one and only one digit. Do you have the solution ? Thanks Alicya Re: How do I simulate holding "UP" key When I'm pressing continuously on a key, I will expect a result like this : 'aaaaaaaaaaaaaaa' and not like that 'a'. Re: How do I simulate holding "UP" key 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 Re: How do I simulate holding "UP" key I tried this Sys.Desktop.KeyDown(VK_CONTROL); item1.Click(); item2.Click(); item3.Click(); Sys.Desktop.KeyUp(VK_CONTROL); And I get the expected for behavior, my 3 items are correctly selected.. The issue it really to press continuously on a key, if I'm pressing during two seconds on 'a' I will expect a result like this : 'aaaaaaaaaaaaaaa' but what I get is 'a'. Alicya Re: How do I simulate holding "UP" key 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 How do I simulate holding "UP" key Hello all, I'm trying to simulate a press key continuously on "UP" keys but I expected to have the UP key press until it release (and so my value going up for several unit) but it's not the case, it's only one unit by one. I'm doing this : Sys.Desktop.KeyDown(VK_UP); aqUtils.Delay(TIMEOUT_DELAY, "Step 7 - Wait for 1.5s"); Sys.Desktop.KeyUp(VK_UP); I have a look at these topics (not helpful): - https://community.smartbear.com/t5/TestComplete-Desktop-Testing/Press-and-hold-2-keys/m-p/182354 - https://community.smartbear.com/t5/TestComplete-Desktop-Testing/How-do-I-simulate-holding-down-spacebar/m-p/113668. I tried also to record the test, to use different objects, different application ... but nothing works. Does someone have the answer : - How to do it ? - Why it's not working ? Thank you in advance Alicya Re: How to reach the expected object to map in a combox Yes I already open a ticket on this topic. I'm using the technique you mention to map object and removed what I don't want but (for some reasons I don't understand) only the last one is mapped and I don't have the opportunity to map previous object.. So you confirm what I though it's not possible to do it in my particular case. Thank you so much for your help and you time. Alicia Re: How to reach the expected object to map in a combox Hello AlexKaras, I'm testing a WPF application. The process that you would do is exactly the one I follow and it's was I want to do. I'm just missing the "delete extra .WPFObject("ButtonBorder") " part. How I can do it after Point and fix object ? I try with suppr, delete, right click on mouse ... nothing allow me to delete it. PS: I also try the second option mentions and I facing the same issue.. Alicia Re: How to reach the expected object to map in a combox Hello, I can't send you the Object tree along with the object because it's a combo box, so the object no longer exist when I'm clicking on another object Re: How to reach the expected object to map in a combox Hello, I don't understand how to do "delete WPFObject("ButtonBorder") " part. Can you please explain me the full process to do it ? The issue is not that I want to edit the properties of my object, it's I can't map the expected for object. The issue is literally when I'm mapping an object because I can't reach the one I need. Thank you for your help Alicia