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.

UrlToTestAttribute Constructor (String)

 

Initializes a new instance of the UrlToTestAttribute class.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting.Web
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public UrlToTestAttribute(
	string urlToTest
)

Parameters

urlToTest
Type: System.String

The URL to give context to the test.

urlToTest must be in a form that represents a valid URI. This is the page that is requested when the test is run. The test is run in the ASP.NET process with access to this page.

Return to top
Show: