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
childWebTest
Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestThe WebTest object to call from the current coded Web performance test.
inheritWebTestSettings
Type: BooleanIf 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.