Start-BeSuiteRun

Starts a BiG EVAL test suite with all test cases it contains.

Start-BeSuiteRun
    -Connection <Connection>
    -SuiteId <Integer>

Description

The Start-BeSuiteRun cmdlet starts a new test suite run. This operation is asynchronously because it may take some time to complete. The ID of the job that runs the operation gets returned in a result-object and can be obtained like shown in the example below.

After starting a suite run, you either poll the job until it complets using the Get-BeJob cmdlet. Or you call the Wait-BeJob cmdlet to let the script wait for job completion.

Example

The following example shows how to run the suite with the ID 1 and how to obtain the ID of the job.

$suiteId = 1

# Start suite
Write-Host -NoNewline "Starting suite run... "
$startSuiteResult = Start-BeSuiteRun -Connection $connection -SuiteId $suiteId
$jobId = $startSuiteResult.jobId
Write-Host "Done (Job-ID: $jobId)"

Parameters

-Connection

Pass the connection-object returned by the Connect-BeInstance cmdlet.

Type:Connection
Mandatory:Yes
Position:Named
Default Value:None

-SuiteId

The ID of the suite that should be run. This value can be obtained from the browsers URL when opening a test suite within the BiG EVAL frontend.

Type:Integer
Mandatory:Yes
Position:Named
Default Value:None
Table of Contents