UITestAction.Comment Property

 

Gets or sets a comment for this action.

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

Syntax

public string Comment { get; set; }
public:
property String^ Comment {
    String^ get();
    void set(String^ value);
}
member Comment : string with get, set
Public Property Comment As String

Property Value

Type: System.String

This property can be set by using the recorder UI. During recording, details of the user actions are displayed in the recorder UI. The user can select it and add a comment, which updates this property.

Remarks

Raises the PropertyChanged event when the value is set.

See Also

PropertyChanged
UITestAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top