Reuse existing Test case or Test Scenario while automation via Autmation API & CI-CD

QMetry uses Automation Attributes to identify the test cases and test scenarios to be reused during the automation. The automation attributes work based on the automation framework and testassethierarchy used during automation.

There are 2 hierarchies, TestScenario-TestCase and TestCase-TestStep. Below is the table that shows how automation attributes should be defined as per the automation framework and testassethierarchy used.

Note: The result file should be in QMetry Supported format.


Hierarchy 1: TestCase-Test-Step 

Automation FrameworkTest Case Attribute 1Test Case Attribute 2
CucumberScenario IdFeature URI
TestNGTest nameClass name
JUNITClass nameTestsuite name
QASmetaData name
HPUFT Action Name


Hierarchy 2 : TestScenario-TestCase

Automation FrameworkTest Scenario Attribute 1Test Scenario Attribute 2Test Case Attribute 1Test Case Attribute 2
CucumberScenario IdFeature URIKeywordName
TestNGTest nameClass nameMethod nameClass name
JUNITClass nameTestsuite nameClass nameTestcase name
QASmetaData name
checkPoints message
HPUFT Action Name
Step nameAction name


For any further questions contact QMetry Support.