How do you modify a test case that has been used as a call in for other tests? In other words, if I have a test case that I want to modify or delete, how can I tell if it has been used as a call in for another test?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
Since you tagged this question with Quality-Center I am going to assume that you mean a Call to Test as in the example test case below which has several steps that are calls to other Tests.
There is no straight forward way to do this. However, you have either access to the database or a version of Quality Center which has the Dashboard you can query the data you are looking for. Just as an FYI in QC 9.2 and before the Dashboard was an add-on that needed to be purchased separately. As of HP ALM 11 it is included in the product. I'm not sure about in between.
So to answer your question:
Go into the Dashboard Analysis View and Add a New Item [New Excel Report].
and insert the following query:
This will give you the Test ID and Name of every test which calls the Test in question (if any do).
You can Change the Where clause to is not null to get a list of all of the test cases that call a test case. Or you could use the following query to get a list of all test cases that are called by others.
It depends on the testing tool you use, if it creates a copy when you add the same test case to the suite or just link it. For example, in Microsoft's Test Manager you cannot verify in which testing suite was the test case created/used, only if the suite is a User Story/Product Backlog Item.
I would suggest you to test first your testing suite with a simple method.
Please note the difference between delete and remove. Normally I would except from a remove action to delete the test case from the current suite but to let it in the other suites; and from the delete action to delete completely the test case from all of the suites you added it. But, as I said, it depends on the testing tool.
If you went through the uppers steps, you already should know: does the delete/remove action delete all of the test cases from all of the suites? If none of the delete and remove actions deletes all of the test cases, the situation is a little bit sad: you have to go through all of the suites and remove the test case one by one.
I would suggest the same to test the modification of a test case.