Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I am using HP ALM 11.0. I have to copy a test set in test lab of QC from one folder to another but I want to preserve the status of the test cases in the new test set.

When I tried to copy and paste the test set, in the new instance all the test cases status are reset to not run by default. I want the status of the new test case to be as it was in the original test case. Can anyone help me to do this?

UPDATE: From the comments -

Our project is managed in weeks. We have a folder for each week, and the intention is to copy test cases which have not been executed the previous week into a new folder. We thought that if we copied the test set with the status we could easily remove the executed test cases.

share|improve this question
    
This is the default behavior of every test case management tool I know of - could you tell us why you need to copy the status as well as the test case? –  Kate Paulk Oct 1 '13 at 11:34
    
its a prj requirement we to manage our QC execution in terms of weeks means each week a new folder and cases which are not executed in the previous week should me moved to the new folder. and our intension is if we could copy the test set along with the status into the new folder then we can delete the easily delete the already executed test cases easily. –  Sarvesh Reddy Oct 9 '13 at 13:48
    
Sarvesh - I will update your question with this information. It may get you some responses. –  Kate Paulk Oct 9 '13 at 16:52
add comment

2 Answers 2

I have to copy a test set in test lab of QC from one folder to another but I want to preserve the status of the test cases in the new test set.

Unfortunately, there is no way to copy a test set and preserve the test execution data from the HP ALM Client. You have a choice to either move the test set to another folder which will preserve execution data or make a duplicate [copy] which sets all of the newly created Test Instances back to No Run and does not copy any of the runs. The only way to do this would be to use the OTA Client API and write some code.

The intention is to copy test cases which have not been executed the previous week into a new folder.

You should be able to achieve your goal here.

  1. Create a new test set
  2. Go to the Selected Tests
  3. Click on Filter/Sort

HP ALM Test Lab

  1. Use a Cross Filter on Test Sets that will uniquely pick the source test set [Test Set ID]
  2. Use a standard Filter to select the execution status you want to rerun [e.g. Not Passed, No Run].

Cross Filter Standard Filter

NOTE: This assumes that the last time you executed the test was from the source test set. If it was run after this then the Execution Status may differ.

The final step is just to click on the Add Test to Test Set button which will add only the tests from your filter.

enter image description here

I hope this helps.

share|improve this answer
add comment

I'm not aware of Front End functionality to achieve this.

This will be possible through QC's API though and this should be doable within a day of scripting (coding ability required).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.