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.
Initializes a new instance of the ValidationAction class by using the provided element, property name, and property value.
Namespace:   Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
protected ValidationAction(
    UITechnologyElement uiElement,
    string propertyName,
    string expectedValue
)
protected:
ValidationAction(
    UITechnologyElement^ uiElement,
    String^ propertyName,
    String^ expectedValue
)
new : 
        uiElement:UITechnologyElement *
        propertyName:string *
        expectedValue:string -> ValidationAction
Protected Sub New (
    uiElement As UITechnologyElement,
    propertyName As String,
    expectedValue As String
)
Parameters
- uiElement 
 Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement- A UI element that is represented by a UITechnologyElement object. 
- propertyName 
 Type: System.String- The name of the property to validate. 
- expectedValue 
 Type: System.String- The value of the property as a string. 
See Also
UITechnologyElement
ValidationAction Overload
ValidationAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top