BrowserWindow.PerformDialogAction Method (BrowserDialogAction)
Searches for a scripted Web dialog and performs the specified action.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable Sub PerformDialogAction ( _
actionType As BrowserDialogAction _
)
public virtual void PerformDialogAction(
BrowserDialogAction actionType
)
public:
virtual void PerformDialogAction(
BrowserDialogAction actionType
)
abstract PerformDialogAction :
actionType:BrowserDialogAction -> unit
override PerformDialogAction :
actionType:BrowserDialogAction -> unit
public function PerformDialogAction(
actionType : BrowserDialogAction
)
Parameters
- actionType
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserDialogAction
A BrowserDialogAction object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.