Grid identification on a Delphi app

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
carlosmaia
Posts: 2
Joined: Mon Jun 05, 2017 8:11 pm

Grid identification on a Delphi app

Post by carlosmaia » Mon Jun 05, 2017 9:21 pm

Hi,

I'm having trouble in object identification on a Delphi application. I'm trying to get a Grid object properties but Ranorex only identifies it as a image. The object name is 'grAdvAssist' as you can see in the screenshots.

How can I use the Grid content for my tests? How can I see the grid lines?

The first screenshot is the Delphi application and the second the Ranorex.

I'm using Ranorex 7.0.1 and Windows 10.

Thanks
Carlos
Attachments
grid-ccaa-2.png
Ranorex identification
grid-ccaa-2.png (116.9 KiB) Viewed 796 times
grid-ccaa-1.png
Delphi application
grid-ccaa-1.png (120.47 KiB) Viewed 796 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3922
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Grid identification on a Delphi app

Post by odklizec » Tue Jun 06, 2017 8:14 am

Hi,

At first, please make sure there is enabled Delphi support in Ranorex settings (default is enabled). You can find this option in Settings >> Plugins tab >> Win32 section.

Unfortunately, Ranorex supports for Delphi (due to its somewhat obsolete state) is basic and some things like grids (especially 3rd party custom components), may not be fully supported. In your case, your best hope is GDI Capture List, which may help you to extract some data from grid.

Unfortunately, working with GDI Raw texts is not so easy and processing/validating large grids full of data may be a pain in the... ;) So check this User Guide chapter and give it a try:
https://www.ranorex.com/support/user-gu ... tions.html
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

carlosmaia
Posts: 2
Joined: Mon Jun 05, 2017 8:11 pm

Re: Grid identification on a Delphi app

Post by carlosmaia » Tue Jun 06, 2017 6:16 pm

Hi odklizec,

Now Ranorex is identifying the object!

Thank you!
Carlos