MW_Didata
2 years agoRegular Contributor
Can you clickbutton asynchronously
so for my test I have to either click button or press F12 (both do the same). TC then wait for completion but I need it to press another tested app to actually finish. After about a minute the trans...
- 2 years ago
I tried Keys methode and the code works
Sub Press_Keys
Dim Obj, Result
Set Obj = Aliases.etc.etc.frmOrders
Set Result = Runner.CallObjectMethodAsync(Obj, "Keys", "[F12]")
End SubBut TC still get stuck in endless loop.
The action is waiting for a response, but TC has to give the response in another tested app.
EDIT: This worked but it takes a long timke for TC to go to the next step.