Forum Discussion
Thanks for your answer.
Use TestExecute is not an option due we do not have budget to purchase more licenses
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.
- tristaanogre10 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.
- SoumyaN9 years agoNew Contributor
HI ,
Can anyone provide me the script for triggering automation script from testcomplete in TFS .
- tristaanogre9 years agoEsteemed Contributor
There's no particular "script"... just use whatever you would use in TFS to trigger execution at a command prompt and utilize the command line switches as documented at https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/command-line.html