Run ATF Test
servicenow_run_atf_testRun ServiceNow Automated Test Framework (ATF) tests or test suites to obtain pass/fail results and step-level detail.
Instructions
Execute an ATF test or test suite and return the result.
Requires the ATF plugin (com.glide.automated-test-framework) and appropriate role (atf_test_admin or admin).
Args:
sys_id (string): sys_id of the test or suite to run (from servicenow_list_atf_tests)
is_suite (boolean): True if running a test suite, false for a single test (default: false)
browser (string): Browser to run tests in (default: "any"). Options: "any", "chrome", "firefox", "ie", "safari", "edge"
response_format: Output format
Returns: Test run result including pass/fail status and individual step results
Note: Test execution is asynchronous. Results may not be immediately available — check sys_atf_result table if the call times out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sys_id | Yes | sys_id of the ATF test or suite to execute | |
| browser | No | Browser for UI tests | any |
| is_suite | No | True if this is a test suite sys_id | |
| response_format | No | Output format: 'markdown' (default) for human-readable or 'json' for structured data | markdown |