Forum Discussion

steve-salve's avatar
steve-salve
Occasional Contributor
2 months ago

How do I make the import use the "key" feature to update existing test-cases?

Sometimes, especially when doing a bulk edit or needing to repeat test cases, it's easier to do this in excel.

But when importing, it ignores the Key value, meaning it creates duplicates.

Example:

Exported the below:

No "key" mapping, you can't select a key:

And now it's imported and duplicated.

Why can't you map this correctly?

3 Replies

  • MisterB's avatar
    MisterB
    Icon for Champion Level 3 rankChampion Level 3

    Unfortunately, the import is an Add function - it cannot be used to update test cases.  The best option for bulk updates is to use the API and reference a file with the changes that you want to apply.

  • MisterB's avatar
    MisterB
    Icon for Champion Level 3 rankChampion Level 3

    In a way, yes, but it's also a positive.  If it were possible to update test cases, we could alter the scripts of tests that had been executed, and potentially misrepresent test results.

    What I would like to see is a way for us to update test cases using the import function up until the point we flag that test cases are in a ready state. The Test Case Status flag seems designed for this purpose, and I guess it was originally in the design but hasn't been completed for whatever reasons.