共用方式為


Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

Classes

ActionNotSupportedOnDisabledControlException

Represents an exception that is caused when a control is blocked.

ActionParameter

Represents a parameter that is used to set values and to send key strokes in code.

AndCondition

Represents an AND condition for a query.

BrowserFactory

Provides a base class for browser factories that create BrowserService objects for specific browsers.

BrowserHelper

Provides a base class for browser helper methods.

BrowserService

Provides methods and properties for automating browser.

ContextEntry

Contains the definition of the context part of an action log entry.

DecodingFailedException

Represents the exception that is thrown when a decoding operation fails because of an incorrect key file.

Entry

Contains the definition of Entry class. This can be used to store a value and its type.

FailedToLaunchApplicationException

The exception that is thrown when Microsoft.VisualStudio.TestTools.UITest.Common.LaunchApplicationAction fails.

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).

FailedToPerformActionOnHiddenControlException

The exception that is thrown when the EnsureVisibleByScrolling(Int32, Int32, Int32, Int32) method fails.

FilterCondition
InvalidUITestExtensionPackageException

The exception that is thrown when an invalid user interface (UI test) extension package is encountered during recording or playback.

OrderOfInvoke

Represents a helper class that generates the order of invocation during recording and maintains the order of invocation during playback.

PlaybackFailureException

Represents an exception that is thrown when a Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction fails.

PropertyCondition

Represents a query condition for a property.

QueryCondition

Provides an abstract base class for query conditions.

QueryElement

Provides a base class for a query in the user interface (UI) test environment.

SearchConfiguration

Provides helper functionality to configure search.

TechnologyNotSupportedException

This exception is thrown when test recording or playback is not supported on the application that is tested.

UITechnologyElement

The abstract base class for implementing UITest technology element for recorder and playback.

UITechnologyManager

Provides an abstract base class for technology managers that is used during test recording and playback.

UITestActionLogEntry

Contains the definition of UITestActionLogEntry.

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.

UITestControlNotFoundException

The exception that is thrown when the user interface (UI) test framework attempts to access a UI test control that cannot be found.

UITestControlNotVisibleException

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

UITestException

Represents the base class for all UI test exceptions.

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.

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.

UITestJScriptExecutionException

The base class for all UITest exceptions.

UITestMediaEventInfo

Represents event arguments for action on media controls.

UITestTraceUtility

Provides static helper properties and methods for tracing in UI tests and Test Runner.

URLINVOKECOMMANDINFO
ValidationFailedException

Represents the exception that is thrown when a Microsoft.VisualStudio.TestTools.UITest.Common.ValidationAction fails.

ValueMap

Represents the values for the parameters that are used in a UI test.

Interfaces

ILastInvocationInfo

Provides an interface to obtain additional information from the GetLastInvocationInfo() method about the last action or search operation.

IQueryCondition

Provides an internal interface definition for a QueryCondition.

IQueryElement

Provides an internally used interface for the QueryElement.

IUISynchronizationWaiter

Provides an internal interface for the UI test framework to wait before raising an event.

IUITechnologyElement

Provides an internal interface to implement the UITechnologyElement class. Do not implement this interface directly. Instead, derive from the UITechnologyElement class.

IUITechnologyManager

Provides an internal interface to implement the UITechnologyManager class. Do not implement this interface directly. Instead, derive from the UITechnologyManager class.

IUITestEventNotify

Provides an interface to be implemented by the test recording and playback engine and consumed by IUITechnologyManager objects to implement callback notifications.

IUniformResourceLocator

Interface used for getting the URL of pinned site shortcuts.

Enums

BrowserButtonType

Represents browser buttons.

BrowserDialogAction

Indicates the kind of element in a browser dialog window.

CheckUncheckOptions

This enumeration provides flags to configure the check/clear options for check boxes and option buttons.

ControlStates

Enumerates the bitwise combination of flags that indicate the states for a control.

ControlSupport

This enumeration is used to specify the possible return values for the level of support for an element by an IUITechnologyManager component.

ElementForThumbnailCapture

Enum indicating which control's vicinity to capture during an event.

ExpandCollapseOptions

Represents the flags that are used to configure, expand, and collapse actions for elements in the user interface.

GetClickablePointFromOption

This enumeration provides settings that indicate how a clickable point is obtained by the GetClickablePoint(Int32, Int32) method.

MediaActionType

Events supported by Media controls.

NativeControlTypeKind

Represents the kinds of native control values.

ProgrammaticActionOption

This enumeration provides the options for invoking a programmatic action with the InvokeProgrammaticAction(ProgrammaticActionOption) method.

PropertyConditionOperator

Provides operators for PropertyExpression objects.

RightToLeftKind

Used by the GetRightToLeftProperty(RightToLeftKind) method to test whether an element has right-to-left layout orientation or right-to-left text orientation.

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.

ScrollDirection

This enumeration provides indications of direction that are used to configure scrolling in the UI.

ScrollOptions

This enumeration provides options that are used to configure scrolling in the UI.

SetValueAsComboBoxOptions

Represents the flag values for configuring how to set the value of a ComboBox.

SetValueAsEditBoxOptions

Represents the flag values for configuring how to set the value of an EditBox.

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.

UISynchronizationOptions

This enumeration is used by the SetOption(UITechnologyElementOption, Object) method for the UISynchronizationOptions option.

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.

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

UITestElementKind

This enumeration is used by IUITechnologyElement objects to identify the kind of UI element.

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.

WaitForReadyLevel

This enumeration is used to specify how calls to the WaitForReady() method are executed.

WaitForReadyOptions

This enumeration is used to indicate how the framework waits for ready.