Export (0) Print
Expand All

UITest.CreateAndAddParameter Method (UIObject, String, String)

Parameterizes an action and creates the parameter by using the provided UI test object, property name, and parameter name.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

public void CreateAndAddParameter(
	UIObject uiObject,
	string propertyName,
	string parameterName
)

Parameters

uiObject
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObject
A UIObject.
propertyName
Type: System.String
The name of the property to associate with the parameter.
parameterName
Type: System.String
The name of the parameter.

Community Additions

ADD
Show:
© 2015 Microsoft