Share via


WebTest.IncludeWebTest Method (String, Boolean)

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, _
    inheritWebTestSettings As Boolean _
) As WebTest
public WebTest IncludeWebTest(
    string webTestName,
    bool inheritWebTestSettings
)
public:
WebTest^ IncludeWebTest(
    String^ webTestName, 
    bool inheritWebTestSettings
)
member IncludeWebTest : 
        webTestName:string * 
        inheritWebTestSettings:bool -> WebTest
public function IncludeWebTest(
    webTestName : String, 
    inheritWebTestSettings : boolean
) : WebTest

Parameters

  • webTestName
    Type: String

    The name of the declarative Web performance test to include.

  • inheritWebTestSettings
    Type: Boolean

    If true, the included Web performance test inherits the values of the properties from the parent Web performance test.

Return Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTest

.NET Framework Security

See Also

Reference

WebTest Class

IncludeWebTest Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace