Forum Discussion
- Ryan_MoranValued Contributor
Possibly timing out trying to access the properties or methods of an object.
Lower the Method invoke timeout, ms: under Current Project Settings > Open Applications > General
Lower the Auto-wait timeout, ms: under Current Project Settings > Playback
(make note of your current value and set both to 100 for testing purposes)
If this improves performance by lowering these settings then you can be sure a call to one of your objects properties or methods is timing out. Set both of these settings back to their previous values (100 ms will likely cause other problems) and step through your project to find which line or step is causing the delay.
If it's just in starting the project it could be something else on your system that Test Complete is trying to access. Close all other applications and non essential processes on your system to see if that improves performance.
Lastly, view the Automated Test Performance Tips page provided by SmartBear for additional tips on improving test performance.
- matt_1Occasional Contributor
Where exactly are you seeing the delay in the start time? When you launch TestComplete or when you kick off your tests? What type of application are your tests running against?
- p_bremm11Contributor
1) I encounter the delay when I press F5 (start my tests).
2) When start my tests (F5)
3) My application is in Delphi
I believe that the delay was because the TestComplete doing the syntax check, what do you think? For I have 200 Thousand lines!- Ryan_MoranValued Contributor
"For I have 200 Thousand lines!"
Yes, that would make your test take a very long time to start...
I would suggest taking a look at Data-Driven Testing and making smaller scripts.