I am capturing the snapshot of the dialog where my testcase fails using
Unfortunately Ranorex cannot capture the screenshot for one of the dialogs. Instead it is capturing the screenshot of the dialog present behind this one, as if this dialog box is transparent!!
Code: Select all
Following are the details of the UIAutomation section in the "Detail" tab as recorded by Ranorex Spy for this particular dialog.
- ClassName = Window
- ControlType = Window
- FrameworkId = WPF
- IsContentElement = True
- IsControlElement = True
- IsKeyboardFocusable = True
- IsPassword = False
- IsRequiredForForm = False
- LocalizedControlType = window
It was working perfectly initially. But now the window style for this dialog is set to "Null" as we did not want the typical windows border.
Please let me know if this is a known issue and if there is any resolution for the same?