Page 1 of 1

Ranorex and capturing JSON messages

Posted: Fri Nov 10, 2017 10:34 pm
by pradeepbommareddy
We have an AUT which we need to automate with Ranorex, After we login to the page when we click on a link on page based on the user logged in at that point in time will make a restful api call and gets a response back. Depending on the response it will render the page with the values/buttons. What I want to know is If we can capture the json messages we are getting back and verify if the page is rendered correctly with the correct values.

Is there any module or functionality inbuilt in ranorex to capture the JSON messages or make an api call?

Re: Ranorex and capturing JSON messages

Posted: Mon Nov 13, 2017 9:27 am
by odklizec
Hi,

I'm afraid, there is definitely no built-in functionality to capture and process JSON messages in Ranorex. I think your best hope is to google for JSON processing C# sample code and integrate it somehow with your tests?

Re: Ranorex and capturing JSON messages

Posted: Mon Nov 13, 2017 2:37 pm
by krstcs
In addition to what Pavel said, you must understand that Ranorex is only a functional test automation tool and it isn't designed for real-time/stress/load types of testing. It may handle many of those things if you code your own C# functionality to work with it, but it wasn't designed for it, so there may be issues with timing and such that will be difficult to work out.