Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DeclarativeWebTestSerializer::Open Method (String^)

 

Opens a Web performance test file.

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

public:
static DeclarativeWebTest^ Open(
	String^ fileName
)

Parameters

fileName
Type: System::String^

The path to and name of a Web performance test file.

Return Value

Type: Microsoft.VisualStudio.TestTools.WebTesting::DeclarativeWebTest^

A declarative Web performance test.

Legacy Code Example

This example shows how to open a declarative Web performance test by opening the .webtest file that contains it.

This code example is part of a larger example that is provided for the DeclarativeWebTestSerializer class.

//Open the Web performance test
DeclarativeWebTest decWebTest = DeclarativeWebTestSerializer.Open(@"c:\test.webtest");
Return to top
Show: