Page 1 of 1

Creating Test Case with Steps

PostPosted: Mon Dec 15, 2014 10:30 pm
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);

Re: Creating Test Case with Steps

PostPosted: Fri Jan 16, 2015 11:25 pm
by fman
Try to contact people that have produced the java client.
Testlink server api is ok.