Spy does not find objects on the toolbar

Bug reports.
Posts: 1
Joined: Tue Oct 22, 2019 10:32 am

Spy does not find objects on the toolbar

Post by vv_trembach » Tue Oct 22, 2019 2:30 pm


Spy does not see the button on the top level, but sees the location of the button on the other tabs of the toolbar.

Form objects are not recognized correctly. The figure shows that the contours of the buttons located on the other tabs of the application are displayed.

The application is written in c#. How can this be fixed?

Help please!


Ranorex Snapshot:

Ranorex xPath of problematic element(s):
/form[@controlname='ClientMainForm']/element[@controlname='ribbonControl']/container[@accessiblename='Lower Ribbon']//button[@accessiblename='_Товарные остатки']

Ranorex version:

OS version:
Windows 7 sp1
(47.46 KiB) Downloaded 23 times
Снимок.PNG (29.39 KiB) Viewed 402 times

Posts: 68
Joined: Wed Jun 29, 2016 1:19 pm
Location: Frankfurt, Germany

Re: Spy does not find objects on the toolbar

Post by dugovic.milan » Wed Oct 23, 2019 5:54 am

Is this a public application? Can we test it? Otherwise, post your Snapshot here.
Ranorex Explorer @DVAG
Support my Ranorex Ideas & Improvements
My current approach: Ranorex 9.2.0

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

Re: Spy does not find objects on the toolbar

Post by odklizec » Wed Oct 23, 2019 7:22 am


This is really weird. Have you tried to spy the toolbar with MS Inspect tool? If MS Inspect sees the same as Ranorex, then it's most probably caused by toolbar implementation. If you check the upper (Quick Access) toolbar, everything seems work as expected. So I really think there is something wrong with the problematic toolbar. Just give it a try with MS Inspect tool.
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