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

ui spy find text but cannot find it with ui automation element

$
0
0

I want to read text out of a custom label in a mail item form of Outlook 2010.

With the normal mailItem.Userproperties or ItemProperties, the Label does'nt come.

So I'm trying to get the text with AutomationElement in c#.The text is visible, I can read the text, but may be an other Textbox/Label lay over it with transperancy. In Outlook the Label has a Name.

I started UI Spy.exe and the software show me the text like this:

Identification:

...

 Name: ""

ControlPaterns

 Value

   Value: SearchedText

I tried a lot to get the SearchedText with the AutomationElement, but nothing can find the element, or get the SearchedText.


Viewing all articles
Browse latest Browse all 585

Trending Articles



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