How do you modify a test case that has been used as a call in for other tests?



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



  • 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: 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 Go into the Dashboard Analysis View and Add a New Item [New Excel Report]. and insert the following query: SELECT TS_TEST_ID, TS_NAME, DS_DESCRIPTION FROM [td].[DESSTEPS] JOIN [td].TEST ON DS_TEST_ID = TS_TEST_ID WHERE [DS_LINK_TEST] = 8751 <Your Test ID here> This will give you the Test ID and Name of every test which calls the Test in question (if any do). TS_TEST_ID TS_NAME DS_DESCRIPTION 8935 Throughput - Purge Location Records_482K Call <System Test R14 Configuration> 8938 SCOUT Usability - Template Reports Call <System Test R14 Configuration> 8818 CLI - system password setting Call <System Test R14 Configuration> 8816 CLI - SST Call <System Test R14 Configuration> 8817 CLI - GPSD Call <System Test R14 Configuration> 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. SELECT DISTINCT TS_TEST_ID, TS_NAME FROM [td].[DESSTEPS] JOIN [td].TEST ON [DS_LINK_TEST] = TS_TEST_ID



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2