Shubham Gupta
Shubham Gupta

Reputation: 379

Bulk Create Test Suite & Test Plan and Bulk attach Test Plan with Test Suite in ADO

We are trying to bulk import multiple test suites and test plans in Azure DevOps. ADO gives option to bulk import test cases for a given Test Suite, but I can't find an option to bulk import all test suites and test cases with test cases associated to test suites. As of now, we have to run bulk import for each test suite, i.e. if we have 300 test suites with 7 test cases under each, we have to run bulk import 300 times.

Please help.

Thanks, Shubham Gupta

Upvotes: 0

Views: 827

Answers (1)

Kasik
Kasik

Reputation: 41

I suggest to go through this page first there are summarized all available options which are supported right now:

Copy or clone test plans, test suites, and test cases

And here are few options for you:

Have test suits in hierarchy

  • Your_Test_plan
    • Parent_Suite
      • 1.Suite
        • child_suite
      • 2.Suite
        • child_suite
      • ...
      • N.Suite

And then You can use Import tool, it either let's you to pick just the lowest in hierarchy or you can copy from the top.

In your Test plan click on dots by test suite and pick import test suits

If you want to copy whole Plan there is an option too

enter image description here

Otherwise there is an option to use official REST VSTS API, so you can make script which does it for you.

Upvotes: 0

Related Questions