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

UI Automation - Get text from label within a IUIAutomationElement object

$
0
0

I have a specific IUIAutomationElement that I would like to extract some label text from. The IUIAutomationElement has the name " Status ". As you can see, within the Status element, there are a few labels (it looks like three separate labels within. Success, Failed, List Status. I would like to obtain the text in the "Failed" label. I have tried calling some of the Property Accessors for the IUIAutomationElement, but I cannot find how to navigate to the individual text in the "Failed" label. Anyone know a way to do this? I have attached an image to display exactly what I am talking about.
Thanks,

-Jason 


Viewing all articles
Browse latest Browse all 585

Trending Articles



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