Skip to main content

getSuite

client.autoTesting.getSuite(id: string): Promise<TestSuite>

Retrieves a specific test suite by ID.

Returns the full suite definition including its metadata and associated test case references.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the test suite

Returns

Promise<TestSuite> — A promise that resolves to the TestSuite object

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.autoTesting.getSuite('id');
console.log(result);