Skip to main content

Create Tests

The follwing mutation creates a test for a test suite:

mutation CreateTest($testSuiteId: ObjectID!, $reportTemplateCode: String!) {
createTest(input: {
testSuiteId: $testSuiteId,
reportTemplateCode: $reportTemplateCode
}) {
test {
id
}
}
}

Try in explorer

tip

testSuiteId and reportTemplateCode are the only required parameters.