Hi everyone,
Can someone provide me with example of API testing with Ranorex.
Link to documentation about testing API using Ranorex will be most appreciated.
I am trying to start some API testing, so I need info in this regard.
Thanks,
Felix.
API testing with Ranorex
Re: API testing with Ranorex
Hi Felix,
Ranorex is primarily a GUI test automation tool, which means there is no out-of-the-box support for API testing. Thanks to its .NET support, you can force it to do whatever you want. But I'm afraid, I don't remember a discussion or Ranorex blog post regarding the API testing. You will definitely have to write a lot of user code to test the API.
Ranorex is primarily a GUI test automation tool, which means there is no out-of-the-box support for API testing. Thanks to its .NET support, you can force it to do whatever you want. But I'm afraid, I don't remember a discussion or Ranorex blog post regarding the API testing. You will definitely have to write a lot of user code to test the API.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: API testing with Ranorex
Hi odklizec,
I want to know how can I start it. What will be the first thing I need to write to be able run API test cases as part of Test Suite.
Thanks,
Felix.
I want to know how can I start it. What will be the first thing I need to write to be able run API test cases as part of Test Suite.
Thanks,
Felix.
Re: API testing with Ranorex
Hi Felix,
I don't really have a clue? It depends of your AUT and the API you need to test. Basically, it should be enough to create a new code module (right click on test case and select "New Code Module" option) and in this module add your API related code. If you need to learn about API testing in general, I would suggest to start with Google search
I don't really have a clue? It depends of your AUT and the API you need to test. Basically, it should be enough to create a new code module (right click on test case and select "New Code Module" option) and in this module add your API related code. If you need to learn about API testing in general, I would suggest to start with Google search

Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: API testing with Ranorex
Hi odklizec,
Thanks for reply.
I found topic on forum that could help a bit:
http://www.ranorex.com/forum/restful-we ... t8413.html
We are using REST-like API, so it should give me an idea how to start
Thanks,
Felix.
Thanks for reply.
I found topic on forum that could help a bit:
http://www.ranorex.com/forum/restful-we ... t8413.html
We are using REST-like API, so it should give me an idea how to start

Thanks,
Felix.
Re: API testing with Ranorex
HI Felix,
OK, nice to see you found something related to your problem
Good luck then!
OK, nice to see you found something related to your problem

Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration