Forum Discussion
An actual screenshot is more helpful, along with some code before and after the problem code. For example:
I'm not sure what good a screenshot would do for a ReadyAPI call? This is literally happening with every ReadyAPI call I make across several different scripts. Here are some examples:
- Marsha_R4 years ago
Champion Level 3
You said that it runs if you do it manually and doesn't when you run within TestComplete, therefore I'm looking for a problem in the code or the code right around it in TestComplete.
- Ryu4 years agoContributor
Marsha_R Gotcha. Maybe I need some kind of delay between commands? This seems to be a new problem with ReadyAPI 3.8 (or maybe even the latest TC update) as it wasn't happening until just a few weeks ago.
- Marsha_R4 years ago
Champion Level 3
Do you have something that you can check after that Delay and then after that setup line to make sure that everything actually started up and was setup the way you expect before you start with the Execute? TC doesn't slow down any in between any of those things, so even though you had a delay, the service may not be ready and TC is going on with the SetupAVL line (which could be not ready on it's own) and then going on to Execute lines immediately.