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.

WebTestRequest::Url Property

 

Gets or sets the URL to the resource that is used for the request.

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

public:
property String^ Url {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

A URL value.

If the setter string can be made into a valid uniform resource identifier (URI) object, this sets the scheme, authority, and path segment of the URI. If query string parameters occur, they will not be added to the Url property. The query string parameters will replace the value in the QueryStringParameters property.

If the setter string cannot be made into a valid URI object, the URL is used as passed.

Return to top
Show: