I am able to update test cases in Test rail.But I now want to add result of individual steps against a test case.
Can you please let me know ,as how should I achieve that?
As for example say Test case ID1234 has four steps.
I want to update the steps as Pass,Pass,Fail,Pass.How to do that.
I went through the forum and did this
List steps = new ArrayList(); Map step1 = new HashMap(); step1.put("status_id", new Integer(1)); step1.put("content", "Steps content .. "); Map step2 = new HashMap(); step2.put("status_id", new Integer(1)); step2.put("content", "Steps content .. "); steps.add(step1); steps.add(step2); data.put("custom_steps_separated", steps); JSONObject r1 = (JSONObject) client.sendPost("add_result/1234", data);
But this is not updating the Test case