Contributions
Re: Running TestComplete tests in VM when disconnected
Hirraghvani Thanks for this suggestion. Yeah this will work somehow but what if I want to run only few selected tests from TestPlan, then will this work ? One more question - keeping the VM always open on a console session reduce the system security?649Views0likes0CommentsRunning TestComplete tests in VM when disconnected
Hi, I am trying to Run the TestComplete test in a self-hosted interactive mode windows 2019 server VM. Issue:Getting "Sessionname Disc not found" error when a batch is ran. Steps I followed to run Tests: 1. I have a VM which is created in an Interactive mode and TestComplete is installed in that with floatinguser license. 2. I have linked the Testcomplete tests with Microsoft TestPlan. 3. I have created a release pipeline as shown below in the screenshot. 4. I have created a "Disconnect.bat" file with the below script and saved it in the project folder itself. for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do ( %windir%\System32\tscon.exe %%s /dest:console ) 5. I have a task called "Batch Script" in my deployment group job where I have given the path to the script from TFS. 6. when I ran the tests using TestPlan script ran with below logs 7. and when see the next log of VsTest it failed 8. Finally when I check the test log why it failed, then it showed as "Unable to navigate to the https://webpage url' 9.NOTE: same test works fine when i run it in the testcomplete tool or logged into VM and run.688Views0likes7Comments