# Unique Test cases in Xray after running keyword test cases

**URL:** <https://forum.robotframework.org/t/unique-test-cases-in-xray-after-running-keyword-test-cases/4856>\
**Category:** Robot Framework\
**Created:** [21 October 2022 12:49 UTC](https://forum.robotframework.org/t/unique-test-cases-in-xray-after-running-keyword-test-cases/4856 "2022-10-21T12:49:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ah3n0](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ah3n0/32/1973_2.png) [@Ah3n0](https://forum.robotframework.org/u/Ah3n0)\
**Post date:** [21 October 2022 12:49 UTC](https://forum.robotframework.org/t/unique-test-cases-in-xray-after-running-keyword-test-cases/4856/1 "2022-10-21T12:49:23Z")

</div>

Hi there,

quick short information:

Tools: Jira, Xray, Github, Jenkins, (PyCharm, Docker)  
Building a test structure with Robot-Framework.

Strucrure:

Testplan - called in Jenkins (e.g: TOOL-10)  
Testsets - each .robot file which include test cases from resource file  
Testcases - created as keywords

The aim is to get an automated overview in Xray with test case, test execution, which is linked with a requirement.

The Problem:  
When I call a resource test case in two test suites (robot test files) the Jenkins ‘Xray build import task’ imports the same test two times (because it is called two times). But the test case is the same as before. therefor I would like to just get one imported test case in Xray. Is there any possibility (even also an other robotframework structure or architecture) to realize it?

robot files:

 ![Bildschirmfoto 2022-10-21 um 14.43.29](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/2/29871926a12c3d48c8348f585dc59219cf794867.png)
