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)
Syntax
'Declaration
Public Sub New ( _
    urlToTest As String _
)
public UrlToTestAttribute(
    string urlToTest
)
public:
UrlToTestAttribute(
    String^ urlToTest
)
new : 
        urlToTest:string -> UrlToTestAttribute
public function UrlToTestAttribute(
    urlToTest : String
)
Parameters
- urlToTest 
 Type: String- The URL to give context to the test. 
Remarks
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.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UnitTesting.Web Namespace