Hi,
I am using Ranorex for testing an Windows Forms application containing WPF UI elements (Ranorex 5.2.0, Windows 7 SP1, .NET 4.5). Ranorex Spy cannot recognize popups opened by WPF UI elements contained in a Windows Forms element host. I have created a minimal example showing the behavior (see attachment).
Reproduce steps:
- open Ranorex Spy
- open WindowsFormsApplication1.exe
- click button "Toggle"
- hover mouse pointer over popup button
- press Ctrl+Win
-> no button recognized
- hover mouse pointer over toggle button
-> toggle button recognized
- open WpfApplication1.exe
- click toggle button
- hover mouse pointer over popup button
- press Ctrl+Win
-> popup button is recognized
The WPF code is almost the same. The only difference is that one time it is a Windows Forms application hosting the WPF UI and the second time its pure WPF.
Please kindly advice on how to fix this.
Thanks.
Jens
WPF popup in a WF ElementHost not recognized
WPF popup in a WF ElementHost not recognized
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: WPF popup in a WF ElementHost not recognized
Hi Jens,
Thanks for sharing the sample app, this will help us to analyze the issue !
We will get back to you as soon as we now more why this cannot be identified.
Thanks,
Markus
Thanks for sharing the sample app, this will help us to analyze the issue !
We will get back to you as soon as we now more why this cannot be identified.
Thanks,
Markus
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: WPF popup in a WF ElementHost not recognized
Hi Jens,
We analyzed the issue and were able to reproduce it. I have good news, this should be fixed with our next bug fix release which would be 5.2.2.
Thanks for reporting this issue!
Regards,
Markus
We analyzed the issue and were able to reproduce it. I have good news, this should be fixed with our next bug fix release which would be 5.2.2.
Thanks for reporting this issue!
Regards,
Markus
Re: WPF popup in a WF ElementHost not recognized
Hi Markus,
This is good news. Any idea on the timeframe for version 5.2.2?
Regards,
Jens
This is good news. Any idea on the timeframe for version 5.2.2?
Regards,
Jens
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: WPF popup in a WF ElementHost not recognized
Hi Jens,
I am afraid I cannot give you a timeframe yet.
Regards,
Markus
I am afraid I cannot give you a timeframe yet.
Regards,
Markus