Product Idea

Expand all | Collapse all

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?

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

    Posted 01-06-2020 01:10
    ​​

    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.



    ------------------------------
    Lien Bäcker
    Gira, Giersiepen GmbH & Co. KG
    ------------------------------


  • 2.  RE: 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?

    Posted 01-06-2020 10:02
    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
    ------------------------------



  • 3.  RE: 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?

    Posted 01-07-2020 03:32

    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

     






  • 4.  RE: 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?

    Posted 01-07-2020 06:11
    Lien:

    I will change it to a Product Idea!

    Thanks,


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



  • 5.  RE: 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?

    Posted 01-08-2020 06:52
    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
    ------------------------------



  • 6.  RE: 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?

    Posted 01-08-2020 07:29
    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!

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



  • 7.  RE: 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?

    Posted 01-08-2020 22:27
    Edited by Sebastian 01-09-2020 02:10
    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
    ------------------------------



  • 8.  RE: 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?

    Posted 01-09-2020 02:00

    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