TAdvStringGrid does not identify checkbox in cell

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Jean Fetzer
Posts: 7
Joined: Tue Jun 22, 2021 10:52 am

TAdvStringGrid does not identify checkbox in cell

Post by Jean Fetzer » Tue Jul 26, 2022 5:45 pm

Hey!

In the TAdvStringGrid component of TMS it is not possible to identify the checkbox in the cell when checked and unchecked.

Any suggestions to work around this problem?

Grateful for the attention.
You do not have the required permissions to view the files attached to this post.

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

Re: TAdvStringGrid does not identify checkbox in cell

Post by odklizec » Wed Jul 27, 2022 9:13 am

Hi,

Although the TAdvStringGrid Delphi component is supposed to be supported by Ranorex, it seems that the checkbox inside a grid is not? I'm afraid, there is not much you can try. Actually, there are only two options at your side.

Either try to disable the Delphi plugin in Ranorex settings, which switches Ranorex to Delphi-compatibility mode. This may help with recognition of certain Delphi elements. But generally speaking, Delphi plugin should be enabled for optimal recognition performance.

Another thing you can try, aside disabling Delphi options, is to use the GDI Capture. See User guide for more details. But I personally think it will be of no use in this particular case. The GDI Capture usually works best with text-based elements.

So I'm afraid, you will have to contact Ranorex support about this problem. You can contact Ranorex support here: https://www.ranorex.com/support-query/
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

Jean Fetzer
Posts: 7
Joined: Tue Jun 22, 2021 10:52 am

Re: TAdvStringGrid does not identify checkbox in cell

Post by Jean Fetzer » Wed Jul 27, 2022 3:44 pm

Hello Pavel Kudrys!

Thank you for your reply.

I've already tried with GDI capture but no success.

I'm looking at the possibility of comparing an image of the checked and unchecked box, but that wouldn't be the best either.

I will contact Ranorex support.

Thanks for your help!