Share via


WebTest.IncludeWebTest Method (String)

Calls a coded Web performance test from within a coded Web performance test.

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

Syntax

'Declaration
Public Function IncludeWebTest ( _
    webTestName As String _
) As WebTest
public WebTest IncludeWebTest(
    string webTestName
)
public:
WebTest^ IncludeWebTest(
    String^ webTestName
)
member IncludeWebTest : 
        webTestName:string -> WebTest 
public function IncludeWebTest(
    webTestName : String
) : WebTest

Parameters

  • webTestName
    Type: System.String
    The name of the declarative Web performance test to include.

Return Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTest

Remarks

The included Web performance test does not inherit the values of the properties from the parent Web performance test.

.NET Framework Security

See Also

Reference

WebTest Class

IncludeWebTest Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace