Upravit

Sdílet prostřednictvím


Accessibility tools - UI Automation Verify (UIA Verify)

UI Automation Verify (UIA Verify) is a testing framework for manual and automated testing of a control's or application's implementation of Microsoft UI Automation. Most of the testing framework's functionality comes from a DLL called WUIATestLibrary.dll. This DLL contains the code for testing specific UI Automation functionality, and it also supports logging of the test results. You can integrate your application into the test code and conduct regular, automated testing or spot checks of your UI Automation scenarios.

UIA Verify is installed with the Windows Software Development Kit (SDK). It is located in the \bin\<version>\<platform>\UIAVerify folder of the SDK installation path (VisualUIAVerifyNative.exe).

UIA Verify consists of an API called the UI Automation Test Library, and a GUI interface called Visual UI Automation Verify. These are described in the following topics.

Note

UI Automation Verify is a legacy tool. We recommend using Accessibility Insights instead.

Requirements

UI Automation must be present on the system. For more information, see the "Requirements" section of UI Automation.

UIA Verify is installed as part of the overall set of tools in the Windows SDK, it is not distributed as a separate download. The Windows SDK includes all of the accessibility-related tools documented in this section. Get the Windows SDK. (There's also an SDK download archive linked from that page, if you need a previous version.)

To run UIA Verify as a visual tool, find VisualUIAVerifyNative.exe in the \bin\<platform>\UIAVerify folder and run it (you don't typically have to run as administrator). For more information, see Visual UI Automation Verify. To use the libraries, see UI Automation Test Library.

Accessible Event Watcher Inspect Testing for accessibility UI Accessibility Checker