Skip to content

Run TestLinkExample.py display "problems calling the API method setTestCaseTestSuite" #106

@reynold6215

Description

@reynold6215

error.log

My TestLink version 1.9.14

Cannot work move test case TC_B to correct test suite B function
Code:
tc_b_full_ext_id = myTestLink.getTestCase(newTestCaseID_B)[0]['full_tc_external_id']
response = myTestLink.setTestCaseTestSuite(tc_b_full_ext_id, newTestSuiteID_B)
print("setTestCaseTestSuite TC-B to TS-B" , response)

Display Error message:
New Test Case 'TESTCASE_B' - id: 853
Traceback (most recent call last):
File "example/TestLinkExample.py", line 287, in
response = myTestLink.setTestCaseTestSuite(tc_b_full_ext_id, newTestSuiteID_B)

File "/root/.pyenv/versions/testlink-env1/lib/python2.7/site-packages/testlink/testlinkdecorators.py", line 112, in wrapperAddDevKey
return methodAPI(self, *argsPositional, **argsOptional)
File "/root/.pyenv/versions/testlink-env1/lib/python2.7/site-packages/testlink/testlinkdecorators.py", line 100, in wrapperWithArgs
*argsPositional, **argsOptional)
File "/root/.pyenv/versions/testlink-env1/lib/python2.7/site-packages/testlink/testlinkapigeneric.py", line 1517, in callServerWithPosArgs
response = self._callServer(methodNameAPI, argsOptional)
File "/root/.pyenv/versions/testlink-env1/lib/python2.7/site-packages/testlink/testlinkapigeneric.py", line 2000, in _callServer
raise testlinkerrors.TLAPIError(new_msg)
testlink.testlinkerrors.TLAPIError: problems calling the API method setTestCaseTestSuite
<Fault -32601: 'server error. requested method tl.setTestCaseTestSuite does not exist.'>

(testlink-env1) root@TestLink-Auto:~/test1#

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions