api createTestCase

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

api createTestCase

Postby mvd » Fri Jun 17, 2011 7:06 am

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

Postby mvd » Fri Jun 17, 2011 9:51 am

I pass null instead of TestImportance.MEDIUM, then it works!
I tried to pass ExecutionType.AUTOMATED, but the testcase is created as manual.
mvd
TestLink user
 
Posts: 2
Joined: Wed Jun 15, 2011 7:35 am

Re: api createTestCase

Postby Rorke » Wed Jul 20, 2011 3:29 pm

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
Rorke
TestLink user
 
Posts: 6
Joined: Thu Jul 07, 2011 1:03 pm
Location: UK


Return to XML-RPC API



Who is online

Users browsing this forum: No registered users and 1 guest

cron