Export (0) Print
Expand All

WebTestRequest.ExpectedResponseUrl Property

Gets or sets the expected URL of the response. When a redirect is expected, this URL might differ from the request URL.

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

public string ExpectedResponseUrl { get; set; }

Property Value

Type: System.String

The value of ExpectedResponseURL is used by the "Response URL" validation rule. The "Response URL" validation rule validates that, during the Web test run, redirects occur if and only if they are expected.

Community Additions

ADD
Show:
© 2014 Microsoft