Table of Contents

Class MsaaFlavor

Namespace
Ranorex.Plugin
Assembly
Ranorex.Plugin.Msaa.dll

The flavor for Microsoft Active Accessibility (MSAA) support.

public class MsaaFlavor : Flavor
Inheritance
MsaaFlavor
Inherited Members

Properties

ExpensiveAttributesEnabled

Gets or sets a value indicating if computationally expensive attributes are enabled, e.g. RowIndex, Index, or Index.

public bool ExpensiveAttributesEnabled { get; set; }

Property Value

bool

Remarks

Setting this value to true will instruct the plugin to evaluate attributes that are expensive to compute and may result in longer delays when getting such attributes. Note that spying an element with such expensive attributes may then take considerable time.

FilterCompatibiltyLevel

Gets or sets a value indicating the compatibility of the MSAA element filtering with different Ranorex versions.

public MsaaFlavor.CompatibilityLevel FilterCompatibiltyLevel { get; set; }

Property Value

MsaaFlavor.CompatibilityLevel

Remarks

If you need legacy RanoreXPaths (created with an older Ranorex version) to work with the current Ranorex version, set this property to the appropriate value matching the Ranorex version used to create the legacy RanoreXPaths.

FilterEnabled

Gets or sets a value indicating if MSAA elements are filtered.

public bool FilterEnabled { get; set; }

Property Value

bool

Remarks

Setting this value to false will make all MSAA elements available without filtering, including elements being unavailable, invisible, or equivalent to elements of other flavors.

FromPointRefineEnabled

Gets or sets a value indicating if the output of the MSAA FromPoint method should be refined by doing a hierarchical search for a better fitting element.

public bool FromPointRefineEnabled { get; set; }

Property Value

bool

Remarks

Setting this value to true results in an additional search operation for a better fitting element for every MSAA FromPoint operation (e.g. used by Ranorex.Core.Element.FindFromPoint(System.Drawing.Point,Ranorex.Core.RxPath@,Ranorex.Core.Element.ElementFoundCallback)). This may produce better results if the MSAA FromPoint implementation of a control is broken.

Instance

Gets the local instance of this flavor.

public static MsaaFlavor Instance { get; }

Property Value

MsaaFlavor

WinFormsFilterEnabled

Gets or sets a value indicating if MSAA elements that are direct children of Windows Forms elements are filtered if they have the same role and screen rectangle as the parent element.

public bool WinFormsFilterEnabled { get; set; }

Property Value

bool

Remarks

Setting this value to false will make MSAA elements available that are direct children of Windows Forms elements and have the same role and screen rectangle as the parent element.