Is ZAPI compatible with Ranorex?

We are using Ranorex for test automation. We currently use Bamboo to manage our development builds and Zephyr to manually manage our test suites.

 

We are looking for a way to get Ranorex test results to report to our Zephyr test scripts. Is ZAPI the right tool for this?

3 answers

We have begun research on Ranorex to see if it will be a workable solution for our needs and currently use Zephyr, so I would be interested in this as well.

 

@Nyasha Mukonoweshuro - how do you like using Ranorex?

 

Thanks!

Brian

 

HI Nyasha,

Yes, ZAPI is the right tool to achieve this. ZAPI enables access to Zephyr Test data out side JIRA by using any program/script. It can integrate with any other testing tools by implementing RESTful calls via  a program.

For this, you should check how to parse the test results from Ranorex via a code to inject the same to Zephyr for JIRA using ZAPI resources. For more information and technical documentation of ZAPI please access the link https://zephyrdocs.atlassian.net/wiki/display/DEVELOPER/ZAPI.

You can reach out to Zephyr Support by submitting a case at any time seeking information/help implementing ZAPI.

Regards,

Zephyr Support

 

We use the Zapi APIs daily to record automated test results in Zephyr. The documentation for the APIs is lacking but otherwise we have been able to accomplish everything we need to do with the ZAPI apis

Hi Jared,

If you face any issues implementing API's, please submit a case through our support portal https://support.getzephyr.com so that we can help you to accomplish everything you need to do with the ZAPI.

Hello Jared,

Are there any documents you could refer someone to if they wanted to take on this task?  Any Lessons Learned you would be able to share?

Thanks!

Brian

 

Hi Brian,
Here is the ZAPI API documentation:
http://docs.getzephyr.apiary.io/
The best way to go about this is to use Fiddler or Chrome dev tools to find the APIs being called by doing your process manually.
I can tell you quickly what APIs I use in our process then please feel free to ask any questions along the way. If you want I can give you my email.
We use the ZAPI apis and Zephyr for JIRA to record results for our automated UI and automated API tests. Here is the call sequence we use:

  •  GET https://{JIRA server}/rest/auth/latest/session (log into Jira)
  •  POST zapi/latest/cycle (Create Test Cycle)
  •  POST zapi/latest/execution/addTestsToCycle/ (Add Test Cases to Test Cycle)
  •  POST zapi/latest/execution (Start Test Cycle Execution)
  • GET zapi/latest/execution/navigator (This call in not in their documentation but when I manually perform what I need to do I see this is called. It simulated pressing the "E" execute button. If this is not called you cannot retrieve the test steps)
  • PUT zapi/latest/execution/{0}/execute (Start Test Issue Execution)
  • GET zapi/latest/stepResult/?expand=executionStatus&executionId={0} (Get Test Step Ids for current test issue)
  • PUT zapi/latest/stepResult/{0} (update test step results for the current test issue)
  • PUT zapi/latest/execution/{0}/execute (update overall status for current Test Issue)

    Let me know if you have any other questions.

 

Thank you Jared!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

138 views 6 8
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you