Skip to main content
Skip table of contents

Map Automation Test to TestRay Test Case

To get the test result from automation testing, user needs to map automation test methods to TestRay Test Case. It can be done from "Test Reference" field in Test Case issue.

To configure "Test Reference" in TestRay Test Case issue, follow these steps:

  1. Open a Test Case issue.

  2. Add automation test information to "Test Reference", please follow below format:
    Fully qualified class name:method name

    • For Robot framework, please use following format: Robot File name:Test Case name

  3. Below is an example: 
    3.1 JUNIT class is showing as below:
          TestCase1 class has one automation test: VerifyJiraRalDefSync()

[Screenshot - UG_AT06_v86_Automation_Map_AT_Tests]

         3.2 Above test will be mapped to a TestRay Test Case issue.

In this case, we created a Test Case in TestRay. You can simply add Test Reference as shown below to establish the mapping between Automation Test and TestRay Test Case:

[Screenshot - UG_AT07_v86_Automation_Map_SRT_Test_Case]

You can continue to map your Automation Tests to different Test Cases, so that once your Automation Tests are triggered from Test Cycle, the test results (Pass/Failed) will be returned to your Test Runs in Test Cycle.

Note: It will take maximum 60s to refresh the Test Run results after the job/plan is completed.

Go to next step: Trigger Job/Plan from Test Cycle

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.