如何获取testlink项目中的testplanid
How to get testplanid in testlink project
如何获取testlink项目中的testplanid?我已将名称 'myTestProjectTestBuild' 命名为我的测试计划,但在将此名称命名为 testplanid 时,它显示 The Test Plan ID (0) provided does not exist!
>>> tls.getBuildsForTestPlan('myTestProjectTestBuild')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/testlink/testlinkdecorators.py", line 140, in wrapperReplaceTLResponseError
response = methodAPI(self, *argsPositional, **argsOptional)
File "/usr/lib/python2.7/site-packages/testlink/testlinkdecorators.py", line 112, in wrapperAddDevKey
return methodAPI(self, *argsPositional, **argsOptional)
File "/usr/lib/python2.7/site-packages/testlink/testlinkdecorators.py", line 100, in wrapperWithArgs
*argsPositional, **argsOptional)
File "/usr/lib/python2.7/site-packages/testlink/testlinkapigeneric.py", line 1515, in callServerWithPosArgs
self._checkResponse(response, methodNameAPI, argsOptional)
File "/usr/lib/python2.7/site-packages/testlink/testlinkapigeneric.py", line 1879, in _checkResponse
response[0]['message'], response[0]['code'])
testlink.testlinkerrors.TLResponseError: 3000: (getBuildsForTestPlan) - The Test Plan ID (0) provided does not exist!
getBuildsForTestPlan({'testplanid': 'myTestProjectTestBuild', 'devKey': 'xyz'})
有人可以告诉我从哪里可以在 testlink 中获取 testplanid 吗?
我用 tls.getProjectTestPlans('<project_id')
得到了 testplanid 的值。
登录后,你会得到一个测试计划管理link,点击它然后将鼠标悬停在你想要获取其Id的测试计划上。在底部你会看到 tplan_id = 一些数字。即测试计划ID
如何获取testlink项目中的testplanid?我已将名称 'myTestProjectTestBuild' 命名为我的测试计划,但在将此名称命名为 testplanid 时,它显示 The Test Plan ID (0) provided does not exist!
>>> tls.getBuildsForTestPlan('myTestProjectTestBuild')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/testlink/testlinkdecorators.py", line 140, in wrapperReplaceTLResponseError
response = methodAPI(self, *argsPositional, **argsOptional)
File "/usr/lib/python2.7/site-packages/testlink/testlinkdecorators.py", line 112, in wrapperAddDevKey
return methodAPI(self, *argsPositional, **argsOptional)
File "/usr/lib/python2.7/site-packages/testlink/testlinkdecorators.py", line 100, in wrapperWithArgs
*argsPositional, **argsOptional)
File "/usr/lib/python2.7/site-packages/testlink/testlinkapigeneric.py", line 1515, in callServerWithPosArgs
self._checkResponse(response, methodNameAPI, argsOptional)
File "/usr/lib/python2.7/site-packages/testlink/testlinkapigeneric.py", line 1879, in _checkResponse
response[0]['message'], response[0]['code'])
testlink.testlinkerrors.TLResponseError: 3000: (getBuildsForTestPlan) - The Test Plan ID (0) provided does not exist!
getBuildsForTestPlan({'testplanid': 'myTestProjectTestBuild', 'devKey': 'xyz'})
有人可以告诉我从哪里可以在 testlink 中获取 testplanid 吗?
我用 tls.getProjectTestPlans('<project_id')
得到了 testplanid 的值。
登录后,你会得到一个测试计划管理link,点击它然后将鼠标悬停在你想要获取其Id的测试计划上。在底部你会看到 tplan_id = 一些数字。即测试计划ID