Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

Is there a way of creating/copying test cases with same IDs as original


#1

Is there a way of creating/copying test cases and runs with same IDs as original test cases ensuring that test cases are frozen at that point and ensuring they are like a sanpshot so if I do execute or run again it is those test cases from snapshot that I run and not updated ones ?

I ask this because I need to keep the same test run/suite of test cases to execute for patches!
I need to keep the same IDs for automation and for test case links within the test cases
I need to keep a snapshot of the test cases and their IDs at that point so if they are rerun it doesn’t pick up the updated ones
Is this possible ?


#2

No, we got around this by creating a custom field called UUID that auto generates a UUID nightly if the test case is flagged as automated (also does this on save via a ui script). Then we track the uuid in selenium, this gives us full power if we ever transition tools or need to run test cases in other baselines, or accidently delete a test case, etc…