Test case
Get-TestCase
Synopsis
Get a test case.
Syntax
Get-TestCase -TestSuiteID <Int32> [-TestCaseID <Int32>] [-IncludeRecentlyDeleted] [-ResolveVariables] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Gets all functional test cases included in a test suite or retrieves a specific test case by its ID. By adding the -IncludeRecentlyDeleted
switch parameter when retrieving all, the list can also include test cases deleted within the last 30 days, which you can restore.
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. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑IncludeRecentlyDeleted |
When enabled, includes items deleted within the last 30 days, which you can restore. |
‑ResolveVariables |
When enabled, returns test cases with resolved variables assigned statically. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑TestCaseID |
Your functional test case's ID. |
‑TestSuiteID Required |
Your test suite's ID. |
Related Links
Updated 7 days ago