Forum Discussion

Loganathan's avatar
Loganathan
Occasional Contributor
9 years ago

Not running Project file in Jenkins

1. Buildnow in Jenkins

2. Lanch TestComplete

3. Open Project file

4. Not running the Scripts and KeywordTest

5. Test Stopped

 

Actual Result:

 

[TestComplete] Test runner exit code: 3.
[TestComplete] [WARNING] Errors occurred during the test execution.
[TestComplete] Marking the build as UNSTABLE.
[TestComplete] The test execution finished (LocalDemo).
Build step 'TestComplete Test' changed build result to UNSTABLE
Finished: UNSTABLE

1 Reply

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Loganathan,

     

    As you got Exit Code = 3, here are possible causes for it:

    The test cannot be run because of an error. Some typical errors are:

    • The project (or project suite) path is specified incorrectly.
    • The specified project (or project suite) cannot be opened because the current user does not have appropriate permissions for this.
    • There are no selected test items to be run.
    • A test item refers to an unavailable test (for example, a keyword test or script routine that does not exist, or a project item that is unavailable because the needed plugins are disabled or not installed).
    • A project item file does not exist (for example, it could have been deleted, renamed or moved to another folder).
    • The script contains a syntax error.

    The test engine also returns the code 3, if you run a project or project suite and the test was stopped with a call to the Runner.Stop method within the OnStartTest event handler. In this case, TestComplete considers the test was unable to start.

     

    You can find more information about TestComplete’s exit codes here:

    https://support.smartbear.com/viewarticle/71544/