BrowserService.PerformDialogAction Method
Executes the provided browser dialog action in the browser by using the provided parameter value.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride Sub PerformDialogAction ( _
browserDialogAction As BrowserDialogAction, _
actionParameter As Object _
)
public abstract void PerformDialogAction(
BrowserDialogAction browserDialogAction,
Object actionParameter
)
public:
virtual void PerformDialogAction(
BrowserDialogAction browserDialogAction,
Object^ actionParameter
) abstract
abstract PerformDialogAction :
browserDialogAction:BrowserDialogAction *
actionParameter:Object -> unit
public abstract function PerformDialogAction(
browserDialogAction : BrowserDialogAction,
actionParameter : Object
)
Parameters
- browserDialogAction
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserDialogAction
The BrowserDialogAction to execute.
- actionParameter
Type: System.Object
The parameter that is required by the 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.