problem -- Report result with buildId
Posted: Fri Oct 16, 2009 5:12 pm
does anybody tried to upload the test result with buildid? no matter if I give build id, the report is always inserted to the latest build.
if set guess= false, it gave errors, say missing build id.
i used this method:
mixed reportTCResult( struct $args, string $args["devKey"], int $args["testcaseid"], int $args["testplanid"], string $args["status"], int $args["buildid"], string $args["notes"], bool $args["guess"] )
http://testlink.org/api/phpdoc_generate ... rtTCResult
and I actaully use Meyn's API and added the method with buildid using the above statement.
error:
uessing is disabled so a buildid must be specified!
and the called method:
[XmlRpcMethod("tl.reportTCResult", StructParams = true)]
object reportTCResult(string devKey, int testcaseid, int testplanid, string status, int build, string notes, bool guess);
int build is supplied.
could someone confirm that the result can be reported with build id?
p.s. the build id is validated from MySQL and is correct. it's got by:
testplanBuildList1 = cnx.GetBuildsForTestPlan(tp1.id);
(tp1 is the plan id)
testplanBuild1 = testplanBuildList1[0];
so build id is testplanBuild1.id;
if set guess= false, it gave errors, say missing build id.
i used this method:
mixed reportTCResult( struct $args, string $args["devKey"], int $args["testcaseid"], int $args["testplanid"], string $args["status"], int $args["buildid"], string $args["notes"], bool $args["guess"] )
http://testlink.org/api/phpdoc_generate ... rtTCResult
and I actaully use Meyn's API and added the method with buildid using the above statement.
error:
uessing is disabled so a buildid must be specified!
and the called method:
[XmlRpcMethod("tl.reportTCResult", StructParams = true)]
object reportTCResult(string devKey, int testcaseid, int testplanid, string status, int build, string notes, bool guess);
int build is supplied.
could someone confirm that the result can be reported with build id?
p.s. the build id is validated from MySQL and is correct. it's got by:
testplanBuildList1 = cnx.GetBuildsForTestPlan(tp1.id);
(tp1 is the plan id)
testplanBuild1 = testplanBuildList1[0];
so build id is testplanBuild1.id;