How to get total number of test cases for a specific Master Plan for Sales_Marketing_QM_20.04 ?
How to get total number of test cases for a specific Master Plan for Sales_Marketing_QM_20.04
Conditions:
-- Mater Plan contains Many Child plans
-- Each Child plan contains several Test Suits
--we have only master plan id.
-- want to get total number of test cases in the master plan.
Note :- Need shortest way to find the required number of test cases, Do not want to traverse through each child plans since the number of child plans are high.
All
2 answers
From the Web UI you could get the count of all directly related test cases of all children test plans for the master test plan by:
- Open the browse Test Cases list
- Add the 'Test Plan' column to the list if it isn't shown
- Open the column filter
- In the test plan column's filter, select all of the children test plans (note: if the children test plans have specific categories, you can find all children test plans by that)
- Run the query
-
All of the test cases belonging to the selected children test plans would be listed
Please note that this will only return all test cases that are directly added to the children test plans. For indirectly related test cases that are added to test suites that belong to children test plans, you can repeat this process by finding all test cases filtered by parent test suites. Please note that you've to first find all test suites that belong to the children test plans. Here is a screen shot:
You may also be able to get this answer from report builder.