Unable to identify controls that are designed in C++

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
nanaware
Posts: 3
Joined: Wed Feb 04, 2015 5:52 am

Unable to identify controls that are designed in C++

Post by nanaware » Wed Feb 04, 2015 7:39 am

Hi,

I am currently using Ranorex 5.0 for a product which is used for computer-aided design, simulation etc.
The application is developed in C++.
Many graphical controls and the graphics designing area elements cannot be identified by Ranorex.
We tried using GDI capturing but its not working.
Please suggest us how to proceed.

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Unable to identify controls that are designed in C++

Post by krstcs » Wed Feb 04, 2015 3:07 pm

What rendering technology is being used to display these areas and elements of the application?

For example, DirectX/DirectDraw/OpenGL rendering areas are not supported by Ranorex because these technologies do not implement Accessibility. They are technically just pictures that are redrawn very rapidly as they change.

(One could argue that the whole display is a big picture that changes rapidly, but for this case I am talking specifically about the rendering technologies, not the graphics representation.)
Shortcuts usually aren't...

nanaware
Posts: 3
Joined: Wed Feb 04, 2015 5:52 am

Re: Unable to identify controls that are designed in C++

Post by nanaware » Thu Feb 05, 2015 1:28 pm

It uses KeyShot rendering technology.

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

Re: Unable to identify controls that are designed in C++

Post by Support Team » Fri Feb 06, 2015 2:29 pm

Hi,

As I know KeyShot is just used to create advanced 3D and 2D images and images cannot be identified as "real" elements.
In case the elements cannot be identified with GDI you could also implement accessibility for your C++ classes to allow Ranorex identifying your elements.
Beside that there is just the way to use the image-based features of Ranorex or to use coordinate based actions.

Regards,
Markus
.
Image

nanaware
Posts: 3
Joined: Wed Feb 04, 2015 5:52 am

Re: Unable to identify controls that are designed in C++

Post by nanaware » Tue Feb 10, 2015 1:31 pm

Thanks Markus for the reply.
Will check out the option, I hope that will work.

Thanks.