Bulk Export Import Test Cases to Azure DevOps Test Plans using CSV file - Blogs
X
28Jan

Bulk Export Import Test Cases to Azure DevOps Test Plans using CSV file

As a user of Azure DevOps Test Plans or TFS Test Management for manual testing, from a long time everyone including me had a wish, that copy of test cases from excel or csv file along with test steps to Azure DevOps/TFS should be provided. Now that wait is over, Microsoft has recently announced this most requested feature in Azure DevOps world Bulk Export Import Test Cases to Azure DevOps Test Plans using CSV file. Using this option, you can export the existing test cases to Excel CSV file, make changes to the CSV file and then import the file back into the suite. Not only that you can bulk add new test cases along with steps and expected results. Let’s see how to use this feature.

1. Once you log into the Azure DevOps project go to Test Plans and choose one of the test plans or create a new one. Post that when you open the plan you can see 3 tabs “Define”, “Execute” and “Charts”. Under Define tab you will see up and down arrows, that is import and export options.

21

 

2. Create a csv file and add the required column names like below. The column names are mandatory fields required to import test cases.

22

 

3. Once the columns are defined, now add the test cases along with steps and expected results and you define other field values. As shown in the below image the ID column should be left blank, the Area path should match to the project Area Paths and to assign the testcase to users, you can either use email-id or username

23

 

4. Now we are ready to import the 2 test cases. Go to the test plan E2E Plan and click on Module 1 test suite. In Define tab click on “import test case from CSV” (up arrow) option.

24

 

5. Click on Choose file, then select the “Test Cases.csv” file and click on open.

25

6. Finally clock on “Import” button to create the new test cases

26

 

7. Upon successful verification the test cases will be imported as shown below. You will see message on how many test cases created or updated and in Define tab you can see the test cases being created. Since 2 new test cases were import the message shows 0 test cases updated and 2 test cases created.

27

 

8. To export the test case from the suite, click on “Export test cases to CSV” (down arrow) option and the csv file will be downloaded to your machine.

28

 

9. Open the excel file to check the details. The file name will be Test Plan + Suite name, ID column will have the work item ID and “Assigned To” has the correct user even though you used two different option username and email-ID, it is parsed correctly

29

 

10. You can import hundreds of test cases easily; I have tested for more the 2 thousand test cases and it was imported in 3-4 minutes.

30

You learnt how to import and export test cases along with step action, step expected and column details. You can also include custom fields in the CSV file, if any defined in the test case.

Related

Introduction to DevOpSmartBoard

Azure DevOps is very famous devops platform in the current market. Azure DevOps provides end to end ...

Read More >

SAP RPA 2.0: Out of Office (Outlook Automation)

In this blog we will see how Out of Office messages can be set by searching for approved emails for ...

Read More >

How to build chat application using SIgnalR

IntroductionHello friends, This blog is related to a chat application which conatins the exchanging ...

Read More >

How to implement and use Extension Methods in C#

Do you wish to extend the built-in types with new methods?Want to extend custom types with new metho...

Read More >

VSTS on Mobile

.main{width:677px;float:left;font: 13px/1.5 'tahoma', verdana, arial, sans-serif;}#slider1 { height:...

Read More >

How to handle the exceptions using recovery scenario manager in QTP?

VB script Error HandlingDurning run time, if QTP encounters any erorr then it will display the error...

Read More >

What is Selenium Webdriver

Automated software testing is a process in which software tools execute pre-scripted tests on a soft...

Read More >

Examples of Selenium Webdriver Scripts

Examples of Selenium Webdriver ScriptsNow its time to code and execute the selenium webdriver script...

Read More >

Why automation testing is required and its advantages over manual testing process

What is Automation Testing?Making the manual testing process as an automatic is called Automating Te...

Read More >

Azure DevOps Overview

Now a days Azure DevOps is very famous with IT and Operations team along with developers, so what is...

Read More >

Share

Try DevOpSmartBoard Ultimate complete Azure DevOps End-to end reporting tool

Sign Up

  • Recent
  • Popular
  • Tag
Monthly Archive
Subscribe
Name

Text/HTML
Contact Us
  • *
  • *