Forum Discussion

pabramowitsch's avatar
pabramowitsch
Occasional Contributor
14 years ago

The same old WPF problem

I've seen this question posted in other forums but no satisfactory answer was given



We have several systems with TestComplete 7.52 installed.



On one system we can "see into" WPF desktop applications and drill down into some of the visual components.



On others. the only thing that can be seen is the MainWindow.  On this machine, the WPF extensions and Open Application extensions have been loaded just like on the working machine.  I can verify that in the project properties  I see the WPF category and the framework elements listed.  I have given names to controls in my application with no luck, Any  attempt to create a keyword recording only records pixel positions in the main window.  Any attempt to "map object from screen" can only see the MainWindow.   If I try to map a simple WPF button on the main window using the cursor method the button cannot be highlighted and I get the message you see attached as an image



What can be different between these machines? 



- Peter

2 Replies