It's all about the answers!

Ask a question

How to determine on Test Suite/TSER level, which test data or test data records to be used during execution?


Hutter Donat (2153539) | asked Nov 22 '13, 9:56 a.m.
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.

Comments
Hutter Donat commented Nov 27 '13, 2:54 a.m.

anyone dealing with data driven testing?

or any proposals for a workaround (e.g. setting data through external script and REST, ...)? 

Any ideas are appreciated. Thanks.

One answer



permanent link
Vijay Patil (4813) | answered Nov 28 '13, 10:26 a.m.
JAZZ DEVELOPER
 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
Hutter Donat commented Dec 04 '13, 3:44 p.m.

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) 


Vijay Patil commented Dec 05 '13, 3:13 a.m.
JAZZ DEVELOPER

Agree. Thanks for filing the enhancement. 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.