WebTest.AddCommentToResult Method

Adds a comment to the Web test result following the most recently completed Web test request, transaction, or included Web test.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Sub AddCommentToResult ( _
    comment As String _
)
'Usage
Dim instance As WebTest 
Dim comment As String

instance.AddCommentToResult(comment)
public void AddCommentToResult(
    string comment
)
public:
void AddCommentToResult(
    String^ comment
)
public function AddCommentToResult(
    comment : String
)

Parameters

  • comment
    Type: System.String

    A string that contains the comment text.

.NET Framework Security

See Also

Reference

WebTest Class

WebTest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace