This documentation is archived and is not being maintained.

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)

type ProgrammaticActionOption

Member nameDescription
DefaultActionInvoke the default action.
TakeFocusGive the element the focus.
TakeSelectionSelect the element.
RemoveSelectionRemove the selection from the element.
ExpandExpand the element.
CollapseCollapse the element.
MakeVisibleAndSelectMake the element visible and selected.
Show: