Legerity.WinUI
1.0.0
dotnet add package Legerity.WinUI --version 1.0.0
NuGet\Install-Package Legerity.WinUI -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Legerity.WinUI" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Legerity.WinUI" Version="1.0.0" />
<PackageReference Include="Legerity.WinUI" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Legerity.WinUI --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Legerity.WinUI, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Legerity.WinUI@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Legerity.WinUI&version=1.0.0
#tool nuget:?package=Legerity.WinUI&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Legerity for WinUI
WinUI extension for the Legerity UI testing framework. Provides typed element wrappers for WinUI controls beyond the core UWP set.
Installation
dotnet add package Legerity.WinUI
What's included
InfoBar- Inline notification barMenuBar- Application menu barMenuBarItem- Individual menu bar itemNavigationView- Navigation pane controlNavigationViewItem- Individual navigation itemNumberBox- Numeric text input with validationRatingControl- Star rating inputTabView- Tabbed document interface
Quick start
using Legerity.Windows;
using Legerity.Windows.Elements.WinUI;
public class MainPage : BasePage
{
protected override By Trait => WindowsByExtras.AutomationId("MainPage");
public NavigationView NavView => FindElement(WindowsByExtras.AutomationId("NavView"));
public TabView Tabs => FindElement(WindowsByExtras.AutomationId("TabView"));
}
Documentation
Full documentation is available at made-apps.github.io/legerity.
License
This project is made available under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Appium.WebDriver (>= 9.0.0)
- Legerity.Windows (>= 1.0.0)
- Selenium.WebDriver (>= 4.54.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 66 | 12/2/2026 |
| 1.0.0-alpha1 | 221 | 3/15/2024 |
| 0.14.0 | 8,698 | 2/17/2023 |
| 0.13.1 | 566 | 12/30/2022 |
| 0.13.0 | 488 | 12/23/2022 |
| 0.12.0 | 657 | 9/8/2022 |
| 0.12.0-preview2 | 396 | 6/9/2022 |
| 0.12.0-preview1 | 368 | 6/9/2022 |
| 0.11.1 | 708 | 6/6/2022 |
| 0.11.0 | 643 | 6/4/2022 |
| 0.10.0 | 712 | 4/28/2022 |
| 0.9.0 | 713 | 4/5/2022 |
| 0.8.2 | 651 | 3/24/2022 |
| 0.8.1 | 683 | 3/20/2022 |
| 0.8.0 | 727 | 3/19/2022 |
| 0.7.0 | 776 | 1/12/2022 |
| 0.7.0-preview1 | 483 | 11/12/2021 |
| 0.6.6 | 606 | 11/11/2021 |
| 0.6.5 | 631 | 9/25/2021 |
| 0.6.4 | 639 | 6/12/2021 |
Loading failed