All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ClearAutomationEventsHelper.UITestingEnabled Property

Gets or sets whether the UI Automation testing tool tests the WPF Application.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.2.dll

Declaration

public static bool UITestingEnabled { get; set; }
Public Shared Property UITestingEnabled As Boolean

Property Value

Type Description
Boolean

true, to enable UI Testing mode; otherwise false.

Remarks

When you set the UITestingEnabled to true, the DevExpress controls switch to UI Testing mode. This mode results in the following changes:

  • Animations are disabled.
  • Context menus are opened only on mouse click and do not opened when the mouse pointer is over a menu.
  • The UI Automation tree is adjusted to make UI tests more stable and reliable.

You should specify the property on the application startup.

NOTE

You can set the DX.UITESTINGENABLED environment variable to 1 to enable UI Testing mode. In this case, the UITestingEnabled is set to true.

See Also