Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes

Comments

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
 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

0 votes

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. 

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Nov 22 '13, 9:56 a.m.

Question was seen: 5,017 times

Last updated: Dec 05 '13, 3:13 a.m.

Confirmation Cancel Confirm