Creating Test Case with Steps

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Creating Test Case with Steps

Postby ssharda » Mon Dec 15, 2014 10:30 pm

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);
TestLink user
Posts: 4
Joined: Thu Sep 19, 2013 9:04 pm

Re: Creating Test Case with Steps

Postby fman » Fri Jan 16, 2015 11:25 pm

Try to contact people that have produced the java client.
Testlink server api is ok.
Member of TestLink Community
Posts: 3090
Joined: Tue Nov 15, 2005 7:19 am

Return to XML-RPC API

Who is online

Users browsing this forum: No registered users and 1 guest