locked
How to upload attachment to test run using the TFS API RRS feed

  • Question

  • Hi

    Today we run Selenium tests in the release pipeline and when a test fails we take screenshots and a video recording.
    We would like to upload these attachments to the current test run that runs in the release flow.

    Is there a good way to get the run id of the tests with build/release variables using the TFS API? I want to re-use it between many releases so the solution need to be dynamic.

    Scenario:

    Test runs and fail
    Screenshot taken.
    Take the screenshot and upload it as an attachment to the test run in the release flow

    Kind Regards

    Fredrik

    Tuesday, November 21, 2017 2:18 PM

All replies