Winium.Elements.Desktop

With the help of Winium.Elements you could simplify interaction with such complex elements like DataGrid, ComboBox, Menu and etc.


Keywords
Winium, Selenium, Desktop
License
MPL-2.0
Install
Install-Package Winium.Elements.Desktop -Version 0.2.0

Documentation

Winium.Elements

Build Status GitHub license

Winium.Elements is a set of extensions for WebDriver C# bindings providing easy-to-use way of interacting with desktop-specific UI elements in Windows Desktop apps tested with Winium.Desktop

This is a set of extensions for WebDriver Clients Bindings providing easy-to-use way of interacting with desktop-specific UI elements in Windows Desktop apps tested with Winium.Desktop.

With the help of Winium.Elements you could simplify interaction with such complex elements like DataGrid, ComboBox, Menu and etc.

Quick Start (.NET example)

  1. Add reference to Winium.Elements.Desktop in UI test project (install NuGet package).
  2. Find element and convert it to [ElementType] using To[ElementType] method.

    var element = driver.FindElementById("data_grid");
    var dataGrid = element.ToDataGrid();

    Use element specific extension methods, for example:

    var cell = dataGrid.Find(1, 1);
    Assert.AreEqual("expected cell text", cell.Text);

Read more...

How it works

Winium.Elements extends OpenQA.Selenium bindings adding Winium.Desktop driver commands.

Contributing

Contributions are welcome!

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
  2. Fork the repository to start making your changes to the master branch (or branch off of it).
  3. We recommend to write a test which shows that the bug was fixed or that the feature works as expected.
  4. Send a pull request and bug the maintainer until it gets merged and published. 😃

Contact

Have some questions? Found a bug? Create new issue

License

Winium is released under the MPL 2.0 license. See LICENSE for details.