Cannot identify tree items inside a winform container

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
johnzer
Posts: 16
Joined: Thu Aug 18, 2016 9:27 pm

Cannot identify tree items inside a winform container

Post by johnzer » Mon Sep 26, 2016 2:35 pm

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?
Attachments
Capture.PNG
Capture.PNG (2.72 KiB) Viewed 576 times

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Cannot identify tree items inside a winform container

Post by krstcs » Mon Sep 26, 2016 2:54 pm

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.
Shortcuts usually aren't...

johnzer
Posts: 16
Joined: Thu Aug 18, 2016 9:27 pm

Re: Cannot identify tree items inside a winform container

Post by johnzer » Mon Sep 26, 2016 4:18 pm

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.
Attachments
Snapshot.rxsnp
Snapshot
(132.04 KiB) Downloaded 39 times

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

Re: Cannot identify tree items inside a winform container

Post by odklizec » Tue Sep 27, 2016 7:24 am

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.
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