Hi.
We would like to integrate testlink into our automation system.
for that we need two functionalities:
1) (must) Allow our automation system (Jsystem) to update tests results. I looked and played with the XML-RPC API, but did not find any way to update a test case result (while providing test case id, build, result, notes, etc).
Is there a way to do so ?
2) remote test execution - I browsed the code and saw the functionality, but I could not find any post / document on how to configure this functionality.
can any one please direct me to such link ?
Thanks,
Zeevik.
remote update of test execution results (and remote executio
Moderators: Amaradana, TurboPT, TL Developers
Re: remote update of test execution results (and remote exec
Does someone have any info on this issue ?
(before I start digging the code
)
Thanks,
Zeevik.
(before I start digging the code

Thanks,
Zeevik.
Re: remote update of test execution results (and remote exec
Test Link 1.9 Beta 5
* Reports a result for a single test case
*
* @param struct $args
* @param string $args["devKey"]
* @param int $args["testcaseid"]: optional, if not present
* testcaseexternalid must be present
*
* @param int $args["testcaseexternalid"]: optional, if does not is present
* testcaseid must be present
*
*
*
* @param int $args["testplanid"]
* @param string $args["status"] - status is {@link $validStatusList}
* @param int $args["buildid"] - optional.
* if not present and $args["buildname"] exists
* then
* $args["buildname"] will be checked and used if valid
* else
* build with HIGHEST ID will be used
*
* @param int $args["buildname"] - optional.
* if not present Build with higher internal ID will be used
*
*
* @param string $args["notes"] - optional
* @param bool $args["guess"] - optional defining whether to guess optinal params or require them
* explicitly default is true (guess by default)
*
* @param string $args["bugid"] - optional
*
* @param string $args["platformid"] - optional, if not present platformname must be present
* @param string $args["platformname"] - optional, if not present platformid must be present
*
*
* @param string $args["customfields"] - optional
* contains an map with key:Custom Field Name, value: value for CF.
* VERY IMPORTANT: value must be formatted in the way it's written to db,
* this is important for types like:
*
* DATE: strtotime()
* DATETIME: mktime()
* MULTISELECTION LIST / CHECKBOX / RADIO: se multipli selezione ! come separatore
*
*
* these custom fields must be configured to be writte during execution.
* If custom field do not meet condition value will not be written
*
* @param boolean $args["overwrite"] - optional, if present and true, then last execution
* for (testcase,testplan,build,platform) will be overwritten.
*
* @return mixed $resultInfo
* [status] => true/false of success
* [id] => result id or error code
* [message] => optional message for error message string
* @access public
*/
use also
<tl install dir>\lib\api\sample_clients\php\
* Reports a result for a single test case
*
* @param struct $args
* @param string $args["devKey"]
* @param int $args["testcaseid"]: optional, if not present
* testcaseexternalid must be present
*
* @param int $args["testcaseexternalid"]: optional, if does not is present
* testcaseid must be present
*
*
*
* @param int $args["testplanid"]
* @param string $args["status"] - status is {@link $validStatusList}
* @param int $args["buildid"] - optional.
* if not present and $args["buildname"] exists
* then
* $args["buildname"] will be checked and used if valid
* else
* build with HIGHEST ID will be used
*
* @param int $args["buildname"] - optional.
* if not present Build with higher internal ID will be used
*
*
* @param string $args["notes"] - optional
* @param bool $args["guess"] - optional defining whether to guess optinal params or require them
* explicitly default is true (guess by default)
*
* @param string $args["bugid"] - optional
*
* @param string $args["platformid"] - optional, if not present platformname must be present
* @param string $args["platformname"] - optional, if not present platformid must be present
*
*
* @param string $args["customfields"] - optional
* contains an map with key:Custom Field Name, value: value for CF.
* VERY IMPORTANT: value must be formatted in the way it's written to db,
* this is important for types like:
*
* DATE: strtotime()
* DATETIME: mktime()
* MULTISELECTION LIST / CHECKBOX / RADIO: se multipli selezione ! come separatore
*
*
* these custom fields must be configured to be writte during execution.
* If custom field do not meet condition value will not be written
*
* @param boolean $args["overwrite"] - optional, if present and true, then last execution
* for (testcase,testplan,build,platform) will be overwritten.
*
* @return mixed $resultInfo
* [status] => true/false of success
* [id] => result id or error code
* [message] => optional message for error message string
* @access public
*/
use also
<tl install dir>\lib\api\sample_clients\php\
Re: remote update of test execution results (and remote exec
Thanks.
this was a great help.
I posted out Java based XML-RPC integration example here
http://www.teamst.org/forum/viewtopic.php?f=10&t=3462
Note for all others:
The link[url]http://<server-ip>/testlink/lib/api/sample_clients/php/[/url] lists only PART of the possible functions.
listing the files in the dir <tl install dir>\lib\api\sample_clients\php\
will show ALL possible options.
this was a great help.
I posted out Java based XML-RPC integration example here
http://www.teamst.org/forum/viewtopic.php?f=10&t=3462
Note for all others:
The link[url]http://<server-ip>/testlink/lib/api/sample_clients/php/[/url] lists only PART of the possible functions.
listing the files in the dir <tl install dir>\lib\api\sample_clients\php\
will show ALL possible options.
Re: remote update of test execution results (and remote exec
Hi All,
Can I update the test execution status from TestComplete in vbscript? Can anyone provide me the valid code snippet?
Thanks in advance.
Shrirang
Can I update the test execution status from TestComplete in vbscript? Can anyone provide me the valid code snippet?
Thanks in advance.
Shrirang