Manually uploading TestArchitect test results to Team Foundation Server

TestArchitect test results from projects or test cases which are mapped to TFS can also be uploaded to TFS by manual means.

Ensure that you have already taken the following steps:

To manually upload TestArchitect test results to TFS:

  1. In the TestArchitect explorer tree or a result list view, right-click a test result, and then select External Tool > Visual Studio > Upload to Team Foundation Server .

  2. In the Select Location dialog box, specify a location on TFS that you want to upload the result to through either of the following:

    • Explicitly defining the location:

      1. Click Select a Destination Folder.
      2. Select a location that you want to upload the result to.

    • By using Work Item Query Language, only appear when user select TFS Helper - All Version of Team Foundation Server in Uploading method (WIQL).(Learn more.)

      1. Click Work Item Query Language (WIQL).

      2. Enter a WIQL query to query for a collection of satisfied TFS test cases, and then click OK.

        ヒント: 
        Click the question mark icon to see the typical syntax of a WIQL query.

    注意: 
    TestArchitect only support Rest API option for Automatically uploading test results to TFS.

  3. In the Build Number box, specify a build number.

    注意: 
    Build Number field:

    • It is a built-in field in both TestArchitect and TFS, used to represent the AUT build.
      • If this field is empty, specify a value.
      • If this test result’s built-in field already has a value defined from a previous run, this field is automatically filled in and is non-modifiable.
    • You only need to fill in this field, if you are using TFS 2015 RTM (Release to Manufacturing) and/or earlier versions.

    重要: 
    If your TestArchitect installation is integrated with Visual Studio Team Services, formerly known as Visual Studio Online, be aware that the Build Number field in Visual Studio Team Services is governed by a user-specified domain of values. That is, any build number supplied from TestArchitect must first exist in Visual Studio Team Services’s list of allowable build numbers.

  4. Select the Upload attachment(s) to Team Foundation Server check box to upload the TestArchitect test result to selected TFS test cases as an HTML file attachment. (Selectivity is determined by the field as follows).

  5. Use the By Team Foundation Server result list box to specify which type(s) of TFS test result accept an attached TestArchitect test result.

    • Passed: Upload the TA test result as an attachment if the TFS result status is Passed.
    • Inconclusive: Upload the TA test result as an attachment if the TFS result status is Inconclusive.
    • Failed: Upload the TA test result as an attachment if the TFS result status is Failed.
    注意: 
    • The mappings between TestArchitect and TFS test result statuses (that is, how TFS interprets each TA result status) are defined during initial configuration of the TA repository’s connection to the Team Foundation Server. (Learn more.)

    • If more than one condition is selected, they are effectively OR’d together. For example: If both Passed and Failed check boxes are selected, any TA result that has an TFS status of either Passed or Failed is uploaded as an attachment.

  6. Select the format of the uploaded test result:

    • HTML: (Default) Upload the result as an HTML file.
    • Compressed (Zip): Upload the result as a zipped HTML file.
    • Automatically compress result(s) if file size > KB: Upload the result as a compressed (zipped) HTML file if the file exceeds the specified size. Otherwise, upload the result as an uncompressed HTML file.

  7. Click OK.

    TestArchitect uploads the selected test results to TFS at the specified location and displays the upload confirmation message.

  8. Click OK to close the confirmation dialog box.

TestArchitect test results are uploaded to TFS in the format specified in step #6.

慎重: 

In case of test results generated from a serial test run, that is, running multiple test modules sequentially within a single test run, if the given Build Number’s values among test modules are not identical, the test results are unable to be uploaded to TFS. (Learn more.)

重要: 

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

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

Tel: +1 (650) 572-1400