Forum Discussion
jenli
15 years agoContributor
I have used TestComplete to test our WPF application for 4 months.
I occasionally see TestComplete recognize my WPF applications as just Window application.
If your object name for the whole screen is like this:
["Window"]("HwndWrapper[ConsoleUI.exe;;31f7e182-0c0d-4cde-8177-29ca597ba177]", "App", 1), the Testcomplete does not see your application as WPF application. I have increased the "'Method invoke timeout' " to 30000 for my project and it helps a little but does NOT completely resolve this problem.
My puzzle is that I saw this problem even I did not open my Testcomplete project but just started TestComplete first and then started my WPF application manually, then go to Object browser. At this point, I saw TestComplete recognized my WPF appplication as Window Application. From this scenario, this does not relate to the project setting.
I occasionally see TestComplete recognize my WPF applications as just Window application.
If your object name for the whole screen is like this:
["Window"]("HwndWrapper[ConsoleUI.exe;;31f7e182-0c0d-4cde-8177-29ca597ba177]", "App", 1), the Testcomplete does not see your application as WPF application. I have increased the "'Method invoke timeout' " to 30000 for my project and it helps a little but does NOT completely resolve this problem.
My puzzle is that I saw this problem even I did not open my Testcomplete project but just started TestComplete first and then started my WPF application manually, then go to Object browser. At this point, I saw TestComplete recognized my WPF appplication as Window Application. From this scenario, this does not relate to the project setting.
Related Content
- 10 years ago
- 9 years ago
Recent Discussions
- 3 days ago
- 9 days ago
- 12 days ago