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

  • actionParameter
    Type: Object

    An object that provides the parameter for the specified action.

.NET Framework Security

See Also

Reference

BrowserWindow Class

PerformDialogAction Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace

BrowserDialogAction