BrowserWindow.PerformDialogAction Method (BrowserDialogAction, Object)
Searches for a scripted Web dialog and performs the specified action by using the provided parameter value.
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, _
actionParameter As Object _
)
public virtual void PerformDialogAction(
BrowserDialogAction actionType,
Object actionParameter
)
public:
virtual void PerformDialogAction(
BrowserDialogAction actionType,
Object^ actionParameter
)
abstract PerformDialogAction :
actionType:BrowserDialogAction *
actionParameter:Object -> unit
override PerformDialogAction :
actionType:BrowserDialogAction *
actionParameter:Object -> unit
public function PerformDialogAction(
actionType : BrowserDialogAction,
actionParameter : Object
)
Parameters
actionType
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserDialogActionA BrowserDialogAction object.
actionParameter
Type: ObjectAn object that provides the parameter for the specified action.
.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.