Repository navigation
Releases
v3.6.2
v3.6.1
3.4.0: Adapted tests for Windows 11 (Notepad is now UWP, used Wordpad for classic tests), fixed window detection in UWP, added MainWindow control type, introduced DPI correction
3.5.0: Removed deprecated functions, removed .NET 4.8 support, moved to .NET 8, latest C#, Coverlet 6, MSTest 3.5.2, .NET Test 17, fixed static analysis findings, fixed Control.FindControl with main window, increased coverage to 96%
3.5.1: Wordpad references removed as it is no longer part of Windows 11
3.5.2: Fixed defect in Control.FindControl with main window, fixed Calculator liters->litres. Snapshot still failing.
3.6.0: Updated ImageHandler to 4.0.0, fixed delay in capturing snapshots, made some tests more robust, introduced BringWindowToTop, reverted Calculator litres->liters
3.6.1: Fixed static analysis findings, relaxed similarity check to make more robust against small rendering differences.
v3.2.0
v3.1.0
v2.6.2
v2.6.0
- Introduced Coordinate to simplify specification of sizes and locations Deprecated WindowHeight, WindowWidth, WindowTop and WindowLeft, and replaced by WindowSize and WindowTopLeft. Made MoveWindow and ResizeWindow use Coordinate instead of separate ints.
- Renamed PropertyOf to PropertyOfControl for consistency with other functions.
- Renamed WindowSnapshot with border parameter to WindowSnapshotMinusOuterPixels to make the purpose of the parameter clearer. Same for WindowSnapshotObject
V2.5.0
Improved support for Grid controls: created CellInControlContaining, SelectedCellInControl, and introduced a mechanism to select grid items via their coordinates (see GridItem class). Introduced DoubleClickControl. Simplified constructors for Control class. Updated WpfDemoApp to demonstrate new capabilities.
v2.4.0
- Introduced ListOfControls fixture to inspect controls in a window or running windows, and removed functions ListOfControls and ListOfControlsFromRoot from UiAutomationFixture
- Made the locator ":" return all controls
- Made TimeoutSeconds a static property and refactored it into ExtensionFunctions to eliminate proliferation of timeout values
- Made ProcessObject return null if HasExited is true
- Refactored UWPApplication and ClassicApplication to use common base class, and made UWP process detection more stable.
- Fixed flakiness in detection of UWP application activation
- Introduced SafeAppHandle in AppLauncher