VOOZH about

URL: https://deepwiki.com/Accenture/Ocaramba/9-glossary

⇱ Glossary | Accenture/Ocaramba | DeepWiki


Loading...
Last indexed: 6 June 2026 (fb3580)
Menu

Glossary

This page provides technical definitions and implementation details for core concepts, class names, and abbreviations used throughout the Ocaramba framework. It serves as a reference for onboarding engineers to understand how domain terms map to specific code entities.

Core Framework Concepts

DriverContext

The central state container for a test session. It manages the lifecycle of the IWebDriver and provides access to framework services like logging, performance measurement, and soft assertions.

  • Implementation: It manages the IWebDriver instance and provides properties for VerifyMessages, PerformanceMeasures, and test metadata. OcarambaLite/DriverContext.cs51-171
  • Mobile Support: Includes specialized methods like SwitchToWebView and SwitchToNative for Appium-based mobile automation. OcarambaLite/DriverContext.cs182-205
  • Data Flow: Initialized during test setup, passed to Page Objects via the constructor, and accessed via the Driver property. README.md107-110

Diagram: DriverContext Role in POM


Sources: OcarambaLite/DriverContext.cs51-205 README.md107-110

BaseConfiguration

A static utility class that provides strongly-typed access to configuration values defined in appsettings.json. OcarambaLite/BaseConfiguration.cs1-30

Sources: OcarambaLite/BaseConfiguration.cs1-30 Ocaramba/Ocaramba.csproj46-47 OcarambaLite/DriverContext.cs97-125

Verify (Soft Assertions)

A mechanism to perform multiple assertions within a single test without stopping execution upon the first failure. README.md37

Sources: OcarambaLite/Verify.cs1-40 OcarambaLite/DriverContext.cs165-171 README.md37


Codebase Terminology

TermDefinitionFile Pointer
OcarambaLiteThe foundational engine containing core driver logic, extensions, and element wrappers. It is designed to be lightweight without driver binaries.OcarambaLite/OcarambaLite.csproj6-24
OcarambaThe primary distribution package that includes OcarambaLite plus Selenium driver dependencies (Chrome, Gecko).Ocaramba/Ocaramba.csproj31-37
ProjectPageBaseThe base class for all Page Objects. It receives DriverContext and provides access to the WebDriver.README.md107-110
ProjectTestBaseThe base class for test fixtures (NUnit, MsTest, etc.). It manages the DriverContext lifecycle.README.md76
ElementLocatorDefines how to find elements using the Locator enum (XPath, ID, etc.) and supports parameterized locators.OcarambaLite/Locator.cs1-30 OcarambaLite/Extensions/LocatorExtensions.cs1-30
TestLoggerA framework-level logger that wraps NLog to provide standardized test starting/ending logs.OcarambaLite/Logger/TestLogger.cs1-50
PerformanceHelperHelper class to measure action times (average/90th percentile).OcarambaLite/Helpers/PerformanceHelper.cs20-40
FilesHelperUtility for file operations like checking downloads or file types.OcarambaLite/Helpers/FilesHelper.cs15-35

Sources: OcarambaLite/OcarambaLite.csproj1-24 Ocaramba/Ocaramba.csproj1-66 README.md1-120 OcarambaLite/Logger/TestLogger.cs1-50 OcarambaLite/Helpers/PerformanceHelper.cs20-40 OcarambaLite/Helpers/FilesHelper.cs15-35


Technical Helpers & Extensions

SearchContextExtensions

Extends standard Selenium search capabilities to include framework features like automatic waiting and retries.

  • GetElement: The primary method for finding elements. It uses WaitHelper to poll for element presence/visibility based on configuration. README.md33
  • Wait Logic: Uses BaseConfiguration.MediumTimeout for default polling intervals. OcarambaLite/DriverContext.cs187

Sources: README.md33 OcarambaLite/DriverContext.cs182-205

Performance Measurement

Ocaramba provides built-in utilities for tracking execution metrics during UI tests.

Sources: OcarambaLite/DriverContext.cs84 README.md38 OcarambaLite/Helpers/PrintPerformanceResultsHelper.cs10-30


Execution & CI/CD Terms

Docker Execution

Ocaramba supports running tests inside Linux containers, often using a Selenium Grid architecture. README.md47

Sources: README.md47 Ocaramba.Tests.Features/Ocaramba.Tests.Features.csproj43-45 OcarambaLite/BaseConfiguration.cs15-25

Cloud Provider Integration

Framework projects dedicated to executing tests on remote infrastructure like BrowserStack or SauceLabs.

  • BrowserStack: Integration is supported via specialized configurations and parallel execution capabilities. README.md35
  • Cross-Browser: Parallel execution is managed via Ocaramba.Tests.CloudProviderCrossBrowser. README.md62

Diagram: Cloud Execution Configuration


Sources: README.md35-62 OcarambaLite/DriverContext.cs79-84