Just wanted to share an issue that I am facing with TestComplete right now. A test run executes smoothly when ran for 1st time, but same process when repeated multiple time, at any random line of code I get a "Unknown error occurred" message.
Lets say I add a new order detail into the application using TestComplete... this would run fine without any error when ran for just one iteration or let say for few iteration, but when I increase the iteration value of the loop... after few iterations I get this error message "Unknown error occurred", and the location of occurrence of this error is too not fixed, sometimes for same iteration count the test runs fine and may be next time i get an error.
Anyone else experiencing such an issue?
Let me know if you have solution to this problem.
What version of TestComplete are you using ('Help | About...')? Please update to TestComplete 7.50 which is the latest version of the product if you are using an earlier version. If the problem persists in TestComplete 7.50, to help us investigate the problem, please follow the steps below:
1. Download a free trial version of the AQtime 6 x86 package, which is our profiling tool, from our web site. The trial can be requested on the following page of our web site: http://www.automatedqa.com/downloads/aqtime/
2. Install the tool.
3. Start AQtime.
4. Select the 'File | New Project From Module...' main menu item.
5. In the Open File dialog, select the TestComplete.exe file and click Open.
6. Take a look at the AQtime toolbar - there is a combo box. Open it and select the "Tracing | Exception Trace Profiler" item.
7. Select the "Options | Options..." main menu command - the Options dialog will appear.
8. Set the "Profiling Time | Event View | General | Exceptions | Depth shown" setting to 100 and click OK.
9. Click the Run toolbar button (the green arrow) or press F5 to start the profiling.
10. AQtime will start TestComplete and trace all exceptions that will occur in the application until it is closed.
11. Reproduce the problem in TestComplete.
12. After the problem occurs, right-click somewhere within the Event View panel (it is opened by default at the bottom of AQtime's window) and select the 'Save All...' item.
Besides that, please zip your entire project suite folder along with the log of the failed test execution and send me the archive. Make sure that messages in your log correspond to the latest version of your tests.