IE 11 - problem with catching JSON via HTTP

Ask general questions here.
satishmohan
Posts: 56
Joined: Wed Jun 10, 2015 4:35 pm

IE 11 - problem with catching JSON via HTTP

Post by satishmohan » Tue Apr 19, 2016 9:31 am

Hello,
I use the latest version of Ranorex and I have a problem with capturing http GET request via ranorex.
I run IE 11, next click F12 button and then I want to click "green arrow" button, to "enable network traffic capturing" in IE, and finally I want to catch JSON in one of GET response. Unfortunately ranorex is not able to record clicking on the green arrow button.
How can I record catching JSON response manually or programmatically with C#?
Thank you in advance.
A.
Attachments
green arrow.png
green arrow.png (9.44 KiB) Viewed 1060 times
json.png
json.png (14.09 KiB) Viewed 1060 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3929
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: IE 11 - problem with catching JSON via HTTP

Post by odklizec » Tue Apr 19, 2016 9:43 am

Hi,

I see no reason why the "green arrow" button could not be recorded? At least it works fine for me? Anyway, you can always track the button via Ranorex Spy and add the mouse click action manually.

As for obtaining JSON responses via C#, I would suggest to check these discussions:
http://www.ranorex.com/search.html?q=json%20response

And you can find many more examples searching for "JSON response C#" via google ;) Basically, you can use any C# sample you find in Ranorex (as long as it's .Net 3.5-4.0 compatible).
Pavel Kudrys
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