Page 1 of 1

API testing with Ranorex

Posted: Tue May 03, 2016 7:24 am
by FelixK98
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.

Re: API testing with Ranorex

Posted: Tue May 03, 2016 7:43 am
by odklizec
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.

Re: API testing with Ranorex

Posted: Tue May 03, 2016 8:13 am
by FelixK98
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.

Re: API testing with Ranorex

Posted: Tue May 03, 2016 8:19 am
by odklizec
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 ;)

Re: API testing with Ranorex

Posted: Wed May 04, 2016 1:32 am
by FelixK98
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 :D

Thanks,
Felix.

Re: API testing with Ranorex

Posted: Wed May 04, 2016 7:23 am
by odklizec
HI Felix,

OK, nice to see you found something related to your problem ;) Good luck then!