Listing Platforms Assigned to Individual Test Cases

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
mstan
TestLink user
Posts: 1
Joined: Wed Aug 10, 2011 11:16 pm

Listing Platforms Assigned to Individual Test Cases

Post by mstan »

Is there a way to list the platforms that have been assigned to a test case (within a test plan) through the XML-RPC API?

When I execute "tl.getTestCasesForTestPlan", I get a list of test cases, and each test case has a "platform_name" and a "platform_id" key. However, it only lists this information for one platform per test case (I guess it's the first one it finds?). My test plans in TestLink have multiple platforms assigned to individual test cases. I would think this function should return either a list of platforms for each test case, or return the same test case multiple times (once for each platform it is assigned).

Is there something I'm missing here? Is there a way I can get this information?

Note: I'm doing this on TestLink 1.9.0, using the Python API.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Listing Platforms Assigned to Individual Test Cases

Post by fman »

1. we do all our tests using our sample clients written on PHP , then I suggest first test be done with code we provide.
2. 1.9.0 is not last 1.9.x => search on mantis for similar issue
3. if you think is a bug open an issue on mantis and provide detailed steps to reproduce
Post Reply