Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
SimpleTextBlock's Text property not appearing in UI Automation
posted

I'm using a SimpleTextBlock (but not in a xamDataGrid) and when I use Coded UI Test Builder to the find the control, the "DisplayText" property in CUI Test Builder comes up with an empty string instead of what it should contain, the "Text" property of the SimpleTextBlock. If I use UI Spy in place of Coded UI Test Builder, a similar thing happens, but in UI Spy, the property that is not populated is called "Name".

 

The SimpleTextBlocks were previously TextBlocks, and the automation worked correctly.

 

What does it take to get this to work again using SimpleTextBlocks?

 

Parents
No Data
Reply
  • 16495
    Offline posted

    Hello Brian,

     

    Thank you for your post.


     

    I have been looking into it, but it seems like I am missing something about your scenario, so if this is still an issue for you, could you please send me, an isolated sample project, where this is reproduced, so I can investigate it further for you.

     

    Looking forward to hearing from you.

Children