Skip to main content

Update test results

Record the outcome of tests in a run: one row per result, with its outcome and, if you like, a comment, how long it took and an error.

Command in the Azure DevOps toolkit · id ooa.azure_devops/update_test_results · 5 inputs (5 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Organization address (URL)StringYesOrganization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server.
Personal access tokenCredentialYesPersonal access token from the vault, with the scopes this action needs (e.g. Work Items read and write); a Microsoft Entra ID token works too. Or leave it empty and choose a connection that signs in, which gets and renews the token.
ProjectStringYesProject name, e.g. Finance Portal.
Run IDNumberYesTest run id.
ResultsTableYesColumns: result_id (or test_point_id), outcome (Passed, Failed, Blocked, NotApplicable, Timeout, Aborted, Inconclusive, NotExecuted...), and optionally comment, duration_seconds, error_message.

Outputs​

OutputTypeWhat it is
updatedNumberHow many results were recorded.