Forum Discussion
I have tried both ways to integrate test complete with Jenkins - Through TestComplete Test build step and Windows batch command.
Following are the settings that I have followed in Jenkins for TesrComplete Test-
Click on save and Build is run and getting following error
An error says -
"C:\Program Files (x86)\SmartBear\TestComplete 12\bin\TestComplete.exe" [TestComplete] [ERROR] Unable to find the specified TestComplete/TestExecute installation.
But TestComplete is installed in he same directory as above mentioned.
Please suggest.
I'm not sure what we are not noticing. Have you tried to run the command from your first mail (the batch command) in cmd locally on the client machine?
- shilpi_agarwal8 years agoContributor
Yes, Command is working perfectly fine if I run from cmd on my local machine.
For Your information,Test Complete, Jenkins and GUI Application (which I am using for test ) all resides in local machine.
Please suggest.
- shilpi_agarwal8 years agoContributor
Can you please suggest me What the following error says?
[TestComplete] Test runner exit code: -10 (Unable to create a user session). [TestComplete] [WARNING] Unable to find the log file "1646141.tclogx". [TestComplete] [WARNING] Unable to find the log file "1646141.htmlx". [TestComplete] [WARNING] Unable to find the log file "1646141.mht". [TestComplete] [WARNING] Errors occurred during the test execution. [TestComplete] Marking the build as UNSTABLE. [TestComplete] [WARNING] Unable to publish test results (xml data is empty). [TestComplete] The test execution finished
- sha8 years agoContributor
Concentrate on the first line, the rest is just telling you it cannot read the output of the process it cannot run.
Try to disable the Run Interactive user session. I believe it is trying to create a user session on the machine where you already have a user session. If that does not work it is possible that the Jenkins integration does not allow you to run everything on one machine. Then I would probably try the batch approach you had in your first mail. I will take a look at it again to see if I notice something.
- sha8 years agoContributor
The output you get, lists your installations: You seem to have a TestComplete, but no TestExecute. Try to set it to run on TestComplete instead of TestExecute.