Ossa.TestFramework.UIIntegration.Selenium 1.0.1

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Ossa.TestFramework.UIIntegration.Selenium --version 1.0.1                
NuGet\Install-Package Ossa.TestFramework.UIIntegration.Selenium -Version 1.0.1                
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="Ossa.TestFramework.UIIntegration.Selenium" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ossa.TestFramework.UIIntegration.Selenium --version 1.0.1                
#r "nuget: Ossa.TestFramework.UIIntegration.Selenium, 1.0.1"                
#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.
// Install Ossa.TestFramework.UIIntegration.Selenium as a Cake Addin
#addin nuget:?package=Ossa.TestFramework.UIIntegration.Selenium&version=1.0.1

// Install Ossa.TestFramework.UIIntegration.Selenium as a Cake Tool
#tool nuget:?package=Ossa.TestFramework.UIIntegration.Selenium&version=1.0.1                

Ossa.TestFramework.UIIntegration.Selenium

Overview

This package based on Selenium and C# provides a set of methods and test project configuration to speed up UI/Integration tests. Along with configuration assistance to support the Ossa.TestFrameWorkTemplates 'ossa-test-selenium' template, the test methods are designed to be consitent across both Ossa.TestFramework.UIIntegration.Selenium and Ossa.TestFramework.UIIntegration.Playwright packages

The package provides functionality for organising actions in Steps, and provides a simple interface for performing common UI test actions and selection methods.

Advantages are:

  • reduced reliance on complex selectors

  • Tested helper methods for dropdowns, iframes, slider/range inputs, and more

  • Addition of focus, scroll-to, and wait for element functionality to improve reliability of tests similar to playwright.

  • Automatic snapshots after each user step and snapshot on error/test failure

  • Reduced need to keep updating driver packages as browsers get updated. This is done with the inclusion of WebDriverManager.

Getting Started

Install the package to your integration project using nuget manager or from the dotnet command line: dotnet new add Ossa.TestFramework.UIIntegration.Selenium or install the starter template

Starter integration project

See nuget package Ossa.TestFramework.Templates for a starter project and install the ossa-test-selenium template.

Prerequisites

  • Recommended Visual studio 2022 or later
  • .NET 8.0 or later

Usage

Ossa.TestFramework.Templates for a starter project example or see the devops WIKI. Main components are SeleniumBrowserSession (implementing IBrowserSession) and SeleniumByLocator (implemeting IByLocator). Which can be used to implement a PageObject pattern for your tests

Want to implement some additional selenium code? Simply use the IBylocator.Selector to obtain a Selenium 'By' object you can work with

