Forum Discussion
If I schedule through command line, is there a command to run scheduled script on the open Test Complete session and not try to open another instance of Test Complete.
You can not launch more than one TestComplete process in a time and Windows Scheduler has only the option to start a program => you need to close your TC session before scheduler will launch the test.
And regarding your previous question: On Windows Vista, Windows 7, Windows Server 2008 and later operating systems, only use the Run only when user is logged on option for scheduled tests. Scheduled tests cannot be run with the Run whether user is logged on or not option, because in this case they are run in a non-interactive session and cannot interact with the GUI.
I have one Test Execute license. So can I install Test execute on a server where Test Complete license is installed and schedule to run with Test Execute on that machine?
I am using Test Complete 10.60.3387.7
- tristaanogre9 years agoEsteemed Contributor
You can run TestExecute on the same machine as you run TestComplete. However, you cannot use TestComplete to develop tests at the same time that TestExecute is running tests. The reason being is that the tests will most likely need to take control of mouse and/or keyboard to perform certain tasks so, while the tests are running, any actions you do will interfere with the tests. If you want to execute tests at the same time that you are developing them, you'll need two separate workstations, one for the execution and one for the development. I BELIEVE your license should allow you to run TestComplete and TestExecute on the two different machines simultaneously but that's something that someone else may have to comment on.
So I can try automatic scheduling to run the scripts with Test Execute correct.
I would run on different machine from the Test Complete b'se when it runs, it needs to open IE and if I am working on IE at that time, the test might go wrong.
Please suggest