Testopia:Documentation:XMLRPC:TestCaseRun: Difference between revisions

Jump to navigation Jump to search
fixed on-error results info
(changed .create Result to reflect throwing of XmlRpcException vs. hashmap of faultcode/faultstring)
(fixed on-error results info)
Line 66: Line 66:


=====Result=====
=====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".
A hash map of key/value pairs for the attributes listed above on success; on error, an XmlRpcException is thrown.


=====Example=====
=====Example=====
Line 92: Line 92:


=====Result=====
=====Result=====
An array of TestCaseRun hash maps or a hash map containing values for the keys, "faultcode" and "faultstring".
An array of TestCaseRun hash maps or a hash map containing values for the keys on success; on error, an XmlRpcException is thrown.


=====Example=====
=====Example=====
Line 120: Line 120:


=====Result=====
=====Result=====
An integer value representing the new test case run id or a hash map containing values for the keys, "faultcode" and "faultstring".
An integer value representing the new test case run id on success; on error, an XmlRpcException is thrown.


=====Example=====
=====Example=====
Line 184: Line 184:


=====Result=====
=====Result=====
An array of Bug hash maps or a hash map containing values for the keys, "faultcode" and "faultstring".
An array of Bug hash maps or a hash map containing values for the keys on success; on error, an XmlRpcException is thrown.


=====Example=====
=====Example=====
Line 210: Line 210:


=====Result=====
=====Result=====
The TestCaseRun status id for the respective name or 0 if an error occurs.
The TestCaseRun status id for the respective name, empty string ('') if the name is not found.


=====Example=====
=====Example=====
Line 235: Line 235:


=====Result=====
=====Result=====
The TestCaseRun status name for the respective id or empty string if an error occurs.
The TestCaseRun status name for the respective id or 0 error occurs.


=====Example=====
=====Example=====
11

edits

Navigation menu