Forum Discussion
I scheduled my project through Windows task scheduler. But when triggering the test, it says cannot Install another Instance of Test Complete. Is there anyway I can override this?
I have set up not to start another instance if already it is running on Task schedular as shown in the attatchment, but it is not triggering.
Please check carefully the file, which executed through the scheduler.
And you should close your TestComplete session on computer, where testing was scheduled.
I will be working on Test Complete all the time. But I want this script to trigger automatically every hour. Is there any configuration so that if Test Complete instance is open it will run on that instance without trying to open another Instance.
when I close TestComplete session on my machine it triggers and runs the script fine.
Also when I select Run whether user is logged on or not, the script is not triggered at all. Why is that?
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.