OneStreamAutoLibrary.WindowsUIHelpers
2026.1.27.2
See the version list below for details.
dotnet add package OneStreamAutoLibrary.WindowsUIHelpers --version 2026.1.27.2
NuGet\Install-Package OneStreamAutoLibrary.WindowsUIHelpers -Version 2026.1.27.2
<PackageReference Include="OneStreamAutoLibrary.WindowsUIHelpers" Version="2026.1.27.2" />
<PackageVersion Include="OneStreamAutoLibrary.WindowsUIHelpers" Version="2026.1.27.2" />
<PackageReference Include="OneStreamAutoLibrary.WindowsUIHelpers" />
paket add OneStreamAutoLibrary.WindowsUIHelpers --version 2026.1.27.2
#r "nuget: OneStreamAutoLibrary.WindowsUIHelpers, 2026.1.27.2"
#:package OneStreamAutoLibrary.WindowsUIHelpers@2026.1.27.2
#addin nuget:?package=OneStreamAutoLibrary.WindowsUIHelpers&version=2026.1.27.2
#tool nuget:?package=OneStreamAutoLibrary.WindowsUIHelpers&version=2026.1.27.2
CommonHelpers
A cross-platform utility library for .NET projects, targeting .NET Standard 2.0, .NET 8, and .NET Framework 4.8.
CommonHelpers provides reusable helpers for file system operations, random data generation, environment management, logging, reporting, and database access, making it easy to add robust infrastructure features to your automation and application solutions.
Integration
CommonHelpers is designed to be used by:
- Web Components (e.g., web automation, web UI helpers)
- Windows Components (e.g., desktop automation, Windows UI helpers)
- API Helpers (e.g., REST API clients, service integration)
This shared library ensures consistency and code reuse across different layers and types of automation or application projects.
Features
- File System Helpers:
Simplified file and directory operations, including file deletion, path resolution, and directory management. - Random Data Generation:
Generate random strings, numbers, and test data for automation and testing scenarios. - Environment Helpers:
Access and manage environment variables and configuration settings. - Logging:
Interfaces and helpers for structured logging and test reporting. - Reporting:
ExtentReports integration for rich test reporting. - Database Helpers:
Utilities for database connectivity and operations.
Installation
Add the package to your .NET project using the NuGet CLI:
dotnet add package CommonHelpers
Or via the NuGet Package Manager in Visual Studio.
Usage Example
using CommonHelpers.Utilities; using CommonHelpers.Logging; using CommonHelpers.Reporting; using CommonHelpers.Database;
class Example { public void Run() { // File system operations FileSystemHelper.DeleteFilesInDirectory(7, @"C:\Temp"); // Random data string randomId = RandomDataHelper.GetRandomString();
// Environment variable
string env = EnvironmentHelper.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT");
// Logging
ITestLogger logger = ...; // Implement or use provided logger
logger.LogInfo("Test started.");
// Reporting
ExtentReportsHelper.CreateTest("Sample Test");
// Database
var db = new DBHelper("connectionString");
var result = db.ExecuteQuery("SELECT * FROM Users");
}
Requirements
- .NET Standard 2.0, .NET 8, or .NET Framework 4.8
- ExtentReports (for reporting, if used)
- Any required database provider packages (for DBHelper)
License
MIT License. See LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- OneStreamAutoLibrary.CommonHelpers (>= 2025.12.19.1)
- OneStreamAutoLibrary.SeleniumHelpers (>= 2026.1.16.1)
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 |
|---|---|---|
| 2026.1.30.1 | 43 | 1/30/2026 |
| 2026.1.27.2 | 76 | 1/28/2026 |
| 2026.1.27.1 | 72 | 1/27/2026 |
| 2026.1.16.1 | 97 | 1/16/2026 |
Initial release.