Forum Discussion
How do you run script? Do you run function directly or run whole project?
Are there any messageboxes displayed?
Also check that all message types are enabled to show in log. see picture.
Looks like playback doesn't start at all.
- Kate9 years agoContributor
I tried to run the script both ways.
Are Messageboxes == lines in Log table? If yes, so my answer is no - there is no messageboxes (no lines in my log table)
All message types are enabled.
I fell like the playback does not start at all as well... What should I do to make it start?
- tristaanogre9 years agoEsteemed Contributor
OK... first of all, I verified that, yes, the routine will run... IF you remove the "timer.sleep" call. That's not recognized by the Python parser for TestComplete. If you want a 3 second sleep, replace that line with aqUtils.Delay(3000)
In the meantime, there are MULTIPLE ways to get a test to run... this is what Bobik was getting at.
1) Is it added as a TestItem on the project?
2) Is it being called from some other routine?
3) Are you right-clicking and selecting "Run current routine"?
These are the three main ways to get your function to run... which one are you doing?- Kate9 years agoContributor
I replaced time.sleep with aqUtils.Delay, but it did not help.
I tried all 3 ways of running my script...
Related Content
- 9 years ago
- 3 years ago
- 6 years ago
- 4 years ago
Recent Discussions
- 15 hours ago