Test Plan: if a test case was removed from a test group under Test Cases, how to get rid of the gene

Lien Bäcker
edited January 2020 in

Hi,

I'm looking for a solution for an issue

A test plan was generated, 3 test cases (TC1, TC2, TC3) were added to a test group. The Test engineer generated test cycle, which have 3 test runs (TR1, TR2 and TR3) associated to the 3 test cases (TC1, Tc2 and TC3). Test engineer executed the test runs.

In some cases, there is a need to change the structure of the test plan even though the testing was already started. So a test case TC3 was removed from the test group in the test plan generated above. So we have a situation

Test plan contains TC1 and TC2.

In the generated Test cycle, we have TR1, TR2 and TR3. What can we do to remove the TR3 from the test cycle and to make sure that the test result of TR3 should not be considered for the test case status of TC3?

There is a constraint here also: delete an existing test cycle and create a new test cycle after the TC3 being removed is not an option since the time stamp of the test execution for TR1 and TR2 very important.

 

Thanks much in advanced for the solution info.

Comments

  • Chloe Elliott
    Chloe Elliott Product Team
    edited January 2020
    Hi Lien:

    You have deleted a Test Case from the Test plan after it has already had a test run. Yes, you are correct that the runs will still be there. In this case you will want to project search for the individual runs (in question) and do an Action > Delete from the Test Run Single Item View. You can always check in the Test Case Single Item View in the Test Run Widget to find a list of all the runs associated with the Test Case in question. 

    Lien, hope this helps!
  • Lien Bäcker
    edited January 2020

    Hi Chloe,

     

    Yes. The challenge is to identify, which test runs should be deleted here.

    Since currently, the only way to do the clean up is manually Action > Delete from Tet run single item View.

     

    As a product idea: it would be great, by performance an action like "Edit Test Cycle", the tool shall also remove such "orphan" Test run (Test run without test case in test plan) from the test cycle. Question: Do I need to submit this in a separate message, or you could help to mark it as product idea based on this post?

     

    Thanks

    Lien

     



    ------Original Message------

    Hi Lien:

    You have deleted a Test Case from the Test plan after it has already had a test run. Yes, you are correct that the runs will still be there. In this case you will want to project search for the individual runs (in question) and do an Action > Delete from the Test Run Single Item View. You can always check in the Test Case Single Item View in the Test Run Widget to find a list of all the runs associated with the Test Case in question. 

    Lien, hope this helps!
  • Chloe Elliott
    Chloe Elliott Product Team
    edited January 2020
    Lien: 

    I will change it to a Product Idea! 

    Thanks,
  • Christian Binard
    edited January 2020
    Hi Lien, Chloe,

    Can't you just batch delete all items form Filter:
    Match "Test Runs" according to "All"
    "Text Case" is equal to "TC3"
    "Test Plan" is equal to "YourTestPlan"
  • Chloe Elliott
    Chloe Elliott Product Team
    edited January 2020
    Christian:

    Yes, this is also a viable solution! Thank you.

    Sounds like Lien's idea is to have a more automated performance action from within the Test Center. But, your suggestion would also get the job done!
  • Sebastian Merz
    edited January 2020
    Hi Christian,
    with Jama (we use 8.25.3) it is not posible to delete multiple Testruns at once- you have to open each Testrun and delete it individually.
    Edit:
    I tried Christian's tpp and it works fine from the filter view. It just does not work within the testcycle view.
    Cheers

    ------------------------------
    Sebastian
    Requirements Engineer
    Sick AG
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 01-08-2020 09:51
    From: Christian Binard
    Subject: Test Plan: if a test case was removed from a test group under Test Cases, how to get rid of the generated test runs which are associated to this removed test case?

    Hi Lien, Chloe,

    Can't you just batch delete all items form Filter:
    Match "Test Runs" according to "All"
    "Text Case" is equal to "TC3"
    "Test Plan" is equal to "YourTestPlan"

    ------------------------------
    Christian Binard
    ON semiconductor
    Belgium
    ------------------------------

    Original Message:
    Sent: 01-07-2020 09:11
    From: Chloe Elliott
    Subject: Test Plan: if a test case was removed from a test group under Test Cases, how to get rid of the generated test runs which are associated to this removed test case?

    Lien:

    I will change it to a Product Idea!

    Thanks,


    ------------------------------
    Chloe Elliott
    Jama Software
    Portland OR

    Original Message:
    Sent: 01-07-2020 06:31
    From: Lien Bäcker
    Subject: Test Plan: if a test case was removed from a test group under Test Cases, how to get rid of the generated test runs which are associated to this removed test case?



    Hi Chloe,

     

    Yes. The challenge is to identify, which test runs should be deleted here.

    Since currently, the only way to do the clean up is manually Action > Delete from Tet run single item View.

     

    As a product idea: it would be great, by performance an action like "Edit Test Cycle", the tool shall also remove such "orphan" Test run (Test run without test case in test plan) from the test cycle. Question: Do I need to submit this in a separate message, or you could help to mark it as product idea based on this post?

     

    Thanks

    Lien

     






    Original Message------

    Hi Lien:

    You have deleted a Test Case from the Test plan after it has already had a test run. Yes, you are correct that the runs will still be there. In this case you will want to project search for the individual runs (in question) and do an Action > Delete from the Test Run Single Item View. You can always check in the Test Case Single Item View in the Test Run Widget to find a list of all the runs associated with the Test Case in question.

    Lien, hope this helps!

    ------------------------------
    Chloe Elliott
    Jama Software
    Portland OR
    ------------------------------
  • Lien Bäcker
    edited January 2020

    Hi,

     

    since all the manual deletion actions could prompt to human error, it would be much better to have the possibility to get rid of the generated test runs being associated with test cases, which are no longer belonging to a test plan through "a more automated performance action from within the Test Center" (like Chloe's perfectly formulating)

    So let's vote for this product idea: by performance an action like "Edit Test Cycle", the tool shall also remove such "orphan" Test run (Test run without test case in test plan) from the test cycle

     

    Lien



    ------Original Message------

    Hi Christian,
    with Jama (we use 8.25.3) it is not posible to delete multiple Testruns at once- you have to open each Testrun and delete it individually.
    Cheers