Partilhar via


Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

This namespace provides classes for testing user interface functionality, including controls, properties, web browser, and dialog actions.

Classes

  Class Description
Public class ActionNotSupportedOnDisabledControlException Represents an exception that is caused when a control is blocked.
Public class ActionParameter Represents a parameter that is used to set values and to send key strokes in code.
Public class AndCondition Represents an AND condition for a query.
Public class BrowserFactory Provides a base class for browser factories that create BrowserService objects for specific browsers.
Public class BrowserHelper Provides a base class for browser helper methods.
Public class BrowserService Provides methods and properties for automating browser.
Public class ContextEntry Contains the definition of the context part of an action log entry.
Public class DecodingFailedException Represents the exception that is thrown when a decoding operation fails because of an incorrect key file.
Public class Entry Contains the definition of Entry class. This can be used to store a value and its type.
Public class FailedToLaunchApplicationException The exception that is thrown when LaunchApplicationAction fails.
Public class FailedToPerformActionOnBlockedControlException The exception that is thrown when a user interface (UI) control is blocked (for example, a control may be blocked by a modal dialog box).
Public class FailedToPerformActionOnHiddenControlException The exception that is thrown when the EnsureVisibleByScrolling method fails.
Public class FilterCondition
Public class InvalidUITestExtensionPackageException The exception that is thrown when an invalid user interface (UI test) extension package is encountered during recording or playback.
Public class OrderOfInvoke Represents a helper class that generates the order of invocation during recording and maintains the order of invocation during playback.
Public class PlaybackFailureException Represents an exception that is thrown when a UITestAction fails.
Public class PropertyCondition Represents a query condition for a property.
Public class QueryCondition Provides an abstract base class for query conditions.
Public class QueryElement Provides a base class for a query in the user interface (UI) test environment.
Public class SearchConfiguration Provides helper functionality to configure search.
Public class TechnologyNotSupportedException This exception is thrown when test recording or playback is not supported on the application that is tested.
Public class UITechnologyElement The abstract base class for implementing UITest technology element for recorder and playback.
Public class UITechnologyManager Provides an abstract base class for technology managers that is used during test recording and playback.
Public class UITestActionLogEntry Contains the definition of UITestActionLogEntry.
Public class UITestControlNotAvailableException The exception that is thrown when the UI test framework attempts to access a UI element that is no longer available or cannot be accessed.
Public class UITestControlNotFoundException The exception that is thrown when the user interface (UI) test framework attempts to access a UI test control that cannot be found.
Public class UITestControlNotVisibleException The exception that is thrown when the UI test framework attempts to access a UI element that cannot be seen by the user.
Public class UITestException Represents the base class for all UI test exceptions.
Public class UITestExtensionPackage Represents an abstract class that enables the incorporation of third-party testing utilities into the Visual Studio Application Lifecycle Management (ALM) user interface (UI) test environment.
Public class UITestExtensionPackageAttribute Represents the attribute that must be applied to an assembly that implements the UITestExtensionPackage class and helps the assembly to quickly find the extension package. This class cannot be inherited.
Public class UITestJScriptExecutionException The base class for all UITest exceptions.
Public class UITestMediaEventInfo Represents event arguments for action on media controls.
Public class UITestTraceUtility Provides static helper properties and methods for tracing in UI tests and Test Runner.
Public class URLINVOKECOMMANDINFO
Public class ValidationFailedException Represents the exception that is thrown when a ValidationAction fails.
Public class ValueMap Represents the values for the parameters that are used in a UI test.

Interfaces

  Interface Description
