UITestAction.Comment 属性

 

获取或设置此操作的注释。

命名空间:   Microsoft.VisualStudio.TestTools.UITest.Common
程序集:  Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

语法

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

属性值

Type: System.String

可以使用记录器 UI 设置此属性。录制时,记录器 UI 中会显示用户操作的详细信息。用户可以选择它并添加注释,这会更新此属性。

备注

设置该值会引发 PropertyChanged 事件。

请参阅

PropertyChanged
UITestAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

返回页首