Ask a Question

How to link automated test case results with existing test cases

jchavarria19
New Contributor

How to link automated test case results with existing test cases

I am using the A.T.O.M Test Automation plugin to import Test Results in one test cycle. The Test Automation Framework is Robot Framework and the output result in in the XUnit XML Format. 

 

I am able to "Upload" the XML report as a Task and execute it. It is marked as "SUCCESS". The existing Test Case in Jira is "AMPAND-123", so we expected this test case to be marked as PASSED/FAILED. However the execution created a new Issue in Jira AMPAND-2041 and marked it as PASSED instead of using the existing AMPAND-123 issue.

 

1. What should we modify to stop creating new test cases when executing uploaded results? (result-xunit.xml)

2. Is it possible to import results from RobotFramework test Report?  (example output.xml)

3 REPLIES 3
vinniew
Staff

Hi @jchavarria19 

 

Hope you are well. 

 

Typically when using the if you want to maintain the same test case in executions then the test items being executed cannot change. 

 

If it changes the agent is expected to create a new test case. 


For robot frame work check out this thread which may help you 

 

https://stackoverflow.com/questions/55021913/integrate-robot-framework-with-zephyr-for-jira

 

KR

 

Vincent 

 

Hello Vincent, 

Thanks for the feedback and the link provided. @vinniew 

 

I am not sure what do you mean with "then the test items being executed cannot change."

 

Let me state my question the simplest. This is my current results file. Please note testcase name="AMPAND-123"

<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Test Ampand 123" tests="1" errors="0" failures="0" skipped="0" time="36.276">
<testcase classname="Test Ampand 123" name="AMPAND-123" time="26.458">
</testcase>
</testsuite>

 

I have the following test case item in Zephyr, The issue Key is "AMPAND-123"

 

Screen Shot 2021-12-08 at 1.57.15 PM.jpg

 

How to upload automated test results to continue using this test case item instead of creating a new one in zephyr? Please note the upload action creates a new test item AMPAND-2041 which is undesired.

Screen Shot 2021-11-04 at 5.44.25 PM.jpg

 

Reference.

Screen Shot 2021-12-08 at 1.52.23 PM.jpg

jchavarria19
New Contributor

We are still pending for some guidance here. 

cancel
Showing results for 
Search instead for 
Did you mean: