Closed CarrieSun closed 4 years ago
if executestatus="a" , the response is an empty array too ,actually it is not empty.
Hello CarrieSun,
good question!
Unfortunately, the TestLink Server itself has not documented this case. The state 'n' returns nothing, while 'f' and 'p' works. As first response I would say, get all test cases and use python to filter them.
If you want to let the server do this, the answer might requires a deep dive into the TestLink Server code, somewhere in _testlinkcode/lib/functions/testplan.class.php
If you find a solution, it would be fine if you share it with the other user. I will do some tries at the weekend.
Regards Luiko
Hello Luiko, Thank you very much for your fast and detailed answer !
Have a nice day ! Greetings.
when I execute the following functions in pycharm ,
response = my_testlink.getTestCasesForTestPlan(testplanid=test_plan_id, buildid=build_id, platformid=platform_id, executestatus="n")
the response is [], an empty array, but actually, I have a lot of unexecuted test cases. I want to get those unexecuted test cases information.