Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Return to top
Show: