Forum Discussion
Kitt
Regular Contributor
Can you try using VAR instead of LET? Or stripping everything down to the TestComplete example [reference] using aqUtils.Delay(100):
// Calls method asynchronously
var callResult = Runner.CallObjectMethodAsync(list, 'ClickItem', itemText);
// Performs the desired user actions
// ...
// Waits until the asynchronous call is over
while (! callResult.Completed )
aqUtils.Delay(100);
// Checks the results
MethodResult = callResult.ReturnValue;
kakabubu
2 years agoContributor
Tried changing to "var"
Didn't worked
Added aqUtils.Delay(500) now described error is thrown on row with this delay
Related Content
- 2 years ago
- 10 years ago
- 5 years ago