Duplicates in Ranorex Spy

Ranorex Studio, Spy, Recorder, and Driver.
atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Duplicates in Ranorex Spy

Post by atom » Tue Sep 14, 2010 4:32 pm

Hiya

Ive posted this before, but wanted to re-ask the question
For my AUT all the controls on the window are duplicated twice in ranorex spy
Ive reproduced this with a simple sample app:

Example:
- Create a new windows forms app
- Add a text box to the form
- Set the Accessibility properties
- Compile and run it
- Point ranorex spy to the form
=> Text box is listed twice
=> Once with adapters, Text, Control, Nativewindow
=> Once with adapter, Accessible

Now multiply that to 30 controls on a form, and you have a quite confusing Ranorex Spy view

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Duplicates in Ranorex Spy

Post by Support Team » Wed Sep 15, 2010 2:45 pm

Hi,
atom wrote:Now multiply that to 30 controls on a form, and you have a quite confusing Ranorex Spy view
Sorry but sometimes controls have two adapters, so as in your case. You can access both adapters named "NativeWindow" and "Accessible". We want to add a filter to overcome this issue, but i could be that we are filtering to much and that's also bad. :) Therefore we've added no filter. Sorry for the circumstances but at the moment there is no solution to solve this issue. But there is already an entry in our internal bug-tracking tool. It

Regards,
Peter
Ranorex Team

atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Re: Duplicates in Ranorex Spy

Post by atom » Wed Sep 15, 2010 5:32 pm

Ok would be great the have that fixed, because for DevExpress windows everything is duplicated twice
in Ranorex Spy - First duplicate with Control adapter, second duplicate with Accessible adapter

It would be great for Spy just to show elements, and then under each element the adapters for it

Thanks