Default Test Script
RQM 2.0.0.1:
When I view a TER via "view TERs".. the Test Script column contains "None" even though it has a Test Script associated with it. Is this a bug or is there some way to specify a default Script?
What if there is more than one associated Script; can you specify a default one?
When I view a TER via "view TERs".. the Test Script column contains "None" even though it has a Test Script associated with it. Is this a bug or is there some way to specify a default Script?
What if there is more than one associated Script; can you specify a default one?
4 answers
If you use v4.0.4, you are hitting this behavior due to the change in:
https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=91055
There are some scenarios found to cause the behaviors:
1) When the user adds new test case to the test suite, then after saving the suite, the first script in the test case is selected as default script for test suite.
Now when user removes the default script from test case, then this scenario will occur. As the default script is no longer part of the test case, it shows blank in the test script column for test case in the test suite.
2)
1, Create a Test suite.
2, Create a Test case.
3, Create a Test script.
4, Add Test case to Test suite.
5, Add Test script to Test case.
If you do
"Add Test script to Test case" first, and then "Add Test case to Test suite",
Test script is displayed.
However, if "Add Test case to Test suite" first and then "Add Test script to Test case"
Then, no test script is displayed in Test case section of Test suite.
The workaround could be remove testcase from testsuite and save then add the test case again back to the test suite and see if it works.
If you have too many test cases/testscripts and manual workaround wont work, there is suggestion to use RQMAPIUtility to bring the scripts back into the test suite. You may want to contact support for this approach.
Thanks
https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=91055
There are some scenarios found to cause the behaviors:
1) When the user adds new test case to the test suite, then after saving the suite, the first script in the test case is selected as default script for test suite.
Now when user removes the default script from test case, then this scenario will occur. As the default script is no longer part of the test case, it shows blank in the test script column for test case in the test suite.
2)
1, Create a Test suite.
2, Create a Test case.
3, Create a Test script.
4, Add Test case to Test suite.
5, Add Test script to Test case.
If you do
"Add Test script to Test case" first, and then "Add Test case to Test suite",
Test script is displayed.
However, if "Add Test case to Test suite" first and then "Add Test script to Test case"
Then, no test script is displayed in Test case section of Test suite.
The workaround could be remove testcase from testsuite and save then add the test case again back to the test suite and see if it works.
If you have too many test cases/testscripts and manual workaround wont work, there is suggestion to use RQMAPIUtility to bring the scripts back into the test suite. You may want to contact support for this approach.
Thanks