microsoft/WinAppDriver
Fork: 1407 Star: 3708 (更新于 2024-12-11 23:24:42)
license: MIT
Language: C# .
Windows Application Driver
最后发布版本: v1.2.99 ( 2021-07-01 08:02:16)
Windows Application Driver
Windows Application Driver (WinAppDriver) is a service to support Selenium-like UI Test Automation on Windows Applications. This service supports testing Universal Windows Platform (UWP), Windows Forms (WinForms), Windows Presentation Foundation (WPF), and Classic Windows (Win32) apps on Windows 10 PCs.
Install & Run WinAppDriver
- Download Windows Application Driver installer from https://github.com/Microsoft/WinAppDriver/releases
- Run the installer on a Windows 10 machine where your application under test is installed and will be tested
- Enable Developer Mode in Windows settings
- Run
WinAppDriver.exe
from the installation directory (E.g.C:\Program Files (x86)\Windows Application Driver
)
Windows Application Driver will then be running on the test machine listening to requests on the default IP address and port (127.0.0.1:4723
). You can then run any of our Tests or Samples. WinAppDriver.exe
can be configured to listen to a different IP address and port as follows:
WinAppDriver.exe 4727
WinAppDriver.exe 10.0.0.10 4725
WinAppDriver.exe 10.0.0.10 4723/wd/hub
Note: You must run
WinAppDriver.exe
as administrator to listen to a different IP address and port.
Write an Automation Script
Now that you've successfully installed WinAppDriver, you can get started with authoring your first automation script!
Supported APIs
See here for a list of supported APIs by WinAppDriver. API support may differ from Appium and other counterparts.
FAQ & Documentation
Additional documentation on WinAppDriver and related topics can be found under /Docs/, such as the following:
- Frequently Asked Questions
- Running WinAppDriver in CI (with Azure Pipelines)
- Using UI Recorder
- Authoring Test Scripts
- Using the Selenium Grid
- Running On a Remote Machine
Repository Content
This repository includes the following content:
- Samples - used to showcase various commands and operations such as opening applications, finding elements, clicking elements, typing keystrokes, reading texts, etc; and can be run against built-in Windows 10 applications such as Alarms & Clock, Calculator, and Notepad.
- Tests - used to verify the functionality of Windows Application Driver itself. The tests cover each API endpoints extensively and also against all basic UI control scenario, and demonstrate how to invoke certain command in C#. In addition, they show how to interact with some more complex UI elements such as DatePicker, SplitViewPane, Slider, etc.
- UI Recorder - standalone tool that aims to provide users a simpler way of creating automaton scripts by recording UI events performed by the user and generating XPath queries and C# code on the fly. Read more about it on our Wiki.
- Docs - subdirectory hosting WinAppDriver related documentation.
Vote on New Features
Add your feature request in issues or :+1: (+1) existing issues labeled as Enhancement
最近版本更新:(数据更新于 2024-10-11 00:42:00)
2021-07-01 08:02:16 v1.2.99
2020-11-06 07:16:56 v1.2.1
2019-10-10 08:38:32 v1.2-RC
2019-05-16 08:49:22 UIR-v1.1
2019-03-13 02:16:52 v1.1.1
2018-09-20 04:02:19 v1.1
2018-06-22 00:59:06 UiR_v1.0-RC
2018-05-19 04:49:10 v1.1-Preview
2017-10-19 08:21:56 v1.0
2017-10-06 01:13:51 v1.0-RC2
主题(topics):
appium, test-automation, ui-testing, windows-10
microsoft/WinAppDriver同语言 C#最近更新仓库
2024-12-20 06:41:40 microsoft/PowerToys
2024-12-07 22:15:43 Pik-4/HsMod
2024-12-01 20:18:03 BililiveRecorder/BililiveRecorder
2024-11-26 14:48:43 Azure/azure-sdk-for-net
2024-11-19 11:38:46 jellyfin/jellyfin
2024-11-15 10:33:01 DigitalRuby/IPBan