Help Jenkins with TestComplete

98 views
Skip to first unread message

lan tranthai

unread,
Sep 9, 2016, 3:59:39 AM9/9/16
to Jenkins Users
I  have problem while run Jenkins to call TestComplete .

"
Started by user TestAdmin
Building in workspace C:\Users\latran\.jenkins\workspace\Test

[TestComplete] The test execution started (TestWebApp/WebApp1/KeyWordTests|Test1).
[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: "TestAdmin" //lPassword: ******** //lTimeout: "-1" //lUseActiveSession: "true" //lCommandLine: '""C:\Program Files (x86)\SmartBear\TestComplete 11\bin\TestComplete.exe" "C:\Users\latran\Documents\TestComplete 11 Projects\TestWebApp\TestWebApp.pjs" /run /SilentMode /ForceConversion /ns /exit /ExportLog:C:\Users\latran\.jenkins\workspace\Test\5067406.tclogx /ExportLog:C:\Users\latran\.jenkins\workspace\Test\5067406.htmlx /ErrorLog:C:\Users\latran\.jenkins\workspace\Test\5067406.txt /project:WebApp1 /test:KeyWordTests|Test1"'
[TestComplete] Test runner exit code: -10 (Unable to create a user session).
[TestComplete] [WARNING] Unable to find the log file "5067406.tclogx".
[TestComplete] [WARNING] Unable to find the log file "5067406.htmlx".
[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 (TestWebApp/WebApp1/KeyWordTests|Test1).
Build step 'TestComplete Test' changed build result to UNSTABLE 
Finished: UNSTABLE

"


Sanjib Basak

unread,
Jun 13, 2020, 9:33:20 AM6/13/20
to Jenkins Users
Do you have any resolution for this problem i am also facing same issue.

Geoffroy J

unread,
Jun 14, 2020, 3:56:32 AM6/14/20
to Jenkins Users
Hello
seems you are running under Windows.
Does Jenkins run as a service? Have you enable the option "Allow service to interact with desktop" on the service?
Regards

monger_39

unread,
Jun 16, 2020, 3:36:21 AM6/16/20
to jenkins...@googlegroups.com
in your log it shows:

   Building in workspace C:\Users\latran\.jenkins\ workspace\Test

Are you actually working with a workspace that has a space in the name ??
Using that could, depending how variables are used/interpreted/passed cause all kinds of strange issues.
Although in the rest of you log, some parts seem to be quoted I wonder if this is sufficient. Better to get rid of the space,
and try again.
gr,

On Sunday, June 14, 2020, 09:56:38 AM GMT+2, Geoffroy J <geoffroy...@gmail.com> wrote:


Hello
seems you are running under Windows.
Does Jenkins run as a service? Have you enable the option "Allow service to interact with desktop" on the service?
Regards

On Saturday, 13 June 2020 15:33:20 UTC+2, Sanjib Basak wrote:
Do you have any resolution for this problem i am also facing same issue.

On Friday, 9 September 2016 13:29:39 UTC+5:30, lan tranthai wrote:
I  have problem while run Jenkins to call TestComplete .

"
Started by user TestAdmin
Building in workspace C:\Users\latran\.jenkins\ workspace\Test

[TestComplete] The test execution started (TestWebApp/WebApp1/ KeyWordTests|Test1).
[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: "TestAdmin" //lPassword: ******** //lTimeout: "-1" //lUseActiveSession: "true" //lCommandLine: '""C:\Program Files (x86)\SmartBear\TestComplete 11\bin\TestComplete.exe" "C:\Users\latran\Documents\ TestComplete 11 Projects\TestWebApp\ TestWebApp.pjs" /run /SilentMode /ForceConversion /ns /exit /ExportLog:C:\Users\latran\. jenkins\workspace\Test\ 5067406.tclogx /ExportLog:C:\Users\latran\. jenkins\workspace\Test\ 5067406.htmlx /ErrorLog:C:\Users\latran\. jenkins\workspace\Test\ 5067406.txt /project:WebApp1 /test:KeyWordTests|Test1"'
[TestComplete] Test runner exit code: -10 (Unable to create a user session).
[TestComplete] [WARNING] Unable to find the log file "5067406.tclogx".
[TestComplete] [WARNING] Unable to find the log file "5067406.htmlx".
[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 (TestWebApp/WebApp1/ KeyWordTests|Test1).
Build step 'TestComplete Test' changed build result to UNSTABLE 
Finished: UNSTABLE

"


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/c33e1571-e5c5-442f-b756-3cbe31708d35o%40googlegroups.com
.
Reply all
Reply to author
Forward
0 new messages