BrowserWindow.CurrentDocumentWindow Property

Gets the currently active Document Window that is associated with the browser.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property CurrentDocumentWindow As UITestControl
public virtual UITestControl CurrentDocumentWindow { get; }
public:
virtual property UITestControl^ CurrentDocumentWindow {
    UITestControl^ get ();
}
abstract CurrentDocumentWindow : UITestControl
override CurrentDocumentWindow : UITestControl
function get CurrentDocumentWindow () : UITestControl

Property Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The currently active document window.

.NET Framework Security

See Also

Reference

BrowserWindow Class

Microsoft.VisualStudio.TestTools.UITesting Namespace