Hiya,
We have a menu bar that is not recognisable to Ranorex Spy
However "Inspect" tool from Microsoft SDK recognises the menu items fine as IOleWindow objects
Not an expert here, but why cant ranorex find such items?
Thanks,
Clayton
IOleWindow
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: IOleWindow
Hi,
Can you send us a sample with the specific menu bar because this will allow us analyzing the issue or at least a Ranorex Snapshot file of it, a screen shot of the Inspect tool, when the specific menu bar is shown, and more general information about the menu bar?
It is a custom control, which technology is used, which Ranorex version are you using, which Os and Bit version, ...?
Following link will show you how to generate a snapshot file:
http://www.ranorex.com/support/user-gui ... files.html
Thanks in advance!
Regards,
Markus
Ranorex Support Team
Can you send us a sample with the specific menu bar because this will allow us analyzing the issue or at least a Ranorex Snapshot file of it, a screen shot of the Inspect tool, when the specific menu bar is shown, and more general information about the menu bar?
It is a custom control, which technology is used, which Ranorex version are you using, which Os and Bit version, ...?
Following link will show you how to generate a snapshot file:
http://www.ranorex.com/support/user-gui ... files.html
Thanks in advance!
Regards,
Markus
Ranorex Support Team
Re: IOleWindow
OS = Windows 7 x64
Application = x86
Ranorex Version = 3.2
Ranorex Spy = x86
Application = x86
Ranorex Version = 3.2
Ranorex Spy = x86
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: IOleWindow
It looks like the MSAA implementation of that toolbar is broken. The toolbar does not return any children that's why Ranorex Spy cannot get from the toolbar to the individual menu items on the toolbar.
I guess that the "FromPoint" functionality is correctly implemented, that's why Inspect shows the individual items. Ranorex Spy does not show the menu items, since there is no way to get to the items at runtime with the toolbar having no children. (Ranorex Spy cannot get to the menu items using the element tree.)
In other words: The top-down (FromPoint) MSAA implementation of the toolbar looks OK, but the bottom-up structure/implementation does not, since the toolbar does not have any children.
It's just a guess without having access to the application, but we have seen such incorrect MSAA implementation with some toolbars already
Regards,
Alex
Ranorex Team
I guess that the "FromPoint" functionality is correctly implemented, that's why Inspect shows the individual items. Ranorex Spy does not show the menu items, since there is no way to get to the items at runtime with the toolbar having no children. (Ranorex Spy cannot get to the menu items using the element tree.)
In other words: The top-down (FromPoint) MSAA implementation of the toolbar looks OK, but the bottom-up structure/implementation does not, since the toolbar does not have any children.
It's just a guess without having access to the application, but we have seen such incorrect MSAA implementation with some toolbars already
Regards,
Alex
Ranorex Team