Share via


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)

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

  • propertyName
    Type: System.String

    The name of the property to associate with the parameter.

See Also

UIObject
CreateAndAddParameter Overload
UITest Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top