Forum Discussion
ray_mosley
13 years agoFrequent Contributor
This line from the code snippet seems to be causing my delay and failure.
returnObj = emds.WaitChild(taskBarProcesses,15000); //added for TestComplete 9.0
What I expected is that TestComplete would resume execution as soon as it saw the process, which worked well in 8.7. However in 9.0 it seems that TestComplete waits for the amount of time specified and then starts the process. By that time however, TestComplete has stopped because Stop on Error is set.
I changed the line above to be
aqUtils.Delay(2000);
and it is running fine.
Is there an issue with the 9.0 implementation of WaitChild?
returnObj = emds.WaitChild(taskBarProcesses
What I expected is that TestComplete would resume execution as soon as it saw the process, which worked well in 8.7. However in 9.0 it seems that TestComplete waits for the amount of time specified and then starts the process. By that time however, TestComplete has stopped because Stop on Error is set.
I changed the line above to be
aqUtils.Delay(2000);
and it is running fine.
Is there an issue with the 9.0 implementation of WaitChild?
Related Content
Recent Discussions
- 18 hours ago
- 7 days ago
- 10 days ago