Page 1 of 1

Grid identification on a Delphi app

Posted: Mon Jun 05, 2017 9:21 pm
by carlosmaia
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

Re: Grid identification on a Delphi app

Posted: Tue Jun 06, 2017 8:14 am
by odklizec
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

Re: Grid identification on a Delphi app

Posted: Tue Jun 06, 2017 6:16 pm
by carlosmaia
Hi odklizec,

Now Ranorex is identifying the object!

Thank you!
Carlos