alm_execute_test
Execute a test end-to-end in a single call: locate the test instance, create a run, and update status and steps to record automation results in ALM.
Instructions
Full end-to-end test execution in a single call.
Finds the test instance → creates a run → updates run status → updates all run steps. This is the primary tool for recording automation results in ALM.
Args: test_set_id: ALM ID of the test set containing the test instance. test_id: ALM ID of the test case in Test Plan. test_name: Name matching the test instance in the test set. status: 'Passed' or 'Failed'. comments: Optional comment written to step actual-result field. peer_reviewer: Optional ALM username to set as peer reviewer (user-template-06).
Returns: {"success": true/false, "test_run_id", "status", "steps_updated": }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_set_id | Yes | ||
| test_id | Yes | ||
| test_name | Yes | ||
| status | Yes | ||
| comments | No | ||
| peer_reviewer | No |