Testopia:Documentation:XMLRPC:TestCaseRun
Back to Testopia XML-RPC API
TestCaseRun
Description
A test case run is a record in the test_case_runs table which joins test cases to test runs. Basically, for each test run a selction of test cases is made to be included in that run. As a test run progresses, testers set statuses on each of the cases in the run.
Hiearchy
Bugzilla::WebService::Testopia::TestCaseRun
Attributes
| Attribute | Data Type | Comments |
| assignee | string | |
| build_id | integer | |
| case_id | integer | |
| case_run_id | integer | |
| case_run_status | string | IDLE, PASSED, FAILED, RUNNING, PAUSED, BLOCKED |
| case_text_version | integer | |
| close_date | string | Format: yyyy-mm-dd hh:mm:ss |
| iscurrent | integer | |
| notes | string | |
| run_id | integer | |
| sortkey | string | |
| testedby | string |
Methods
get - Get A TestCaseRun by ID
Usage
TestCaseRun.get
Parameters
| Parameter | Data Type | Comments |
| case_id | integer | Must be greater than 0. |
Result
A hash map of key/value pairs for the attributes listed above or a hash map containing values for the keys, "faultcode" and "faultstring".
list - Get A List of TestCaseRuns Based on A Query
Usage
TestCaseRun.list
Parameters
| Parameter | Data Type | Comments |
| query | string | Can not be null or an empty string. See Query Examples. |
Result
An array of TestCaseRun hash maps or a hash map containing values for the keys, "faultcode" and "faultstring".
create - Create A New TestCaseRun
Usage
TestCaseRun.create
Parameters
| Parameter | Data Type | Comments |
| new_values | hashmap | See required attributes list1 below. |
1 Required attributes: assignee, build_id, case_id, case_text_version, and run_id
Result
An integer value representing the new test case run id or a hash map containing values for the keys, "faultcode" and "faultstring".
update - Update An Existing TestCaseRun
Usage
TestCaseRun.update
Parameters
| Parameter | Data Type | Comments |
| run_id | integer | |
| case_id | integer | |
| build_id | integer | |
| new_values | hashmap | run_id, case_id, and build_id can not be modified. |
Result
The integer value, 0, on success or a hash map containing values for the keys, "faultcode" and "faultstring".
Back to the Testopia Main Page