Uploading TestArchitect test modules/test cases to Team Foundation Server
TestArchitect test cases and test modules can be uploaded to the TFS server, which also establishes one-to-one mappings between the two sets of test cases.
Ensure that you have already taken the following steps:
- Registered the TFS server with TestArchitect. (Learn more.)
- Mapped the TestArchitect project containing the test cases of interest to a TFS project. (Learn more.)
To upload TestArchitect test cases/test modules to TFS:
In the TestArchitect explorer tree, right-click the desired test node, test folder or test module to be uploaded.
On the context menu, select External Tool > Visual Studio > Upload to Team Foundation Server.
In the Upload to Team Foundation Server dialog box, locate the target folder in TFS to which you want to upload the tests.
Select the preferred options:
Test Module(s): Create a test case in TFS corresponding to each TestArchitect test module to be uploaded. The TFS test cases will bear the names of the TestArchitect test modules.
Test Case(s): Create a test case in TFS corresponding to each TestArchitect test case to be uploaded. The TFS test cases will bear the name of the TestArchitect test cases.
All Contents: Upload all contents of the TestArchitect test cases/ modules to the TFS test cases.
Test Steps Only: Upload test steps of TestArchitect test cases/ modules to TFS test cases.
Keep Folder Structure: Organize the uploaded tests in TFS in a similar way to those in TestArchitect. A folder in TFS will turn into a test suite in TestArchitect.
Create Test Suite Corresponding to Test Module: Create a test suite in TFS corresponding to each TestArchitect test module; then upload the test module and its test cases to Team Foundation Server as test cases in the test suite.
Scan Team Project for Existing Tests: If selected, the whole TFS project will be scanned for test cases that already exists. Otherwise, the selected test node will be scanned.
Click the OK button.
The Confirm Overwriting dialog box appears, showing a list of test cases that already exists in TFS if any. Select the check boxes for the TFS test cases that you want to overwrite with TestArchitect test cases/ test modules. Click the OK button.Note:the Copy to Clipboard button is used to copy the list of existing test cases to the clipboard.
An information dialog box will appear stating “Upload process completed successfully” if the upload was successful. Click the OK button.
Assuming you upload tests with the structure below in TestArchitect:
The corresponding tests in TFS will be organized as follows: