2gis/Winium.Desktop
소개
Winium.Desktop은 WinForms와 WPF 기반 Windows 애플리케이션을 자동으로 테스트하는 Selenium Remote WebDriver 구현체입니다.
생산성 및 자동화측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalEnglish description | Описание на русском
Winium for Desktop

Winium.Desktop is an open source test automation tool for automated testing of Windows application based on WinForms and WPF platforms.
Supported Platforms
- WinForms
- WPF
For Windows Phone 8.1 test automation tool see Windows Phone Driver. For Windows Phone 8 Silverlight test automation tool see Windows Phone Driver.
Why Winium?
You have Selenium WebDriver for testing of web apps, Appium for testing of iOS and Android apps. And now you have Selenium-based tools for testing of Windows apps too. What are some of the benefits? As said by Appium:
- You can write tests with your favorite dev tools using any WebDriver-compatible language such as Java, Objective-C, JavaScript with Node.js (in promise, callback or generator flavors), PHP, Python, Ruby, C#, Clojure, or Perl with the Selenium WebDriver API and language-specific client libraries.
- You can use any testing framework.
Requirements
- Microsoft .NET Framework 4.5.1
Quick Start
Write your tests using you favorite language. In your tests use
appdesired capability to set path to tested app's exe file. Here is python example:# put it in setUp self.driver = webdriver.Remote(command_executor='http://localhost:9999', desired_capabilities={'app': 'C:\\testApp.exe', 'args': '-port 345'}) # put it in test method body win = self.driver.find_element_by_id('WpfTestApplicationMainWindow') win.find_element_by_id('SetTextButton').click() assert 'CARAMBA' == self.driver.find_element_by_id('MyTextBox').textStart
Winium.Desktop.Driver.exe(download release from github or build it yourself)Run your tests and watch the magic happening
How it works
Winium.Desktop.Driver implements Selenium Remote WebDriver and listens for JsonWireProtocol commands. It is responsible for automation of app under test using Winium.Cruciatus.
Contributing
Contributions are welcome!
- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
- Fork the repository to start making your changes to the master branch (or branch off of it).
- We recommend to write a test which shows that the bug was fixed or that the feature works as expected.
- Send a pull request and bug the maintainer until it gets merged and published. :smiley:
Contact
Have some questions? Found a bug? Create new issue or contact us at [email protected]
License
Winium is released under the MPL 2.0 license. See LICENSE for details.
관련 프로젝트 살펴보기
불러오는 중…