Skip to main content

Add test cases to suite

Add existing test case work items to a static suite.

Command in the Azure DevOps toolkit · id ooa.azure_devops/add_test_cases_to_suite · 6 inputs (6 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.
Plan IDNumberYesTest plan id, from List test plans.
Suite IDNumberYesTest suite id; a plan's top suite has the plan's root suite id (see Get test plan).
Test case IDsListYesWork item ids of the test cases, e.g. [101, 102].

Outputs​

OutputTypeWhat it is
countNumberNumber of test cases added.