wpf-devexpress-dot-xpf-dot-core-dot-clearautomationeventshelper.md
Gets or sets whether the UI Automation testing tool tests the WPF Application.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public static bool UITestingEnabled { get; set; }
Public Shared Property UITestingEnabled As Boolean
| Type | Description |
|---|---|
| Boolean |
true, to enable UI Testing mode; otherwise, false.
|
When you set the UITestingEnabled to true , the DevExpress controls switch to UI Testing mode. This mode results in the following changes:
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
How To Test Controls With Appium
ClearAutomationEventsHelper Class