Forum Discussion
Hi ,
I execute TestComplete tests from Jenkins Build > Execute Windows batch command .
Call the batch file which will execute the tests .
Hi,
I did create and use batch commands and all the commands work until I reach the point where TestComplete or TestExecute has to run. I've checked and it works fine on that VM, so I'm still lost why the test hangs when trying to execute TestExecute or TestComplete from the Jenkins Windows Batch Command.
Without seeing the logs from your jenkins jobs it's hard to tell, but I'm going to guess it's because you don't have an active user / UI session which is required for Test Complete tests that interact with the GUI.
What about your project prevents you from using the plugin? In a nutshell it's still just executing commands from the CLI, but has a lot more incorporated with it, like opening a gui session, copying your logs, etc...
Since the test hangs once trying to execute it through command line, I have to abort it and do not receive and logs from the Jenkins job, so I'm sorry I can't provide that. I assumed it was because of the user session, but I assumed using the batch command would work since I am essentially running the exact same commands, minus the TestService portion which I show above and which I have tried, but still fails to work.
Also, the project uses command line as it's a Python script determining which projects to run based on tags.