GDI Tracking unreliable

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
rneuber1
Posts: 5
Joined: Wed Jul 04, 2012 2:14 pm

GDI Tracking unreliable

Post by rneuber1 » Wed Sep 12, 2012 9:24 am

Since I installed Ranorex on my new Windows 7 machine, GDI tracking within our application stopped working.
It works on my development machine which is also Win7, but with various other software installed (Visual Studio, Win SDK, different .NET frameworks and -Addons, .. you name it).

On my newly setup "clean" Win 7, GDI does not detect the elements within a TreeGrid Control.
Are there some special requirements for this technique to work? Where can I tweak my system to enable GDI Tracking?

The AUT is a Web Application with WinForms elements and .NET components. (It is not developed by us, so I don't know further details).

Any ideas?

\Ralf

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

Re: GDI Tracking unreliable

Post by Support Team » Thu Sep 13, 2012 2:32 pm

Hello Ralf,

Please try to add a process name to the GDI capture list by right-clicking on the parent form element of the control in the Ranorex Spy tree.
For further information about adding a class or a process to GDI Capture List please take a look at the section Testing of Legacy Applications in our user guide.

Regards,
Bernhard
Ranorex Support Team
.
Image