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.
TAdvStringGrid does not identify checkbox in cell
-
- Posts: 7
- Joined: Tue Jun 22, 2021 10:52 am
TAdvStringGrid does not identify checkbox in cell
You do not have the required permissions to view the files attached to this post.
Re: TAdvStringGrid does not identify checkbox in cell
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/
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 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
-
- Posts: 7
- Joined: Tue Jun 22, 2021 10:52 am
Re: TAdvStringGrid does not identify checkbox in cell
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!
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!