Map Automation Tests to synapseRT Test Cases
To get the test result from automation testing, user needs to map automation test methods to synapseRT Test Case. It can be done from "Test Reference" field in Test Case issue.
To configure "Test Reference" in synapseRT Test Case, follow these steps:
- Open a Test Case issue.
- 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
- 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 synapseRT Test Case.
In this case, we created a Test Case in synapseRT. You can simply add Test Reference as shown below to establish the mapping between Automation Test and synapseRT 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