Issue Mapping "Hide" Button in AvalonDock Windows (Xceed.Wpf.AvalonDock.dll 3.1.0.0)
Hi everyone,
I’m automating a WPF .NET desktop application using TestComplete (JavaScript) and running into an issue with mapping docked windows. The application uses Xceed.Wpf.AvalonDock.dll (version 3.1.0.0) to manage floating and docked panels, which can be resized, moved, or hidden.
The Problem:
-I’ve been able to map most elements in the application without issues. However, elements inside a docked window change their mapping when the window is resized or moved (e.g., due to conflicts with other docked panels).
-To avoid this, I want to automate closing the docked windows before running my tests.
-The problem is that I cannot seem to map or interact with the "Hide" button (usually an "X" or collapse icon) of these docked windows in TestComplete.
-OCR is not an option as I need the tests to run offline.
Is there a known compatibility issue between TestComplete and Xceed.Wpf.AvalonDock.dll?
Are there alternative ways (UI Automation, MSAA, etc.) to close these docked windows?