MFC Feature Pack and Ranorex

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

MFC Feature Pack and Ranorex

Post by atom » Wed Mar 24, 2010 1:42 pm

Hiya

Our AUT GUI is built with menu components from Microsoft MFC Feature Pack 2008
However Ranorex doesnt see these controls
Will support be added in the future?

Regards

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

Re: MFC Feature Pack and Ranorex

Post by Support Team » Thu Mar 25, 2010 7:34 pm

From what I know, Ranorex does see the individual controls, but often can't recognize any elements inside them. For example, Ranorex recognizes toolbars and ribbon groups, but not the individual toolbar items or checkboxes inside a ribbon.

IMHO Microsoft did not actually make an automation vendor's job easier with that MFC Feature Pack release. They spared MSAA support all but completely and their controls do not react properly to standard window messages, either. If you know a way to enable MSAA support for those controls (like all former MFC controls had), object recognition would be much better :wink:

I added a feature request to improve support for MFC Feature Pack 2008 controls to our issue database.
:?: We have not got any other requests for those MFC controls, yet. So, if you read this forum post and you want Ranorex to add better support for those controls, please post a short request to this topic! :!:

Regards,
Alex
Ranorex Support Team
.
Image

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

Re: MFC Feature Pack and Ranorex

Post by atom » Fri Mar 26, 2010 10:11 am

Also bear in mind your competitor "Test Complete" has released a version with support for these controls

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

Re: MFC Feature Pack and Ranorex

Post by Support Team » Fri Mar 26, 2010 12:03 pm

atom wrote:Also bear in mind your competitor "Test Complete" has released a version with support for these controls
Well, they claim to, but actually their object recognition is not better than Ranorex', rather the contrary (e.g. the don't recognize tree items, but Ranorex does). As far as I know, what you can do with TestComplete, though, is accessing some internal variables in the MFC controls. That might help for white box testing.

Regards,
Alex
Ranorex Support Team
.
Image

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

Re: MFC Feature Pack and Ranorex

Post by atom » Fri Mar 26, 2010 12:51 pm

Yes true, seems microsoft forgot MSAA for these controls :(
For us we are using the toolbars, menu's from this library, and towards the end of the year the ribbon bar too

In terms of ranorex roadmaps, is there a user voting system whereby we can vote on what new features should be implemented?

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: MFC Feature Pack and Ranorex

Post by Ciege » Fri Mar 26, 2010 4:20 pm

Once, long ago, in a test automation tool far far away (Rational Robot) they actually included a component that while in the testing phase you could compile into your AUT. Robot could then interact with that component who in turn would communicate with the AUT under the covers to return information about the AUT that MFC hid.
I'm not advocating that solution as it was a painful process to get development to include that in a project and usually the first thing to get blamed for a bug (since everyone knows development never has any bugs!)... But it did the job when needed...
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

dbo
Posts: 1
Joined: Fri Apr 09, 2010 6:59 am

Re: MFC Feature Pack and Ranorex

Post by dbo » Fri Apr 09, 2010 7:03 am

Our main applications that we have to test are all using the ribbonstyle. For us it would be really important that Ranorex will support all of this elements.

Liam
Posts: 16
Joined: Wed Mar 31, 2010 7:45 am

Re: MFC Feature Pack and Ranorex

Post by Liam » Fri Jul 15, 2011 10:31 am

Currently our AUT is changing to use menu components from Microsoft MFC Feature Pack 2008. Does Ranorex plan to support this in the near future?

Thanks...
Last edited by Liam on Tue Aug 02, 2011 9:13 am, edited 1 time in total.

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

Re: MFC Feature Pack and Ranorex

Post by atom » Fri Jul 15, 2011 10:51 am

Hiya,

Our developers managed to expose the MFC Feature Pack ribbon bar control to MSAA identification
Works quite well...
Can't really tell you how they did it - but maybe your developers could do the same

Cheers

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

Re: MFC Feature Pack and Ranorex

Post by Support Team » Sat Jul 16, 2011 2:38 pm

atom wrote:Our developers managed to expose the MFC Feature Pack ribbon bar control to MSAA identification
Could you be so kind and ask your developers on how they exposed MSAA for your MFC Feature Pack controls, please? Would be interesting to know whether there is an easy way to do that. That could be helpful to a lot of people in the Ranorex community. :)

Regards,
Alex
Ranorex Team
.
Image