Im trying to automate updating the Zephyr test case status to PASS/FAIL
Can someone please help me to figure out how to get the field names of Test Cycle/Status/Version of a particular Test case??
@Bibek Behera - Thanks for the response but unfortunately i'm unable to access this page :(
Looks like admin access needed. Is it possible to paste the content here?
You should pick any execution on your instance and go to the execution page. There you should be able to get the IDs in the URL. I am just adding a sample from my setup.
@Bibek Behera - Thank you.
Actually following is the way i would like to update my test case
Sample code:
Issue issue = jira.getIssue("TA-1"); (here jira is an object of JiraClient)
issue.addComment("");
issue.createSubtask();
If you see i could able to access all the fields like commenting on the test case(TA-1), creating a sub-task for the same and etc
But here i dint find any relevant method to make my test execution status to change. I don't want to use the rest api calls to make this possible.
Any suggestions please?
With out using the ZAPIs it would not be possible as the execution details are plugin specific, which can't be assessed via JIRA's native methods.
-Bibek
@Bibek_Behera - Yes, understood now. I'm very new to API testing. Ill try to explore on the same.
If you can share any sample code on this will really helps me.
Thank you for your time.