Partager via


UrlToTestAttribute.UrlToTest Property

Gets the URL that gives context to the test.

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

Syntax

'Declaration
Public ReadOnly Property UrlToTest As String
public string UrlToTest { get; }
public:
property String^ UrlToTest {
    String^ get ();
}
member UrlToTest : string with get
function get UrlToTest () : String

Property Value

Type: String
A URL string.

.NET Framework Security

See Also

Reference

UrlToTestAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting.Web Namespace

Other Resources

ASP.NET Unit Tests