How to fix Unable to create a user session using jenkins in TestComplete
1. Start Jenkins in Mypc.
2. Create a node successfully.
3. Take another pc to enter my jenkins with created node url (ipaddress:8080/computer/TestNode/)
4. Connect the Jenkins slave-agent
5. Create a new job and build
Actual Result:
Started by user anonymous
Building remotely on Node in workspace C:\Windows\system32\workspace\Dummy
[TestComplete] The test execution started (Local Demo).
[TestComplete] Found TestComplete/TestExecute installations:
Type: TC, Version: 11.20.1491.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 11\bin\TestComplete.exe"
[TestComplete] Selected TestComplete/TestExecute installation:
Type: TC, Version: 11.20.1491.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: "ravipc" //lPassword: ******** //lTimeout: "300000" //lUseActiveSession: "true" //lCommandLine: '""C:\Program Files (x86)\SmartBear\TestComplete 11\bin\TestComplete.exe" "C:\Windows\system32\workspace\Dummy\Local_Demo\Local Demo.pjs" /run /SilentMode /ForceConversion /ns /exit /ExportLog:C:\Windows\system32\workspace\Dummy\5846064.tclogx /ExportLog:C:\Windows\system32\workspace\Dummy\5846064.htmlx /ErrorLog:C:\Windows\system32\workspace\Dummy\5846064.txt /ExportLog:C:\Windows\system32\workspace\Dummy\5846064.mht /Timeout:120"'
[TestComplete] Test runner exit code: -10 (Unable to create a user session).
[TestComplete] [WARNING] Unable to find the log file "5846064.tclogx".
[TestComplete] [WARNING] Unable to find the log file "5846064.htmlx".
[TestComplete] [WARNING] Unable to find the log file "5846064.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 (Local Demo).
Build step 'TestComplete Test' changed build result to UNSTABLE
Finished: UNSTABLE