Test suite

New-TestSuite

Synopsis

Create a test suite.

Syntax

New-TestSuite [-Body] <Object> [-AutoGenerate] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Creates a new test suite. When running this operation, you can optionally auto-generate the child objects with the -AutoGenerate switch parameter.

Note: Your request body will be parsed to check for the presence of test cases or variables and will be routed to the correct endpoint appropriately.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑AutoGenerate

When enabled, generates a default test suite with test cases and variables for a specific property version and a URL. Based on property settings and its behaviors and the URL, Test Center generates a default test suite object with test cases and variables.

‑Body
Required

A request body, either as a PSCustomObject or string. This parameter supports pipelining.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links