Skip to main content

Create test run

Start a test run for test points of a plan, so their results can be recorded; manual by default, or automated and linked to a build.

Command in the Azure DevOps toolkit · id ooa.azure_devops/create_test_run · 8 inputs (5 required), 2 outputs

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.
Plan IDNumberYesTest plan id, from List test plans.
NameStringYesRun name.
Point IDsListNoTest points to include; the run starts empty when none are given.
AutomatedBooleanNofalseMark the run as automated instead of manual.
Build IDNumberNoId of the build the run tests, from Queue build or List builds.

Outputs​

OutputTypeWhat it is
run_idNumberId of the new run.
urlStringWeb address of the run.