It's all about the answers!

Ask a question

How to deal with more conditions for test case in RQM?


Jia Jia Li (8058157192) | asked Sep 04 '13, 3:22 a.m.
For one test case, like query billing, there will be multiple conditions to test, such as billing type, billing issue date, billing status, payment type. 
But for the test scenario, they all are query,but with different query condition. And the test steps are almost the same. 
So how to deal with the condition? Each condition should create one test script? 
Or use the condition as the test data? But the expectation result is different according to different condition.
Any suggestions?

2 answers



permanent link
Thomas Suedbroecker (29335) | answered Sep 04 '13, 5:17 a.m.
Hello Jia Jia,

for me it seams keywords, testdata configuration and execution variable could be an option for you.
In combination you can address some topics.

Using a test data for the configured situation, variable maybe or condition information and keyword to reuse the similar steps in a script.



Here these links in the help can provide you some ideas:

keword: http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m3/topic/com.ibm.rational.test.qm.doc/topics/c_keyword_view.html


testdata/datapool:
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m3/topic/com.ibm.rational.test.qm.doc/topics/t_working_with_datapools.html


execution variable:
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m3/index.jsp?re=1&topic=/com.ibm.rational.test.qm.doc/topics/c_execvar_overview.html&scope=null



Maybe that helps a little bit.
Regards,
Thomas


permanent link
Lisa Caten (342913) | answered Sep 04 '13, 10:02 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Have you considered putting the expected result for each condition in a column of the test data and then using an execution variable to represent the expected result? That way the expected result could differ for the different test data conditions for each step.

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.