Share via


UITestControlNotVisibleException Class

Definition

The exception that is thrown when the UI test framework attempts to access a UI element that cannot be seen by the user.

public ref class UITestControlNotVisibleException : Microsoft::VisualStudio::TestTools::UITest::Extension::PlaybackFailureException
[System.Serializable]
public class UITestControlNotVisibleException : Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException
[<System.Serializable>]
type UITestControlNotVisibleException = class
    inherit PlaybackFailureException
Public Class UITestControlNotVisibleException
Inherits PlaybackFailureException
Inheritance
UITestControlNotVisibleException
Attributes

Constructors

UITestControlNotVisibleException()

Initializes a new instance of the UITestControlNotVisibleException class.

UITestControlNotVisibleException(SerializationInfo, StreamingContext)

Initializes a new instance of the UITestControlNotVisibleException class for deserialization.

UITestControlNotVisibleException(String, Exception, String, Object)

Initializes a new instance of the UITestControlNotVisibleException class.

UITestControlNotVisibleException(String, Exception)

Initializes a new instance of the UITestControlNotVisibleException class.

UITestControlNotVisibleException(String, String, Object)

Initializes a new instance of the UITestControlNotVisibleException class.

UITestControlNotVisibleException(String)

Initializes a new instance of the UITestControlNotVisibleException class by using the provided error message.

Properties

Action

Gets or sets the name of the action.

(Inherited from PlaybackFailureException)
BasicMessage

Gets the basic error message.

(Inherited from UITestException)
DefaultMessage

Gets the default message as it is set in configuration.

ErrorInfo

Gets or sets information about the UI test action that caused the exception.

(Inherited from UITestException)
ExceptionSource

Gets or sets the control that is the source of this exception.

(Inherited from UITestException)
HResult

Gets or sets the HRESULT for this exception.

(Inherited from UITestException)
Message

Gets the message that was provided when this exception object was created.

(Inherited from UITestException)
ObjectName

Gets or sets the source object name.

(Inherited from PlaybackFailureException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

[SECURITY CRITICAL] Populates the SerializationInfo by using the provided context information.

(Inherited from PlaybackFailureException)
SetHResult(UInt32)

Sets the corresponding HRESULT for this exception.

(Inherited from UITestException)

Applies to