Ranorex is not able to detect controls implemented in C++

Ask general questions here.
jara
Posts: 10
Joined: Sun Jan 24, 2010 3:35 pm

Ranorex is not able to detect controls implemented in C++

Post by jara » Thu Apr 29, 2010 1:52 pm

Hi,

When I tried to detect the controls which are implemented in C++ application, Ranorex is not able to detect the controls. Is this an expected behavior, since Ranorex itself is written in C# ?

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

Re: Ranorex is not able to detect controls implemented in C++

Post by Support Team » Thu Apr 29, 2010 2:38 pm

Hi!

Please can you post us a Ranorex Snapshot of your application? So it's easier for use to help your with the issue.
How to create a Ranorex Snapshot:
http://www.ranorex.com/support/user-gui ... html#c2072

Regards,
Peter
Ranorex Support Team

jara
Posts: 10
Joined: Sun Jan 24, 2010 3:35 pm

Re: Ranorex is not able to detect controls implemented in C++

Post by jara » Fri Apr 30, 2010 7:02 am

Please find the attached snapshot file,
The buttons inside the table are not getting detected by Ranorex.

Thanks,
Jayalakshmi,
Cypress SemiConductors.
You do not have the required permissions to view the files attached to this post.

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

Re: Ranorex is not able to detect controls implemented in C++

Post by Support Team » Fri Apr 30, 2010 11:20 am

We identified this to be a limitation of the ListView control handling. Ranorex currently does not recognize child controls of ListView32 windows. We will fix this bug in the next minor release V2.3.1!

Thanks for reporting this issue!

Regards,
Alex
Ranorex Support Team

jara
Posts: 10
Joined: Sun Jan 24, 2010 3:35 pm

Re: Ranorex is not able to detect controls implemented in C++

Post by jara » Tue May 04, 2010 5:45 am

Thanks for your reply.

Is there any other way to automate the MFC control(button) implemented in C++ which is under listview ? Say by setting the AccessibleName and AccessibleRole ?

I'm not able to find such an option available in MFC. Any help on this would be great.

Thanks,
Jayalakshmi.

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

Re: Ranorex is not able to detect controls implemented in C++

Post by Support Team » Tue May 04, 2010 12:30 pm

Hi!

No sorry there is no other way to handle this issue. But we plan to release the Ranorex Version 2.3.1 by the end of this week.

Regards,
Peter
Ranorex Support Team

jara
Posts: 10
Joined: Sun Jan 24, 2010 3:35 pm

Re: Ranorex is not able to detect controls implemented in C++

Post by jara » Wed May 12, 2010 8:27 am

I examined in 2.3.1 version and found that Ranorex is able to recognize child controls embedded in ListView32.

Thank You peter.