Forum Discussion

komalak11's avatar
komalak11
Contributor
6 years ago

How to access text from Adorner Layer object on an application?

Hi,

 

I am facing issue in the desktop object not being recognised, Object spy is unable to find the text field for the adorner layer. Is there any WPF property which can be accessed to fetch the text value from this layer.

 

Name : WPFObject("AdornerLayer", "", 1)

 

I am working on a .NET desktop application.

 

 

 

 

 

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    Another point is to check if the Project Properties|Project|Open Applications|WPF>Simplified WPF Object Tree option is checked and try to uncheck it.

    Note: Changing the state of this option changes the whole Objects Tree for your application and may result in the necessity to correct your test code.