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.Save Method (DeclarativeWebTest, String)


Saves a Web performance test file.

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

public static void Save(
	DeclarativeWebTest declarativeWebTest,
	string fileName


Type: Microsoft.VisualStudio.TestTools.WebTesting.DeclarativeWebTest

A declarative Web performance test.

Type: System.String

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

Legacy Code Example

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

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

//Save the Web performance test
DeclarativeWebTestSerializer.Save(decWebTest, @"c:\test.webtest");
Return to top