Update "note" field issue

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Update "note" field issue

Postby sbhardwaj » Mon Apr 06, 2009 6:42 pm

I am not able to update "note" field through java API or python client. Here is a snippet of java code I am using.

XmlRpcClient rpcClient;
XmlRpcClientConfigImpl config;

config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL(SERVER_URL));
rpcClient = new XmlRpcClient();

ArrayList<Object> params = new ArrayList<Object>();
Hashtable<String, Object> executionData = new Hashtable<String, Object>();
executionData.put("devKey", DEV_KEY);
executionData.put("tcid", tcid);
executionData.put("tpid", tpid);
executionData.put("status", status);
executionData.put("note", testpath);

Object[] result = (Object[]) rpcClient.execute("tl.reportTCResult", params);

Test case status, buildid etc. all get updated except the note field.

TestLink user
Posts: 1
Joined: Mon Apr 06, 2009 6:31 pm

Return to XML-RPC API

Who is online

Users browsing this forum: No registered users and 1 guest