![]() |
VOOZH | about |
dotnet add package Ocaramba --version 4.2.8
NuGet\Install-Package Ocaramba -Version 4.2.8
<PackageReference Include="Ocaramba" Version="4.2.8" />
<PackageVersion Include="Ocaramba" Version="4.2.8" />Directory.Packages.props
<PackageReference Include="Ocaramba" />Project file
paket add Ocaramba --version 4.2.8
#r "nuget: Ocaramba, 4.2.8"
#:package Ocaramba@4.2.8
#addin nuget:?package=Ocaramba&version=4.2.8Install as a Cake Addin
#tool nuget:?package=Ocaramba&version=4.2.8Install as a Cake Tool
<img align="left" src="https://user-images.githubusercontent.com/12324498/73060034-43ff2580-3e97-11ea-9100-748d0716eba7.png">
Cross-Platform C# Framework to automate tests using Selenium WebDriver
👁 Ocaramba Templates
👁 Build status
Test Framework was designed in Objectivity to propose a common way how people should create Selenium WebDriver tests.
<img align="left" src="https://user-images.githubusercontent.com/12324498/73060119-73159700-3e97-11ea-99d3-1b21584c6baa.png"> Project API documentation can be found here: http://Accenture.github.io/Ocaramba
AI generated documentation DeepWiki<br /><br />
<img align="left" src="https://github.com/Accenture/Ocaramba/wiki/images/ocarambadiagram.png">
It provides the following features:
"//*[@title='{0}' and @ms.title='{1}']", more details hereFor all documentation, visit the Ocaramba Wiki.
Projects examples of using Test Framework :
NUnit Example Test:
namespace Ocaramba.Tests.NUnit.Tests
{
using global::NUnit.Framework;
using Ocaramba.Tests.PageObjects.PageObjects.TheInternet;
[Parallelizable(ParallelScope.Fixtures)]
public class JavaScriptAlertsTestsNUnit : ProjectTestBase
{
[Test]
public void ClickJsAlertTest()
{
var internetPage = new InternetPage(this.DriverContext).OpenHomePage();
var jsAlertsPage = internetPage.GoToJavaScriptAlerts();
jsAlertsPage.OpenJsAlert();
jsAlertsPage.AcceptAlert();
Assert.AreEqual("You successfuly clicked an alert", jsAlertsPage.ResultText);
}
}
}
NUnit Example Page Object:
namespace Ocaramba.Tests.PageObjects.PageObjects.TheInternet
{
using System;
using System.Globalization;
using NLog;
using Ocaramba;
using Ocaramba.Extensions;
using Ocaramba.Types;
using Ocaramba.Tests.PageObjects;
public class InternetPage : ProjectPageBase
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
/// <summary>
/// Locators for elements
/// </summary>
private readonly ElementLocator
linkLocator = new ElementLocator(Locator.CssSelector, "a[href='/{0}']");
public InternetPage(DriverContext driverContext) : base(driverContext)
{
}
public JavaScriptAlertsPage GoToJavaScriptAlerts()
{
this.Driver.GetElement(this.linkLocator.Format("javascript_alerts")).Click();
return new JavaScriptAlertsPage(this.DriverContext);
}
}
}
Checkout the code or get it from nuget.org
or download Ocaramba Visual Studio templates 👁 Ocaramba Templates
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.2.8 | 233 | 1/23/2026 |
| 4.2.7 | 359 | 12/15/2025 |
| 4.2.6 | 2,693 | 11/5/2025 |
| 4.2.5 | 1,460 | 9/3/2025 |
| 4.2.4 | 1,182 | 6/25/2025 |
| 4.2.3 | 289 | 6/20/2025 |
| 4.2.2 | 459 | 6/10/2025 |
| 4.2.1 | 2,763 | 1/22/2025 |
| 4.2.0 | 802 | 11/21/2024 |
| 4.1.1 | 9,105 | 2/9/2023 |
| 4.1.0 | 637 | 2/1/2023 |
| 4.0.2 | 944 | 8/23/2022 |
| 4.0.1 | 1,235 | 6/3/2022 |
| 4.0.0 | 1,385 | 1/3/2022 |
| 3.3.1 | 2,593 | 7/21/2021 |
| 3.3.0 | 740 | 6/25/2021 |
| 3.2.12 | 9,939 | 3/8/2021 |
| 3.2.11 | 8,895 | 11/12/2020 |
| 3.2.10 | 12,056 | 4/16/2020 |
| 3.2.9 | 1,194 | 4/15/2020 |
You can find info about this release here: https://github.com/ObjectivityLtd/Ocaramba/releases