OneStreamAutoLibrary.CommonHelpers
2025.12.11.3
See the version list below for details.
dotnet add package OneStreamAutoLibrary.CommonHelpers --version 2025.12.11.3
NuGet\Install-Package OneStreamAutoLibrary.CommonHelpers -Version 2025.12.11.3
<PackageReference Include="OneStreamAutoLibrary.CommonHelpers" Version="2025.12.11.3" />
<PackageVersion Include="OneStreamAutoLibrary.CommonHelpers" Version="2025.12.11.3" />
<PackageReference Include="OneStreamAutoLibrary.CommonHelpers" />
paket add OneStreamAutoLibrary.CommonHelpers --version 2025.12.11.3
#r "nuget: OneStreamAutoLibrary.CommonHelpers, 2025.12.11.3"
#:package OneStreamAutoLibrary.CommonHelpers@2025.12.11.3
#addin nuget:?package=OneStreamAutoLibrary.CommonHelpers&version=2025.12.11.3
#tool nuget:?package=OneStreamAutoLibrary.CommonHelpers&version=2025.12.11.3
CommonHelpers Library
Multi-target library (.NET Standard 2.0 and .NET 8) providing utilities for automated testing, including REST API helpers, configuration management, database helpers, screen capture functionality, reporting, and general utilities.
Project Structure
/CommonHelpers /Configuration # Configuration management (Configuration) /Database # Database utilities (DBHelper) /Reporting # Reporting helpers (ExtentReportsHelper) /Selenium # Selenium automation (SeleniumBase, Browser, ScreenCaptureLibrary) /Utilities # General utility functions (Utilities) /Extensions # Extension methods (if present)
Features
- Api/Rest RestClientHelper: Simplifies making HTTP requests using RestSharp.
- Configuration/Configuration: Centralized configuration management using JSON and environment variables.
- Selenium/ScreenCaptureLibrary: Capture screenshots for web and desktop automation.
- Database/DBHelper: Database utility functions.
- Reporting/ExtentReportsHelper: Reporting utilities for test automation.
- Selenium/SeleniumBase, Selenium/Browser: Selenium WebDriver setup and browser management.
- Utilities/Utilities: General-purpose helper functions.
- Extensions: Extension methods for enhanced functionality.
Installation
Add the library to your .NET project (example using NuGet CLI): dotnet add package CommonHelpers
Usage Example
using CommonHelpers;
// REST API GET example var restHelper = new Api.RestClientHelper(); var response = restHelper.SendGetRequest("https://api.example.com/data"); Console.WriteLine(response.Content);
// Configuration example using ConfigConfiguration = CommonHelpers.Config.Configuration; string browser = ConfigConfiguration.GetBrowserFromConfigFile();
Requirements
- .NET Standard 2.0 or .NET 8.0 or later
- RestSharp
License
MIT License. See LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- DotNetSeleniumExtras.WaitHelpers (>= 3.11.0)
- ExtentReports (>= 5.0.4)
- Microsoft.Data.SqlClient (>= 6.1.3)
- Microsoft.Extensions.Configuration (>= 10.0.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.1)
- Microsoft.Extensions.Configuration.FileExtensions (>= 10.0.1)
- Microsoft.Extensions.Configuration.Json (>= 10.0.1)
- Selenium.Support (>= 4.39.0)
- Selenium.WebDriver (>= 4.39.0)
-
net8.0
- DotNetSeleniumExtras.WaitHelpers (>= 3.11.0)
- ExtentReports (>= 5.0.4)
- Microsoft.Data.SqlClient (>= 6.1.3)
- Microsoft.Extensions.Configuration (>= 10.0.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.1)
- Microsoft.Extensions.Configuration.FileExtensions (>= 10.0.1)
- Microsoft.Extensions.Configuration.Json (>= 10.0.1)
- Selenium.Support (>= 4.39.0)
- Selenium.WebDriver (>= 4.39.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on OneStreamAutoLibrary.CommonHelpers:
| Package | Downloads |
|---|---|
|
WebComponentsHelper
Package Description |
|
|
ApiHelpers
Package Description |
|
|
WindowsComponentsHelper
Reusable Windows UI automation components for automation. |
|
|
OneStreamAutoLibrary.WebHelpers
Package Description |
|
|
OneStreamAutoLibrary.WebUIHelpers
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2025.12.19.1 | 247 | 12/19/2025 |
| 2025.12.16.2 | 503 | 12/16/2025 |
| 2025.12.16.1 | 261 | 12/16/2025 |
| 2025.12.11.13 | 123 | 12/11/2025 |
| 2025.12.11.12 | 417 | 12/11/2025 |
| 2025.12.11.3 | 404 | 12/11/2025 |
| 2025.12.11.2 | 403 | 12/11/2025 |
| 2025.12.11.1 | 405 | 12/11/2025 |
| 2025.12.10.5 | 402 | 12/10/2025 |