OneStreamAutoLibrary.WindowsUIHelpers 2026.1.27.2

There is a newer version of this package available.
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
                    
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="OneStreamAutoLibrary.WindowsUIHelpers" Version="2026.1.27.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OneStreamAutoLibrary.WindowsUIHelpers" Version="2026.1.27.2" />
                    
Directory.Packages.props
<PackageReference Include="OneStreamAutoLibrary.WindowsUIHelpers" />
                    
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 OneStreamAutoLibrary.WindowsUIHelpers --version 2026.1.27.2
                    
#r "nuget: OneStreamAutoLibrary.WindowsUIHelpers, 2026.1.27.2"
                    
#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 OneStreamAutoLibrary.WindowsUIHelpers@2026.1.27.2
                    
#: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=OneStreamAutoLibrary.WindowsUIHelpers&version=2026.1.27.2
                    
Install as a Cake Addin
#tool nuget:?package=OneStreamAutoLibrary.WindowsUIHelpers&version=2026.1.27.2
                    
Install as a Cake Tool

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 Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.