Hi,
I am working with container data panel that has a tree with parent tree-items and child cells. Attached is the image for actual control on screen and its item track in Ranorex Spy.
The parent tree-item contains a checkbox with image attached next to it. But Ranorex Spy does not identify the checkboxes in that tree-item.
The child items are also shown as tree-item and not as child of existing tree-item.
Also attached is the Ranorex snapshot file.
Kindly provide a solution or workaround for the issue
I am using Ranorex version: 9.1 on windows 10
Thank you in advance for your support.
Tree-item with checkbox not identified. Also parent-child hierarchy missing.
Tree-item with checkbox not identified. Also parent-child hierarchy missing.
You do not have the required permissions to view the files attached to this post.
Re: Tree-item with checkbox not identified. Also parent-child hierarchy missing.
Hi,
At first, the snapshot you posted, throws a technology limitation warning: You need to review the reason of this warning and do whatever is suggested to fix the source of this warning. This is also most probably a reason of your problem.
At next, you are using an outdated Ranorex version. Please update to most recent 9.2.1. It may not fix your issue, anyway, it's not a good idea to stick with an outdated and no longer supported Ranorex version. There were a lot of feature improvements and bug fixes introduced since 9.1.1.
At first, the snapshot you posted, throws a technology limitation warning: You need to review the reason of this warning and do whatever is suggested to fix the source of this warning. This is also most probably a reason of your problem.
At next, you are using an outdated Ranorex version. Please update to most recent 9.2.1. It may not fix your issue, anyway, it's not a good idea to stick with an outdated and no longer supported Ranorex version. There were a lot of feature improvements and bug fixes introduced since 9.1.1.
You do not have the required permissions to view the files attached to this post.
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
Re: Tree-item with checkbox not identified. Also parent-child hierarchy missing.
Hi,
Updated to latest version of Ranorex 9.2.1. Not getting any warning message.
Still the issue is coming that the parent tree-item contains a checkbox with image attached next to it. But Ranorex Spy does not identify the checkboxes in that tree-item. The child items are also shown as tree-item and not as child of existing tree-item.
Updated to latest version of Ranorex 9.2.1. Not getting any warning message.
Still the issue is coming that the parent tree-item contains a checkbox with image attached next to it. But Ranorex Spy does not identify the checkboxes in that tree-item. The child items are also shown as tree-item and not as child of existing tree-item.
You do not have the required permissions to view the files attached to this post.
Re: Tree-item with checkbox not identified. Also parent-child hierarchy missing.
If you're trying to toggle the check state of a tree item, then I've had to calculate coordinates for the checkbox beside a tree item and its associated icon. I then click outside the bounds of the tree node element itself, but there's a Ranorex API for that sort of scenario.
You might also be able to 2x-click the item to toggle the checkbox. Or select it with a single mouse click and then hit a keyboard shortcut like space. Maybe, I don't know, I just look for alternatives to get the checkbox into the state I need. I've certainly used the 2x-click trick recently.
You might also be able to 2x-click the item to toggle the checkbox. Or select it with a single mouse click and then hit a keyboard shortcut like space. Maybe, I don't know, I just look for alternatives to get the checkbox into the state I need. I've certainly used the 2x-click trick recently.
Re: Tree-item with checkbox not identified. Also parent-child hierarchy missing.
Hi,
Agree with with Stub suggested. Double click (or even Spacebar shortcut) on selected cell item could 'check' the checkbox. Eventually, you might try to use SetValue action on TreeNode element, which has Checked attribute. Just try to set the Checked attribute of given element to True.
Agree with with Stub suggested. Double click (or even Spacebar shortcut) on selected cell item could 'check' the checkbox. Eventually, you might try to use SetValue action on TreeNode element, which has Checked attribute. Just try to set the Checked attribute of given element to True.
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