cancel
Showing results for 
Search instead for 
Did you mean: 

Jenkins with Test Complete : Test runner exit code: 3

endorium
Frequent Contributor

Jenkins with Test Complete : Test runner exit code: 3

I have finally got Jenkins up and running and loading test complete on my build server.

 

Problem is now when I set Jenkins up to run a test it says it cannot find it. Test complete loads and then shuts down straight away.

 

 

 

 

 

The error I get is:

[TestComplete] Test runner exit code: 3.
[TestComplete] [WARNING] Error: Invalid command line. The test 'Script|EnterpriseAutomatedTests|Configuration|UserAuthorization|S01_04_00_Verify_User_Authorization_screen_translation' was not found in the project 'RegressionTests'..
[TestComplete] [WARNING] Unable to find the log file "1261730.tclogx".
[TestComplete] [WARNING] Unable to find the log file "1261730.htmlx".
[TestComplete] [WARNING] Unable to find the log file "1261730.mht".
[TestComplete] [WARNING] Errors occurred during the test execution.
[TestComplete] Marking the build as UNSTABLE.

 

 

jenkinssetup.PNG

 

 

TCsetup.PNG 

2 REPLIES 2
baxatob
Community Hero

Re: Jenkins with Test Complete : Test runner exit code: 3

You should select "Script test" instead of "Other"

AlexKaras
Community Hero

Re: Jenkins with Test Complete : Test runner exit code: 3

Hi,

 

Folders structure for the Script node in TestComplete is for your visual convenience only an is not considered when test routine is specified.

For the script test, the hierarchy is exactly like provided on the plug-in panel: Script|<script unit name>|<function name within script unit>.
In your case it must be like this (assuming there is 'main' function within the S01_04_00_Verify_User_Authorization_screen_translation script unit):

Script|S01_04_00_Verify_User_Authorization_screen_translation|main

 

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors