Hi,
In my project, sometimes there are model and non model dialogs which keeps appearing on specific scenarios.
But the problem is sometimes we observed that, they dont get closed and leads to failure in other steps.
How to check whether any dialog / window is foreground?
I checked below options .None seems to work fine.
Manager.Current.ActiveBrowser.IsIEDialog
Manager.Current.ActiveBrowser.IsFrame
Manager.ActiveBrowser.Window.IsForegroundWindow
Can anyone shed light to possible solutions.
Thanks,
VVP