Forum Discussion
Hi Loganathan,
Did you follow all the steps listed in the Preparing Jenkins for Running TestComplete tests ( http://smartbear.com/viewarticle/70333/ ) article?
Also, please pay attention to the requirements and limitations, which are described here: https://support.smartbear.com/viewarticle/75506/
Tried configuring all these above listed settings still getting same error..
[TestComplete] Found TestComplete/TestExecute installations: Type: TC, Version: 11.31.2420.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 11\bin\TestComplete.exe" [TestComplete] Selected TestComplete/TestExecute installation: Type: TC, Version: 11.31.2420.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 11\bin\TestComplete.exe" [TestComplete] Launching the test runner. $ '"C:\Program Files (x86)\SmartBear\TestComplete 11\bin\TestCompleteService11.exe"' //LogonAndExecute //lDomain: "" //lName: "vwagh" //lPassword: ******** //lTimeout: "-1" //lUseActiveSession: "false" //lCommandLine: '""C:\Program Files (x86)\SmartBear\TestComplete 11\bin\TestComplete.exe" D:\AutomationDir\INDMS\Suits\InDMS\InDMS.pjs /run /SilentMode /ForceConversion /ns /exit /ExportLog:C:\jenkins_slave\workspace\INDMS_GUI_SMOKE\5901695.tclogx /ExportLog:C:\jenkins_slave\workspace\INDMS_GUI_SMOKE\5901695.htmlx /ErrorLog:C:\jenkins_slave\workspace\INDMS_GUI_SMOKE\5901695.txt /project:SMOKE"' [TestComplete] Test runner exit code: -10 (Unable to create a user session). [TestComplete] [WARNING] Unable to find the log file "5901695.tclogx". [TestComplete] [WARNING] Unable to find the log file "5901695.htmlx". [TestComplete] [WARNING] Errors occurred during the test execution. [TestComplete] Marking the build as UNSTABLE. [TestComplete] The test execution finished (InDMS/SMOKE). Build step 'TestComplete Test' changed build result to UNSTABLE Finished: UNSTABLE
- magi-i-luften9 years agoOccasional Contributor
Hi
Any solution to this issue?
I'm also facing the exactly same problem.
I'm able to start TestExecute 12 (version: 12.10.602.11) and manually start my project which uses Firefox 45.0.2 - with success.
But my job in Jenkins are still giving me the same error:
[TestComplete] Test runner exit code: -10 (Unable to create a user session).
[TestComplete] [WARNING] Unable to find the log file "1471179.tclogx".
[TestComplete] [WARNING] Unable to find the log file "1471179.htmlx".
[TestComplete] [WARNING] Unable to find the log file "1471179.mht".
[TestComplete] [WARNING] Errors occurred during the test execution.
[TestComplete] Marking the build as FAILED.
[TestComplete] [WARNING] Unable to publish test results (xml data is empty).I'm using Jenkins version 2.32.1 and TestComplete support plug-in version 1.6.
Anybody help out there?
Best regards
Jens
- kavansays9 years agoContributor
Hi Jens - If you are trying to run batch in remote system(Node) then try with Checkbox {Run interactive user session & Use active session} enabled and also pass system credentials..
Thanks,
Kavan
- magi-i-luften9 years agoOccasional Contributor
Hi Kavan
Thank you for answering me - I appreciate any kind for help :o)
I think it's a rather "simple" setup I have:
Windows Server 12 R2 - my Jenkins-master.
On the server I also installed TestExecute 12.
I don't have any nodes but the master itself - shouldn't it be possible to run the TestComplete job in such a constellation?
Attached you find my Jenkins-settings for the TestComplete-job.
As you can see on the settings, I use a service-account for the Test Runner - this user is domain-user and member of the administrator-group.
The Jenkins-service on the server is marked with "Allow service to interact with desktop".
What have I done wrong?
Jenkins settings for the TestComplete job
Best regards
Jens