I am trying to automate testing of desktop application.However,I couldn't figure out how to close modal dialog that blocks main window.
Up to now ,
I tried to grab object with xpath provided by WinAppDriverUIRecorder
I tried to find by modal's class name
I tried to locate root element and send escape key.
I tried to find pane by name
None of those solutions have worked.Any idea ?
Thanks in advance
Tools and Packages Versions
.Net Framework 4.5.2
WinAppDriver v1.2.1
Appium.WebDriver 4.4.0
Selenium.WebDriver 3.141.0