Page 1 of 1

Unable to identify Non GDI element using Ranorex Spy

Posted: Mon Jun 01, 2020 8:29 pm
by ramanaramidi
Hi,

I am unable to identify Non GDI element using ranorex spy using the GDI capture feature. I am able to add the class name to GDI capture list by right clicking on the UI element. But when I track the UI element once again, the element is not captured. Please find the snapshot attached.

Need your support in resolving the issue.


Regards,
Ramana.

Re: Unable to identify Non GDI element using Ranorex Spy

Posted: Tue Jun 02, 2020 7:29 am
by odklizec
Hi,

At first, try to reproduce the problem with most recent 9.3.2.

At next, I'm afraid, this kind of issue is hardly solvable via forum and without seeing the problem (and problematic UI) in action. So, I would suggest to create a support ticket and request a remote session with Ranorex folks, so they can analyze the problem directly on your machine. There is really not much anyone here can do or suggest.

BTW, have you tried it on another computer? I remember problems with certain Infragistic controls discussed here at forum. Basically, the problem is in the implementation of accessibility (or lack of thereof) in these controls. And GDI capture is just a workaround, not a perfect solution. GDI capture feature, is usually a last resort how to extract some texts from ancient apps with obsolete UI and is not recommended to be used in wide scale.

Re: Unable to identify Non GDI element using Ranorex Spy

Posted: Tue Jun 02, 2020 9:12 am
by ramanaramidi
Hi Paval,

Thank s for your reply.

I tried in different machine and observed the same issue. I will get in touch with Ranorex support team.

Thanks,
Ramana.

Re: Unable to identify Non GDI element using Ranorex Spy

Posted: Wed Mar 15, 2023 4:24 pm
by tanujg
Hi ramanaramidi,

I have the same issue for my application. I had to use GDI feature to identify some elements using RawText. Adding my class to GDI makes the NON GDI elements 'not visible' through Ranorex on my application.

Were you able to find any resolution?

Thanks