Public interface ILastInvocationInfo Provides an interface to obtain additional information from the UITechnologyManager.GetLastInvocationInfo method about the last action or search operation.
Public interface IQueryCondition Infrastructure. Provides an internal interface definition for a QueryCondition.
Public interface IQueryElement Infrastructure. Provides an internally used interface for the QueryElement.
Public interface IUISynchronizationWaiter Provides an internal interface for the UI test framework to wait before raising an event.
Public interface IUITechnologyElement Provides an internal interface to implement the UITechnologyElement class. Do not implement this interface directly. Instead, derive from the UITechnologyElement class.
Public interface IUITechnologyManager Infrastructure. Provides an internal interface to implement the UITechnologyManager class. Do not implement this interface directly. Instead, derive from the UITechnologyManager class.
Public interface IUITestEventNotify Infrastructure. Provides an interface to be implemented by the test recording and playback engine and consumed by IUITechnologyManager objects to implement callback notifications.
Public interface IUniformResourceLocator Interface used for getting the URL of pinned site shortcuts.

Enumerations

  Enumeration Description
Public enumeration BrowserButtonType Represents browser buttons.
Public enumeration BrowserDialogAction Indicates the kind of element in a browser dialog window.
Public enumeration CheckUncheckOptions This enumeration provides flags to configure the check/clear options for check boxes and option buttons.
Public enumeration ControlStates Enumerates the bitwise combination of flags that indicate the states for a control.
Public enumeration ControlSupport This enumeration is used to specify the possible return values for the level of support for an element by an IUITechnologyManager component.
Public enumeration ElementForThumbnailCapture Enum indicating which control's vicinity to capture during an event.
Public enumeration ExpandCollapseOptions Represents the flags that are used to configure, expand, and collapse actions for elements in the user interface.
Public enumeration GetClickablePointFromOption This enumeration provides settings that indicate how a clickable point is obtained by the UITechnologyElement.GetClickablePoint method.
Public enumeration MediaActionType Events supported by Media controls.
Public enumeration NativeControlTypeKind Represents the kinds of native control values.
Public enumeration ProgrammaticActionOption This enumeration provides the options for invoking a programmatic action with the UITechnologyElement.InvokeProgrammaticAction method.
Public enumeration PropertyConditionOperator Provides operators for PropertyExpression objects.
Public enumeration RightToLeftKind Used by the GetRightToLeftProperty method to test whether an element has right-to-left layout orientation or right-to-left text orientation.
Public enumeration ScrollAmount Used to indicate a scroll direction for a scrollbar and whether to move by the large amount or small amount of the scrollbar, or by no amount.
Public enumeration ScrollDirection This enumeration provides indications of direction that are used to configure scrolling in the UI.
Public enumeration ScrollOptions This enumeration provides options that are used to configure scrolling in the UI.
Public enumeration SetValueAsComboBoxOptions Represents the flag values for configuring how to set the value of a ComboBox.
Public enumeration SetValueAsEditBoxOptions Represents the flag values for configuring how to set the value of an EditBox.
Public enumeration SmartMatchOptions This enumeration lets you communicate how the IUITechnologyManager instructs the framework to search for the most likely results when a match cannot be found.
Public enumeration UISynchronizationOptions This enumeration is used by the UITechnologyElement.SetOption method for the UITechnologyElementOption.UISynchronizationOptions option.
Public enumeration UITechnologyElementOption Identifies the options that are available in an IUITechnologyElement object where each name briefly describes the purpose of the value of the option it represents.
Public enumeration UITechnologyManagerProperty This enumeration is used by implementations of the IUITechnologyManager interface to specify the options that are available to configure properties of the IUITechnologyManager. For more information about extending the technology manager, see Extending Coded UI Tests and Action Recordings to Support Microsoft Excel
Public enumeration UITestElementKind This enumeration is used by IUITechnologyElement objects to identify the kind of UI element.
Public enumeration UITestEventType This enumeration is used by Visual Studio Application Lifecycle Management (ALM) through the IVsUIEventSink interface to specify the type of testing event that has been raised.
Public enumeration WaitForReadyLevel This enumeration is used to specify how calls to the UITechnologyElement.WaitForReady method are executed.
Public enumeration WaitForReadyOptions This enumeration is used to indicate how the framework waits for ready.