Page 1 of 1

set execution type as automatic

PostPosted: Mon May 27, 2013 9:30 am
by labomatik
Hello,

I'm creating automatically testcase in testlink using the API (createTestCase method), in the description of the API, i've this:
Code: Select all
          * createTestCase
       * @param struct $args
       * @param string $args["devKey"]
       * @param string $args["testcasename"]
       * @param int    $args["testsuiteid"]: test case parent test suite id
       * @param int    $args["testprojectid"]: test case parent test suite id
       *
       * @param string $args["authorlogin"]: to set test case author
       * @param string $args["summary"]
       * @param string $args["steps"]
       *
       * @param string $args["preconditions"] - optional
      * @param string $args["importance"] - optional - see const.inc.php for domain
      * @param string $args["execution"] - optional - see ... for domain
      * @param string $args["order'] - optional
      * @param string $args["internalid"] - optional - do not use
      * @param string $args["checkduplicatedname"] - optional
      * @param string $args["actiononduplicatedname"] - optional
      *



I used the $args["execution"] and try to set 1, 2 but no luck, impossible to specify a execution type as automatic.

Am i doing something wrong?

Thanks for your help,
Christophe

Re: set execution type as automatic

PostPosted: Mon May 27, 2013 7:08 pm
by fman
there is an error on documentation you need to use 'executiontype'

if you give a look to code you are going to find
public static $executionTypeParamName = "executiontype";