我想将测试用例执行结果从selenium更新到testlink服务器。
为了满足此要求,我执行了以下更改:
(1) Modified the config.inc.php file like this:
/** XML-RPC API availability (disabled by default) */
$tlCfg->api->enabled = TRUE;
// ENABLED -> enable XML-RPC calls to external test automation server
// new buttons will be displayed on execution pages
// DISABLED -> disable
$tlCfg->exec_cfg->enable_test_automation = ENABLED;
(2) Created a user with admin rights and login to Testlink
(3) Go to 'My Settings' Under API interface, click 'Generate new key'. Configured new generated key in java code for integrate selenium and testlink server.
执行上述更改后,我在从selenium执行测试用例时遇到以下错误。
FATAL: User corresponding to Developer Key has insufficient rights to perform this action- Details: right testplan_create_build, test project id: 1, test plan id: 436
br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: User corresponding to Developer Key has insufficient rights to perform this action- Details: right testplan_create_build, test project id: 1, test plan id: 436
如果您有任何想法,请帮助我。
答案 0 :(得分:0)
希望这会有所帮助。祝你好运!