Поделиться через


WebTestResultPage Class

Retrieves a top-level page result.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultUnit
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultPage

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class WebTestResultPage _
    Inherits WebTestResultUnit _
    Implements ICloneable
[SerializableAttribute]
public class WebTestResultPage : WebTestResultUnit, 
    ICloneable
[SerializableAttribute]
public ref class WebTestResultPage : public WebTestResultUnit, 
    ICloneable
[<SerializableAttribute>]
type WebTestResultPage =  
    class
        inherit WebTestResultUnit
        interface ICloneable
    end
public class WebTestResultPage extends WebTestResultUnit implements ICloneable

The WebTestResultPage type exposes the following members.

Properties

  Name Description
Public property DeclarativeWebTestItemId Gets or sets the ID of this request in a declarative test. (Inherited from WebTestResultUnit.)
Public property IsCompleted Gets a Boolean value that indicates whether the result status is Completed. (Inherited from WebTestResultUnit.)
Public property IsSkipped Gets a Boolean value that indicates whether this request was skipped. (Inherited from WebTestResultUnit.)
Public property Passed Gets the Boolean value that indicates of whether the Web performance test passed. (Overrides WebTestResultUnit.Passed.)
Public property RedirectedPages Gets or sets the list of redirected pages.
Public property RequestResult Gets or sets the result of the request.
Public property ResultStatus Gets or sets the WebTestResultStatus of this page or request. (Inherited from WebTestResultUnit.)
Public property SourceWebTestId Gets or sets the ID of the Web performance test. (Inherited from WebTestResultUnit.)

Top

Methods

  Name Description
Public method Clone Creates a new object that is a copy of the current instance. (Overrides WebTestResultUnit.Clone().)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetRequestSize Returns the length of the request. (Overrides WebTestResultUnit.GetRequestSize().)
Public method GetResponseSize Returns the length of the response, in bytes. (Overrides WebTestResultUnit.GetResponseSize().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.WebTesting Namespace