I have a requirement to import the Excel Based Test Cases into VSTS and Export Test Cases from VSTS into MS Excel. VSTS(Not TFS)
You can use below way to export test cases from VSTS to MS excel:
Define a query for the test case you want to export. Create new query for all test case -> specify
Work Item Type
=Test case
.Connect in MS excel. MS excel -> Team ribbon -> New List -> Servers -> add -> input VSTS URL(
https://account.visualstudio.com
) -> OK -> Close -> select a team project -> connect -> choose Query list -> select the query you just created -> OK.
Now all the test cases are export to MS excel. And you can click Choose Colums to add or remove displayed columns.
Import to VSTS: You can add new WIT in MS excel, and then click Publish to import new created WIT to VSTS.
来源:https://stackoverflow.com/questions/44501382/how-to-export-and-import-test-cases-from-visual-studio-team-services-into-ms-exc