How to determine on Test Suite/TSER level, which test data or test data records to be used during execution?
Is there any chance to determine on Test Suite/TSER level, which test data or test data records (filter criteria) to be used during execution?
The use case:
- we have quite a large product range with common capabilities (each product has its test plan).
- 1 capability = 1 test suite, which has to be executed for each product.
- The test data to be used used by ALL test cases within a suite are given by the product.
- It is a nightmare and error prone to select for each test script the related test data record(s) when running the test suite.
What is the most efficient way to handle this scenario?
Thank you for any suggestions.
One answer
Hi Donat,
From RQM v4.0.1, user can specify rule, to select set of test data record during run time, at test case or test script level -
Set Test Data Record selection rule at test case level -
The current available solution to your problem will be -
1. Merge the test data for all the products in single file and add new column for product name/id for product related test data.
2. Create separate test case for each product and specify test data record selection rule for each test case as shown in above image.
3. Create a test suite and add test cases for all the product.
4. Run test suite. This will select product related test data while running respective test case.
Please let me know, if you have any questions.
Thank you,
Vijay
Comments
I tried this way. This way we shift the effort to the test planning phase. But it leads to a large list of redundant test cases with the only difference of the data record selection criteria.
This might be a short term workaround. I have logged an enhancement request (https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=101475)
Agree. Thanks for filing the enhancement.
Comments
Hutter Donat
Nov 27 '13, 2:54 a.m.anyone dealing with data driven testing?