Forum Discussion

guillaume's avatar
guillaume
Contributor
13 years ago

TestComplete support for WinFormHost and WinFormsAdapter

Hello.



Our dev team is switching from WinForms objects to WPF.



So far, they are still referring to WinForms object in the application.
In order to use those components, they are using WinFormHost and
WinFormsAdapter. I am not used to those components and unfortunately,
from a TestComplete point of view, I can see that this is not something
very practical to use.



In TestComplete ObjectBrowser, the WinFormAdapter is listed as a child
of the application main window while the host is actually correctly
located in the hierarchy. See attachment for a better idea of what I
talking about.



I would like to know if their anything I can do from TestComplete to somehow link the Adapter to the Host in the ObjectBrowser.

If this in not the case, does anyone have any idea about how devs can
use WinFormObjects within WPF components without leading to a mess in
TestComplete.



Thanks in advance.



Guillaume.