Logging console errors(developer tools) in Ranorex

Ask general questions here.
Sanjay
Posts: 3
Joined: Tue Nov 04, 2014 10:55 am

Logging console errors(developer tools) in Ranorex

Post by Sanjay » Fri Jun 12, 2015 9:54 am

Hi there,

Within Ranorex is there a way in logging any console errors that you get in the developer tools (F12) of a browser?

Obviously object recognition would not be able to identify anything within dev tools.

Any help or views would be great.

Many Thanks,

Sanjay

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

Re: Logging console errors(developer tools) in Ranorex

Post by odklizec » Fri Jun 12, 2015 11:46 am

Hi,

I'm afraid, there is no built-in way to do what you want. You will have to create some custom code to extract console errors. Check for example this discussion...
http://www.ranorex.com/forum/catching-j ... t6165.html

I see no problem recognizing F12 console messages in IE, but I don't know about other browsers. I guess you may need to enable some browser-specific accessibility options?
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