Creating Test Case with Steps

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
ssharda
TestLink user
Posts: 4
Joined: Thu Sep 19, 2013 9:04 pm

Creating Test Case with Steps

Post by ssharda »

I'm not able to create a simple test case with Steps using java api. The step parameter only accepts string value which means I can only pass in maybe a single step. However, I need to pass in multiple steps (like a hashmap or arrayList). Kindly assist!!

public Integer createTestCase(
String authorLoginName,
String projectName,
String suiteName,
String testCaseName,
String summary,
String steps,
String expectedResults,
String importance) throws TestLinkAPIException
{
Integer projectID = TestLinkAPIHelper.getProjectID(this, projectName);
Integer suiteID = TestLinkAPIHelper.getSuiteID(this, projectName, suiteName);
return createTestCase(authorLoginName, projectID, suiteID, testCaseName, summary,
steps, expectedResults, null, null, null, null, null, importance);
}
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Creating Test Case with Steps

Post by fman »

Try to contact people that have produced the java client.
Testlink server api is ok.
Post Reply