orenault / TestLink-API-Python-client

A Python client to use the TestLink API
46 stars 104 forks source link

How can I get all testcases in a project #21

Closed luisespla closed 7 years ago

luisespla commented 8 years ago

Hello, I have seen that it 's avalaible to get all testcases in a TestPlan but I would like to get all testcases in a project. Is it available? Best regards

orenault commented 7 years ago

You can use the same as for countTestCasesTP:

TestPlans = self.getProjectTestPlans(project['id']) for TestPlan in TestPlans: TestCases = self.getTestCasesForTestPlan(TestPlan['id'])

=> just define the Project id you need instead of parsing all projects.

matthewdy commented 4 years ago

@orenault but if the test project doesn;t contain any testplan , how could i get it ?