Forum Discussion
You don't need to launch TestComplete to run your overnight tests. You can use TestExecute from the command line to do that. That eliminates having to worry about launching the TestComplete UI and doing everything from the menus.
Thanks for your answer.
Use TestExecute is not an option due we do not have budget to purchase more licenses
- ghuff29 years agoContributor
I don't think using TestExecute would change anything. If you don't have a user session open then you won't have a Windows desktop or UI to execute your tests on.
- tristaanogre9 years agoEsteemed Contributor
So, two things:
First of all, TestComplete can be run from command line using similar options as TestExecute so you should still be able to schedule and execute tests overnight using TestComplete since your budget does not include TestExecute licenses.
However, ghuff2 is correct in that if there is no open user session on your workstation, you cannot run any tests using either TestComplete or TestExecute that requires interaction with the UI of the application under test. If no UI interaction is in your test scripts (such as you're simply testing database values or SOAP messaging), then you won't run into much problems but all other testing will require a valid user session.You mention that you are using a VM? Is this on VMWare or a Microsoft Hyper-V terminal? If VMWare, so long as you open a console to your VM somewhere and automate a user login to that console, you should be fine (automation maybe something other than a TestComplete script... perhaps something in PowerShell). Hyper-V can be remotely logged in in a virtual console so it's a bit easier to work with (again, Powershell might help here). But if you don't login to a user session... yeah, sorry... What you experienced is exactly what will hapen.
- SoumyaN8 years agoNew Contributor
HI ,
Can anyone provide me the script for triggering automation script from testcomplete in TFS .