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:

To upload TestArchitect test cases/test modules to TFS:

  1. In the TestArchitect explorer tree, right-click the desired test node, test folder or test module to be uploaded.

  2. On the context menu, select External Tool > Visual Studio > Upload to Team Foundation Server.

  3. In the Upload to Team Foundation Server dialog box, locate the target folder in TFS to which you want to upload the tests.

  4. 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.

  5. Click the OK button.

  6. 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.

    Notes: 
    the Copy to Clipboard button is used to copy the list of existing test cases to the clipboard.

  7. 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:





Important: 
It’s possible for TFS to have custom fields which are required. If you attempt to upload TestArchitect test cases that have corresponding user-defined fields with empty values, an error message appears.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400