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: System.String
The name of the declarative Web performance test to include.
- 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
- 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.