Additional documentation

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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. 
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
1.1.0-alpha0720 77 6/7/2024
1.0.1 132 6/7/2024
1.0.0-beta0001 76 6/7/2024
0.4.0 88 6/7/2024
0.4.0-alpha0054 78 6/7/2024
0.4.0-alpha0049 82 6/7/2024
0.4.0-alpha0048 66 6/7/2024
0.4.0-alpha0041 83 6/7/2024
0.4.0-alpha0039 90 6/6/2024
0.4.0-alpha0038 76 6/6/2024
0.4.0-alpha0037 83 6/6/2024
0.4.0-alpha0025 83 6/6/2024
0.4.0-alpha0017 78 6/6/2024
0.4.0-alpha0016 77 6/6/2024
0.4.0-alpha0014 78 6/5/2024
0.4.0-alpha0012 66 6/5/2024
0.4.0-alpha0010 70 6/5/2024
0.4.0-alpha0007 64 6/5/2024
0.4.0-alpha0006 81 6/5/2024
0.4.0-alpha0004 76 6/5/2024
0.4.0-alpha0003 68 6/5/2024
0.4.0-alpha0002 74 6/5/2024
0.4.0-alpha0001 68 6/5/2024
0.2.0-fastertests-ah0001 154 6/3/2024 0.2.0-fastertests-ah0001 is deprecated.
0.2.0-alpha0705 98 6/4/2024 0.2.0-alpha0705 is deprecated.
0.2.0-alpha0701 83 6/3/2024 0.2.0-alpha0701 is deprecated.
0.2.0-alpha0696 89 6/3/2024 0.2.0-alpha0696 is deprecated.
0.2.0-alpha0692 85 6/3/2024 0.2.0-alpha0692 is deprecated.
0.2.0-alpha0690 90 6/3/2024 0.2.0-alpha0690 is deprecated.
0.2.0-alpha0688 90 6/3/2024 0.2.0-alpha0688 is deprecated.
0.2.0-alpha0670 86 6/3/2024 0.2.0-alpha0670 is deprecated.
0.2.0-alpha0668 81 6/2/2024 0.2.0-alpha0668 is deprecated.
0.2.0-alpha0662 91 5/30/2024 0.2.0-alpha0662 is deprecated.
0.2.0-alpha0651 95 5/29/2024 0.2.0-alpha0651 is deprecated.
0.2.0-alpha0650 89 5/29/2024 0.2.0-alpha0650 is deprecated.
0.2.0-alpha0641 94 5/29/2024 0.2.0-alpha0641 is deprecated because it has critical bugs.
0.2.0-alpha0639 96 5/29/2024 0.2.0-alpha0639 is deprecated because it has critical bugs.
0.2.0-alpha0634 92 5/28/2024 0.2.0-alpha0634 is deprecated because it has critical bugs.
0.2.0-alpha0622 92 5/28/2024 0.2.0-alpha0622 is deprecated because it has critical bugs.
0.2.0-alpha0617 110 5/24/2024 0.2.0-alpha0617 is deprecated because it has critical bugs.
0.2.0-alpha0608 101 5/23/2024 0.2.0-alpha0608 is deprecated because it has critical bugs.
0.2.0-alpha0602 88 5/23/2024 0.2.0-alpha0602 is deprecated because it has critical bugs.
0.2.0-alpha0598 95 5/23/2024 0.2.0-alpha0598 is deprecated because it has critical bugs.
0.2.0-alpha0596 96 5/22/2024 0.2.0-alpha0596 is deprecated because it has critical bugs.
0.2.0-alpha0593 98 5/22/2024 0.2.0-alpha0593 is deprecated because it has critical bugs.
0.2.0-alpha0583 95 5/22/2024 0.2.0-alpha0583 is deprecated because it has critical bugs.
0.2.0-alpha0581 83 5/22/2024 0.2.0-alpha0581 is deprecated because it has critical bugs.
0.2.0-alpha0576 102 5/21/2024 0.2.0-alpha0576 is deprecated because it has critical bugs.
0.2.0-alpha0575 89 5/21/2024 0.2.0-alpha0575 is deprecated because it has critical bugs.
0.2.0-alpha0563 85 5/21/2024 0.2.0-alpha0563 is deprecated because it has critical bugs.
0.2.0-alpha0561 107 5/21/2024 0.2.0-alpha0561 is deprecated because it has critical bugs.
0.2.0-alpha0548 100 5/20/2024 0.2.0-alpha0548 is deprecated because it has critical bugs.
0.2.0-alpha0547 72 5/20/2024 0.2.0-alpha0547 is deprecated because it has critical bugs.
0.2.0-alpha0539 92 5/17/2024 0.2.0-alpha0539 is deprecated because it has critical bugs.
0.2.0-alpha0501 106 5/10/2024 0.2.0-alpha0501 is deprecated because it has critical bugs.
0.2.0-alpha0433 79 5/2/2024 0.2.0-alpha0433 is deprecated because it has critical bugs.
0.2.0-alpha0408 97 4/28/2024 0.2.0-alpha0408 is deprecated because it has critical bugs.
0.2.0-alpha0401 102 4/22/2024 0.2.0-alpha0401 is deprecated because it has critical bugs.
0.2.0-alpha0399 107 4/19/2024 0.2.0-alpha0399 is deprecated because it has critical bugs.
0.2.0-alpha0398 108 4/18/2024 0.2.0-alpha0398 is deprecated because it has critical bugs.
0.2.0-alpha0396 94 4/18/2024 0.2.0-alpha0396 is deprecated because it has critical bugs.
0.2.0-alpha0395 83 4/18/2024 0.2.0-alpha0395 is deprecated because it has critical bugs.
0.2.0-alpha0352 89 4/18/2024 0.2.0-alpha0352 is deprecated because it has critical bugs.
0.2.0-alpha0350 91 4/18/2024 0.2.0-alpha0350 is deprecated because it has critical bugs.
0.2.0-alpha0349 111 4/17/2024 0.2.0-alpha0349 is deprecated because it has critical bugs.
0.2.0-alpha0347 105 4/16/2024 0.2.0-alpha0347 is deprecated because it has critical bugs.
0.2.0-alpha0346 100 4/12/2024 0.2.0-alpha0346 is deprecated because it has critical bugs.
0.2.0-alpha0345 113 4/12/2024 0.2.0-alpha0345 is deprecated because it has critical bugs.
0.2.0-alpha0339 99 4/12/2024 0.2.0-alpha0339 is deprecated because it has critical bugs.
0.2.0-alpha0337 105 4/11/2024 0.2.0-alpha0337 is deprecated because it has critical bugs.
0.2.0-alpha0335 97 4/11/2024 0.2.0-alpha0335 is deprecated because it has critical bugs.
0.2.0-alpha0333 101 4/10/2024 0.2.0-alpha0333 is deprecated because it has critical bugs.
0.2.0-alpha0309 109 4/10/2024 0.2.0-alpha0309 is deprecated because it has critical bugs.
0.2.0-alpha0307 109 4/4/2024 0.2.0-alpha0307 is deprecated because it has critical bugs.
0.2.0-alpha0305 110 4/3/2024 0.2.0-alpha0305 is deprecated because it has critical bugs.
0.2.0-alpha0303 112 4/2/2024 0.2.0-alpha0303 is deprecated because it has critical bugs.
0.2.0-alpha0294 96 4/1/2024 0.2.0-alpha0294 is deprecated because it has critical bugs.
0.2.0-alpha0293 108 3/28/2024 0.2.0-alpha0293 is deprecated because it has critical bugs.
0.2.0-alpha0292 103 3/28/2024 0.2.0-alpha0292 is deprecated because it has critical bugs.
0.2.0-alpha0291 97 3/27/2024 0.2.0-alpha0291 is deprecated because it has critical bugs.
0.2.0-alpha0290 106 3/27/2024 0.2.0-alpha0290 is deprecated because it has critical bugs.
0.2.0-alpha0283 99 3/26/2024 0.2.0-alpha0283 is deprecated because it has critical bugs.
0.2.0-alpha0273 106 3/24/2024 0.2.0-alpha0273 is deprecated because it has critical bugs.
0.2.0-alpha0271 93 3/24/2024 0.2.0-alpha0271 is deprecated because it has critical bugs.
0.2.0-alpha0264 104 3/24/2024 0.2.0-alpha0264 is deprecated because it has critical bugs.
0.2.0-alpha0260 106 3/24/2024 0.2.0-alpha0260 is deprecated because it has critical bugs.
0.2.0-alpha0234 105 3/21/2024 0.2.0-alpha0234 is deprecated because it has critical bugs.
0.2.0-alpha0218 117 3/20/2024 0.2.0-alpha0218 is deprecated because it has critical bugs.
0.2.0-alpha0217 108 3/19/2024 0.2.0-alpha0217 is deprecated because it has critical bugs.
0.2.0-alpha0212 113 3/19/2024 0.2.0-alpha0212 is deprecated because it has critical bugs.
0.2.0-alpha0204 92 3/18/2024 0.2.0-alpha0204 is deprecated because it has critical bugs.
0.2.0-alpha0202 129 3/18/2024 0.2.0-alpha0202 is deprecated because it has critical bugs.