ClassDesktopLegacyIAccessiblePattern
Class
Represents legacy accessible pattern.
Definition
Namespace:ArtOfTest.WebAii.DesktopAutomation.Patterns
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public class DesktopLegacyIAccessiblePattern : DesktopPattern
Inheritance: objectDesktopPatternDesktopLegacyIAccessiblePattern
Inherited Members
Constructors
DesktopLegacyIAccessiblePattern(DesktopElement)
Create new instance of DesktopLegacyIAccessiblePattern class.
Declaration
cs-api-definition
public DesktopLegacyIAccessiblePattern(DesktopElement element)
Parameters
element
Underlying element.
Properties
Methods
DoDefaultAction()
Perform default action of underlying element.
Declaration
cs-api-definition
public void DoDefaultAction()
GetIAccessible()
Get reference native inrface.
Declaration
cs-api-definition
public IAccessible GetIAccessible()
Returns
IAccessible
Reference to IAccessible interface.
GetSelection()
Get selected elements.
Declaration
cs-api-definition
public DesktopElement[] GetSelection()
Returns
Array of DesktopElement.
Select(int)
Select underlying element.
Declaration
cs-api-definition
public void Select(int flagsSelect)
Parameters
flagsSelect
Selection flags.
SetValue(string)
Set value to undelying element.
Declaration
cs-api-definition
public void SetValue(string szValue)
Parameters
szValue
New value.