TestLink-API-Python-client icon indicating copy to clipboard operation
TestLink-API-Python-client copied to clipboard

Bug in test case indexing

Open radosz99 opened this issue 4 years ago • 0 comments

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...

radosz99 avatar May 27 '20 16:05 radosz99