hooligan495
3 months agoNew Contributor
TestComplete and WPF
I've a .net 8 WPF project where I have the following steps to build it:
- Compile the app
- use donet publish
- Create an msi
When I compile and run the app TestComplete recognizes my app as a WPF application and creates proper WPFObjects(control.NameProperty) that I can use for my test scripts.
However when the dotnet publish command is run on my app (to create a self contained folder) Testcomplete no longer recognizes my app as being an accepted window (Windows.UI.Core.CoreWindow. So I can't even use test complete's spy to walk teh object tree.
In my project if I check the * for accepted windows Spy will now walk the object tree but they are all UIAObjects not WPFObjects. Is there a way to tell TEstComplete that this truly is a WPF app?