Hello Everyone,
I am trying to automate a WPF app. This app has multiple modules and each module has multiple tabs that can be docked. But sometimes when I switch tabs, the elements in the tab control do not appear in the UI automation tree. This behavior is random. As you can see in the screen shots, initially I can see the elements in the 'Shipping Schedule' tab. But after I switch between a few tabs and come back to 'Shipping Schedule' again, inspect cannot detect the elements in the tab. When I float and dock the tab again, the elements reappear in the tree sometimes, thisdoesn't work always. Could anybody possibly help me with this issue?
https://social.msdn.microsoft.com/Forums/getfile/1600376
https://social.msdn.microsoft.com/Forums/getfile/1600375