Hello all,
I seem to have encountered a rather perplexing issue. It seems that, while Ranorex is able to identify the container, as shown in the image, it cannot detect any of the items inside at all! I have tried enabling Qt Legacy support as well as MSAA support, and neither approach has worked. Additionally, I have tried to detect the elements using the various tools from the .NET SDK (Such as Inspect), and they haven't been able to detect it either!
Any ideas? Or might it be something with the application?
Cannot identify tree items inside a winform container
Cannot identify tree items inside a winform container
You do not have the required permissions to view the files attached to this post.
Re: Cannot identify tree items inside a winform container
Please always include the following when raising an issue:
FULL Ranorex version (currently only 6.1.0 or 6.0.2 are supported)
Windows version
Technology and technology version of system-under-test
A Ranorex snapshot of each element in question (not a screenshot!) (if applicable)
RanoreXPath of element in question (if applicable)
All of these are important to understanding the problem, but the snapshot is very important for helping determine causes and possible solutions for many issues.
FULL Ranorex version (currently only 6.1.0 or 6.0.2 are supported)
Windows version
Technology and technology version of system-under-test
A Ranorex snapshot of each element in question (not a screenshot!) (if applicable)
RanoreXPath of element in question (if applicable)
All of these are important to understanding the problem, but the snapshot is very important for helping determine causes and possible solutions for many issues.
Shortcuts usually aren't...
Re: Cannot identify tree items inside a winform container
Ranorex Version: 6.1.0
Windows Version: Windows 7 64-bit
Technology Version: .NET Framework 4.0
Let me know if there's anything else that would help.
Windows Version: Windows 7 64-bit
Technology Version: .NET Framework 4.0
Let me know if there's anything else that would help.
You do not have the required permissions to view the files attached to this post.
Re: Cannot identify tree items inside a winform container
Hi,
If MS Inspect don't see the elements, there is not much Ranorex can do about this control. The control in question (Crownwood.DotNetMagic.Controls.TreeControl) is apparently something custom made, with missing/incorrect implementation of accessibility? Therefore, neither Ranorex or MS Inspect can see the items inside the tree control. Probably your only hope is using GDI Capture List or image-based automation.
If MS Inspect don't see the elements, there is not much Ranorex can do about this control. The control in question (Crownwood.DotNetMagic.Controls.TreeControl) is apparently something custom made, with missing/incorrect implementation of accessibility? Therefore, neither Ranorex or MS Inspect can see the items inside the tree control. Probably your only hope is using GDI Capture List or image-based automation.
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