Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
public void CreateAndAddParameter(
UIObject uiObject,
string propertyName,
string parameterName
)
public:
void CreateAndAddParameter(
UIObject^ uiObject,
String^ propertyName,
String^ parameterName
)
member CreateAndAddParameter :
uiObject:UIObject *
propertyName:string *
parameterName:string -> unit
Public Sub CreateAndAddParameter (
uiObject As UIObject,
propertyName As String,
parameterName As String
)
Parameters
uiObject
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObjectA UIObject.
propertyName
Type: System.StringThe name of the property to associate with the parameter.
parameterName
Type: System.StringThe name of the parameter.
See Also
UIObject
CreateAndAddParameter Overload
UITest Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top