I am new to test rail and I have 2 questions
would like to achieve following thing
->getting the content of the sections and tescases (under section)
is there any api call to achieve this??
I was exploring few available methods like (“get_case_fields”) but I am getting error. I am trying to use the call as below-
JSONObject c = (JSONObject) client.sendGet(“get_case_fields”);
Error I have is
Exception in thread “main” java.lang.ClassCastException: org.json.simple.JSONArray cannot be cast to org.json.simple.JSONObject