TestLink-API-Python-client
TestLink-API-Python-client copied to clipboard
Bug in test case indexing
When "getTestSuitesForTestPlan" method is invoked it returns something like this: [{'name': 'Adding artificial intelligence', 'id': '33', 'parent_id': '1'}, {'name': 'Adding user points', 'id': '16', 'parent_id': '1'}, {'name': 'Evaluating move', 'id': '3', 'parent_id': '1'}, {'name': 'Visibility of letters on the board', 'id': '38', 'parent_id': '1'}]
So ID's are 33, 16, 3, 38.
But when I trying to invoke "reportTCResult" method i must use (ID+1) instead of simple ID to saved report of executing test with ID. So i need to do something like this:
tsl.reportTCResult(testcaseid=34...
Instead of:
tsl.reportTCResult(testcaseid=33...