I'm building a regression test pack on a Delphi application using Test Complete.
Currently there are 5 test cases, however, those tests fail frequently when I run them on a remote pc and minimize the remote window. Please note the failed rate decreases greatly when I make the remote pc full screen.
Below are some error information I got from those failures.
* An exception occurred in "xxxx" unit: call was rejected by callee
* The 'xxx' window is invisible and cannot be activated.
* The application or window stopped responding.
Here is a quote from the "Running Tests via Remote Desktop" help topic:
[ QUOTE ]
When running the GUI tests via the Remote Desktop, do not minimize the Remote Desktop window. When the Remote Desktop window is minimized, the operating system does not draw the GUI so TestComplete will not be able to “see” the tested application’s interface and thus will fail to interact with it.
For the same reason, do not disconnect from the Remote Desktop Connection session or lock the current computer while running tests that interact with GUI, otherwise the tests will fail.
These restrictions apply only to tests that involve interaction with GUI. As for other kinds of tests, for example, HTTP load tests, they can be successfully run if the Remote Desktop window is minimized or if you disconnect from the Remote Desktop.
[/ QUOTE ]
Do the same problems occur if you run your tests on your local computer?
If you want to control the execution of tests running on a remote machine and do something else on your machine at the same time, I recommend that you use two monitors. While the tests are running in the Remote Desktop window on one monitor, you will be able to work using the other monitor.