Dela via


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

Parameters

  • inheritWebTestSettings
    Type: System.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