Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

Find Element Issue

$
0
0

I am trying to find a list item from a Windows Forms list using UI Automation. In some cases it fails and I don't understand why.

Failed cases:

  • Searching with AutomationElement.FindFirst from the same application
  • Searching with TreeWalker.RawViewWalker from the same application

Passed cases:

  • The above, but from a different, smaller test application
  • Inspect Objects tool

With other WPF and Windows Forms controls I had no problem. Can you please help me understand what happens?


Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>