Back to QMetry All Products Help Page
Test using HP UFT
Introduction
HP UFT is Data Driven, Keyword Driven and Hybrid Framework.
Here is how you can specify the Test Cases and Test Steps which will be created in QMetry as a part of the result files -
Test Case tag | Test Step tag |
---|---|
<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) |
Supported file type : XML
Sample Test Result File
Click here to download a sample file.
Test Case Reusability
The mapping of test steps depends on the matchTestSteps parameter.
→ If the matchTestSteps parameter is set as “True” (Default): Create/Reuse a test case with a summary and test steps that exactly match the automated test case uploaded through the result file. The execution results and other execution details of the test case and steps will be imported from the automation result file.
If the Test Case Summary and Test Step Summary (for all steps) match with the automated Test Case Name (ReportNode > type > Action > Name) and steps (ReportNode > type > Step > Name), Test Case Key and version will be reused.
If the Test Case Summary matches with the automated Test Case Name (ReportNode > type > Action > Name) but the Test Step Summary does not match (for any of the steps), the Test Case Key will be reused but a new version will be created.
If the Test Case Summary does not match, a new test case will be created.
→ If the matchTestSteps parameter is set as “False”:
When the Test Cycle is not been Reused
→ Create/Reuse a test case with a summary or test case key that exactly matches the automated test case uploaded through the result file, and exclude matching of test steps. The execution results of the test case will be imported or calculated based on the test case/step results from the automation result file. The execution result of the test case will be propagated to the test steps in the case of test case reuse/creation. Individual test case steps will not be matched and their execution results/details will not be picked from the result file.
When the Test Cycle is been Reused
When the Test Case Key is mapped in the result file and the Test Case Key is found linked to the Test Cycle.
The existing linked test case version, which is part of the Test Cycle will be used. If multiple versions of the same test case key are linked to the test cycle, the one which traced first will be used. The test steps will not be matched to create a new version or link a different version.
→ When the Test Case Key is mapped in the result file and the Test Case Key is not linked to the Test Cycle and the Test Case Key exists in the Test Case Library.
The existing latest version of the test case that matches based on the test case summary will be linked to the existing Test Cycle. If there are multiple test cases with the same summary exist, the one that is traced first will be linked to the existing Test Cycle. The test steps will not be matched to create a new version or link a different version.
→ When the Test Case Key is mapped in the result file and the Test Case Key is not found linked to the Test Cycle and the Test Case Key is not found in the Test Case Library, and the Test Case Summary matches with any existing test cases linked to the Test Cycle.
The existing linked Test Case version which is part of the Test Cycle will be used. The test steps will not be matched to create a new version.
→ The Test Case Key is not mentioned in the result file and the Test Case Summary matches any existing test case that is already linked to the Test Cycle.
The existing linked Test Case version which is part of the Test Cycle will be used based on the summary. The test steps will not be matched to create a new version.
→ When the Test Case Key is mapped in the result file and the Test Case Key does not exist in the Test Cycle OR is Not found in Library and the Test Case Summary also does not match any existing Test case in the Test Cycle and Test Case with the same summary is found in the Test Case Library.
The existing latest version of the test case that matches based on the test case summary will be linked to the existing Test Cycle. If there are multiple test cases with the same summary exist, the one that is traced first will be linked to the existing Test Cycle. The test steps will not be matched to create a new version or link a different version.
→ When the Test Case Key is mapped in the result file and the Test Case Key does not exist in the Test Cycle OR is Not found in Library and the Test Case Summary also does not match any existing Test case in the Test Cycle OR is not found in the Test Case Library.
A new test case without steps will be created and will be linked to the Test Cycle being reused.
The execution results of the test case will be imported or calculated based on the test case/step results from the automation result file. The execution result of the test case will be propagated to the test steps in the case of test case reuse/creation. Individual test case steps will not be matched and their execution results/details will not be picked from the result file.
In a project where propagation is off, the status of the step will not be mapped or changed.
Back to QMetry All Products Help Page