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


ProgrammaticActionOption Enumeration

This enumeration provides the options for invoking a programmatic action with the UITechnologyElement.InvokeProgrammaticAction method.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Enumeration ProgrammaticActionOption
public enum ProgrammaticActionOption
public enum class ProgrammaticActionOption
type ProgrammaticActionOption
public enum ProgrammaticActionOption

Members

Member name Description
DefaultAction Invoke the default action.
TakeFocus Give the element the focus.
TakeSelection Select the element.
RemoveSelection Remove the selection from the element.
Expand Expand the element.
Collapse Collapse the element.
MakeVisibleAndSelect Make the element visible and selected.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITechnologyElement.InvokeProgrammaticAction