Forum Discussion

endorium's avatar
endorium
Frequent Contributor
7 years ago

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.

 

 

 

 

 

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 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

     

     

  • baxatob's avatar
    baxatob
    Community Hero

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