Page 1 of 1

TAdvStringGrid does not identify checkbox in cell

Posted: Tue Jul 26, 2022 5:45 pm
by Jean Fetzer
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.

Re: TAdvStringGrid does not identify checkbox in cell

Posted: Wed Jul 27, 2022 9:13 am
by odklizec
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/

Re: TAdvStringGrid does not identify checkbox in cell

Posted: Wed Jul 27, 2022 3:44 pm
by Jean Fetzer
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!