Ranorex starts to click just below the objects

Ask general questions here.
rastek
Posts: 157
Joined: Wed Aug 06, 2014 12:00 pm

Ranorex starts to click just below the objects

Post by rastek » Wed Jun 24, 2015 8:13 am

I have been facing with this problem for a long time. Ranorex recognizes objects but clicks just below of the objects, that means Ranorex start to click about one inch below the actual object, so actually clicks on a empty place.

Does anybody face this problem ? It really annoys me.

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

Re: Ranorex starts to click just below the objects

Post by odklizec » Wed Jun 24, 2015 8:40 am

Hi,

I've experienced this issue with IE and it was caused by unsupported HTML document version (5.0 in my case). If you are experiencing this problem in HTML, please check the page source and search for this code:

Code: Select all

<META content="IE=5.0000"

I believe the lowest document mode currently supported by Ranorex is 9.0?
Aside changing the document version in HTML source, the only workaround is to set higher Document Mode in IE dev. mode (F12) >> under Emulation tab.
DocumentMode.png
DocumentMode.png (11.23 KiB) Viewed 611 times
Hope this helps?
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

rastek
Posts: 157
Joined: Wed Aug 06, 2014 12:00 pm

Re: Ranorex starts to click just below the objects

Post by rastek » Thu Jun 25, 2015 2:36 pm

Hi odklizec

I see other browers do not have this functionality, and for IE, I can not change this property everytime.

I changed it to 9 in IE (it was 7) and it start to recognize correctly bu still I wonder something

I wonder before I handled this issue playing with browser
restart, uncheck developer mode in extensions, etc etc. So, how it is coming up and disappear when I did not change document mode Ie ?

Another thing, how can it be changing document mode in IE affect other browsers also ?

Thanks,
Rastek.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex starts to click just below the objects

Post by Support Team » Thu Jul 02, 2015 9:23 pm

Hi rastek,

Which version of Ranorex are you using?
Did you already try to update Ranorex to the newest version?
If this also doesn't fix the problem we would need access to your test page or at least a Ranorex Snapshot file.

Regards,
Bernhard
.
Image