BrowserAction Constructor (UITechnologyElement, BrowserActionType)
Initializes a new instance of the BrowserAction class for XML serialization or deserialization.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub New ( _
uiElement As UITechnologyElement, _
actionType As BrowserActionType _
)
public BrowserAction(
UITechnologyElement uiElement,
BrowserActionType actionType
)
public:
BrowserAction(
UITechnologyElement^ uiElement,
BrowserActionType actionType
)
new :
uiElement:UITechnologyElement *
actionType:BrowserActionType -> BrowserAction
public function BrowserAction(
uiElement : UITechnologyElement,
actionType : BrowserActionType
)
Parameters
uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementA UITechnologyElement object.
actionType
Type: Microsoft.VisualStudio.TestTools.UITest.Common.BrowserActionTypeA member of the BrowserActionType enumeration.
.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.