Skip to main content
Version: current

Upload test execution results from Katalon Studio to TestRail

When uploading the execution results of a test suite to TestRail as a Test Run, you can upload the test results to a new Test Run or upload test runs to an existing Test Run in TestRail.

Requirements

Upload test results to a new test run in TestRail

To upload test results from Katalon Studio to a new test run in TestRail, follow these steps:
  1. In Katalon Studio, create a new test suite or a dynamic test suite.
  2. Prepend the name of the test suite with the text S<ID>, where <ID> is the test suite ID of your choice.
    Create a new test suite to upload results to TestRail
  3. Add the mapped test cases to the test suite.
    Add mapped test cases to test suites
  4. Execute a test suite.
    A new Test Run is created in your TestRail project.

    View Test Runs in TestRail

  5. To view the Test Run details, click on the Test Run.
    View Test Run details in TestRail
  6. In case you want to upload multiple test results to TestRail at the same time, you can add mapped test suites to a test suite collection.
    Add mapped test suites to a test suite collection
    Katalon Studio will generate separate Test Runs in TestRail in correspondence with the executed Katalon test suites.

Upload test results to an existing Test Run in TestRail

To upload test results to an existing Test Run in TestRail, follow these steps:
  1. In Katalon Studio, create a new test suite or a dynamic test suite.
  2. Prepend the name of the test suite with the text R<ID>, where <ID> is the Test Suite ID of your choice.
    To view the Test Run ID, open your TestRail project and click on the Test Run. The ID is displayed next to the Test Run name.
    We can see that R8 is the ID of the created Test Run.

    View Test Run ID in TestRail

    We prepend the Test Suite with the text R8 as follows:

    Create test suite for uploading results to an existing test run

  3. Add the mapped test cases to the test suite.
    If you are executing a dynamic test suite, you can query test cases associated with an existing Test Run in TestRail. See Query test cases linked to TestRail in a dynamic test suite.
  4. Execute a test suite.
    After we execute the Test Suite, the R8 Test Run is updated with new test results.

    Upload test results to an existing Test Run in TestRail