Export (0) Print
Expand All

UrlToTestAttribute Constructor

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


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.

© 2014 Microsoft