< Back

Get-TestSuites

Sat Jan 18, 2020 4:09 pm

NAME Get-TestSuites



SYNOPSIS

Get all the test suites





SYNTAX

Get-TestSuites [-ApiUrl] <Uri> [-OrganizationId] <Guid> [[-ApiCredential] <PSCredential>]

[-ConnectionTimeoutInMinutes <int>] [<CommonParameters>]





DESCRIPTION

Returns the test suites registered for the organization





PARAMETERS

-ApiUrl <Uri>

URI for the Admin API server



Required? true

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ApiCredential <PSCredential>

Login credentials for the Admin API



Required? false

Position? 2

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-OrganizationId <Guid>

Organization Id against which the tests will need to run



This value can be obtained from CRM -> Settings -> Customizations -> Developer Resources page



Required? true

Position? 1

Default value 00000000-0000-0000-0000-000000000000

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ConnectionTimeoutInMinutes <int>

Amount of time that the client will wait till it times out



Required? false

Position? named

Default value 2

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.Uri

URI for the Admin API server



System.Management.Automation.PSCredential

Login credentials for the Admin API



System.Guid

Organization Id against which the tests will need to run



This value can be obtained from CRM -> Settings -> Customizations -> Developer Resources page



System.Int32

Amount of time that the client will wait till it times out





OUTPUTS

System.Collections.Generic.IList`1[[Microsoft.Xrm.Services.Admin.Client.Models.TestSuiteApi,

Microsoft.Xrm.Tooling.Testing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]





---------- EXAMPLE 1 ----------



Get-TestSuites -ApiUrl "https://admin.services.crm.dynamics.com/" -ApiCredential $mycreds -OrganizationId "org id"





RELATED LINKS