api createTestCase

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
mvd
TestLink user
Posts: 2
Joined: Wed Jun 15, 2011 7:35 am

api createTestCase

Post by mvd »

I am trying to use the great testlinkjavaapi, but I have one problem, I am not capable to create a new testcase programatically
Anyone succeed? The error I get is: (wich should be Error creating test case, it's wrong in the code)
TestLinkAPIException: Error creating test plan: Failed to parse server's response: Expected methodResponse element, got pre
what are the correct parameters? how do I get the internalId? what is the order?
In testlink I see that my testcase is created, but without a number:
If the prefix is XXX, the test is created 'XXX - testlinktest', and clicking on it in the testspecification tab: Your search delivered no results!
mvd
TestLink user
Posts: 2
Joined: Wed Jun 15, 2011 7:35 am

Re: api createTestCase

Post by mvd »

I pass null instead of TestImportance.MEDIUM, then it works!
I tried to pass ExecutionType.AUTOMATED, but the testcase is created as manual.
Rorke
TestLink user
Posts: 6
Joined: Thu Jul 07, 2011 1:03 pm
Location: UK

Re: api createTestCase

Post by Rorke »

Do you get much help from this forum?
Please reply as I am trying to decide whether to use TestLink and good support is important to me.
Thanks
Rgds
Simon
Post Reply