Forum Discussion

divyachintala's avatar
divyachintala
New Contributor
3 months ago

Is there any option to give JiraTest id in importing xml file instead of relying on JiraTest's Name?

<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Sample Test Suite" tests="2" failures="1" errors="0" skipped="0">
<testcase classname="com.example.tests.LoginTest" name="CP-15148"/>
<testcase classname="com.example.tests.PaymentTest" name="CP-441">
<failure message="Current URL is not supported">java.lang.IllegalArgumentException</failure>
</testcase>
</testsuite>

Used this Junit framework xml to upload for Zephyr Squad. 

This is creating new Jira test id's instead of linked CP-15148 and CP-441 even though both tests are created as a test case in Zephyr Test Cases, have ZFJ_Automation label to those test cases and I am uploading in the same project where these two tests are created. 

Any suggestions how to link existing Jira tests?

Thanks.

No RepliesBe the first to reply