Back to QMetry All Products Help Page
How are the Test Asset names mapped in JIRA from the result files for different framework?
Depending on the framework, the name of the Test Scenario, Test Case and Test Step are mapped in Jira and the result files.
This mapping depends on the name parameters passed in the result files of different result files, depending on the Automation Framework.
TestScenario-TestCase
Automation Framework | TestScenario parameter in result file | TestCase parameter in result file |
---|---|---|
Cucumber | {"elements":[{"name":"TestScenarioName"}]} | {"steps":[{"name":"TestCaseName"}]} |
TestNG | <test name="TestScenarioName"> | <test-method name="TestCaseName"> |
Qmetry Automation Framework | file:meta-info.json > {"methods":[{ "name":"TestScenarioName"}]} | file:<TestScenarioName>.json > {"seleniumLog":[{"commandName":"TestCaseName"}]} |
JUnit | <testsuite name="TestScenarioName"> | <testcase name="TestCaseName"> |
SpecFlow | {"scenarios":[{"title":"TestScenarioName"}]} | {"steps":[{"title":"TestCaseName"}]} |
TestCase-TestStep
Automation Framework | TestCase parameter in result file | TestStep parameter in result file |
---|---|---|
Cucumber | {"elements":[{"name":"TestCaseName"}]} | {"steps":[{"name":"TestStepName"}]} |
TestNG | <test name="TestCaseName"> | <test-method name="TestStepName"> |
Qmetry Automation Framework | file:meta-info.json > {"methods":[{ "name":"TestCaseName"}]} | file:<TestCaseName>.json > {"seleniumLog":[{"commandName":"TestStepName"}]} |
JUnit | <testsuite name="TestCaseName"> | <testcase name="TestStepName"> |
SpecFlow | {"scenarios":[{"title":"TestCaseName"}]} | {"steps":[{"title":"TestStepName"}]} |
HP UFT | <ReportNode> with ‘type’ attribute as ‘Action’ | <ReportNode> tags under the test case nodes with ‘type’ attribute as ‘Step’ (All the tags under the hierarchy of <ReportNode> for test case are considered) |
Back to QMetry All Products Help Page