Legerity.Windows 1.0.0

dotnet add package Legerity.Windows --version 1.0.0
                    
NuGet\Install-Package Legerity.Windows -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.Windows" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Legerity.Windows" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Legerity.Windows" />
                    
Project file
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.Windows --version 1.0.0
                    
#r "nuget: Legerity.Windows, 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.Windows@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.Windows&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Legerity.Windows&version=1.0.0
                    
Install as a Cake Tool

Legerity for Windows

NuGet

Windows platform extension for the Legerity UI testing framework. Provides typed element wrappers for UWP and WinUI core controls.

Installation

dotnet add package Legerity.Windows

What's included

  • WindowsElementWrapper - Base wrapper for Windows UI Automation elements
  • WindowsByExtras - AutomationId locator for Windows elements
  • Core element wrappers - AppBarButton, AutoSuggestBox, Button, CalendarDatePicker, CalendarView, CheckBox, ComboBox, CommandBar, DatePicker, FlipView, GridView, Hub, HyperlinkButton, InkToolbar, ListBox, ListView, MenuFlyoutItem, MenuFlyoutSubItem, PasswordBox, Pivot, ProgressBar, ProgressRing, RadioButton, ScrollViewer, Slider, TextBlock, TextBox, TimePicker, ToggleButton, ToggleSwitch

For WinUI-specific controls (NavigationView, NumberBox, TabView, etc.), see Legerity.WinUI.

Quick start

using Legerity.Windows;
using Legerity.Windows.Elements.Core;

public class SettingsPage : BasePage
{
    protected override By Trait => WindowsByExtras.AutomationId("SettingsPage");

    public ToggleSwitch DarkMode => FindElement(WindowsByExtras.AutomationId("DarkModeToggle"));

    public Button Save => FindElement(WindowsByExtras.AutomationId("SaveButton"));
}

Documentation

Full documentation is available at made-apps.github.io/legerity.

License

This project is made available under the MIT license.

Product 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.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Legerity.Windows:

Package Downloads
Legerity

Meta-package for the Legerity UI testing framework. Includes core, Windows, Android, iOS, and Web element wrapper packages.

Legerity.WinUI

WinUI extension for the Legerity UI testing framework. Provides typed element wrappers for InfoBar, MenuBar, NavigationView, NumberBox, RatingControl, and TabView.

Legerity.MADE

This package is a MADE.NET extension to the Legerity framework for speeding up the development of automated UI tests with Selenium/Appium including: - DropDownList, a drop down element capable of selecting multiple options - InputValidator, a validation element capable of validating the state of an input element

Legerity.WCT

This package is a Windows Community Toolkit extension to the Legerity core framework for speeding up the development of automated UI tests with Selenium/Appium including: - Expander, a wrapper element capable of showing and hiding content - InAppNotification, a popup element for displaying notifications within applications - RadialGauge, a graphing element for a gauge

Legerity.Telerik.Uwp

This package is a Telerik for UWP extension to the Legerity core framework for speeding up the development of automated UI tests with Selenium/Appium including: - RadAutoCompleteBox, a text input element which also has auto-complete capabilities - RadBulletGraph, a graphing element for bullet graphs - RadBusyIndicator, a status indicator element - RadNumericBox, a text input element for numeric values with value stepper capabilities

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 91 12/2/2026
1.0.0-alpha1 251 3/15/2024
0.14.0 10,724 2/17/2023
0.13.1 1,689 12/30/2022
0.13.0 1,675 12/23/2022
0.12.0 2,359 9/8/2022
0.12.0-preview2 996 6/9/2022
0.12.0-preview1 908 6/9/2022
0.11.1 2,736 6/6/2022
0.11.0 8,513 6/4/2022
0.10.0 2,534 4/28/2022
0.9.0 2,567 4/5/2022
0.8.2 2,430 3/24/2022
0.8.1 2,498 3/20/2022
0.8.0 2,455 3/19/2022
0.7.0 3,025 1/12/2022
0.7.0-preview1 1,040 11/12/2021
0.6.6 1,981 11/11/2021
0.6.5 1,945 9/25/2021
0.6.4 2,832 6/12/2021
Loading failed