How to get exact order of TestSuites

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
dokaspar
TestLink user
Posts: 4
Joined: Mon Nov 19, 2012 3:52 pm

How to get exact order of TestSuites

Post by dokaspar »

I use the Java TestLinkAPIClient to retrieve all TestSuites using the getTestSuitesForTestPlan() function. However, the returned TestSuites have no particular order. How can I restore their order as defined in the Test Specification? I found a z-order attribute that does what I want for TestCases, but not for TestSuites...

Interesting enough, when I use TestLinkAPIHelper.getSuiteInfo(), a parameter 'node_order' is returned that represents the order I am looking for. However, this only works for 'first level' test suites! The returned info Map is null for all 'second level' testsuites...

Any ideas or a confirmation that this is currently impossible would be greatly appreciated. Thanks.
Post Reply