Update "note" field issue

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

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

Update "note" field issue

Post by sbhardwaj »

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();
rpcClient.setConfig(config);

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);
params.add(executionData);

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


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

Thanks.
Post Reply