How To Use NUnit Annotations For Selenium Automation Testing [With Example]

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • NUnit

    NUnit Framework

  • NUnit framework can be downloaded through the NuGet Package Manager. Its features can be best explored when it is used with C# on the Visual Studio IDE. Below are the requisites for setting up the NUnit framework:

  • NodeJs-Cucumber-Selenium

    Run test automation on cloud with Cucumber.js and LambdaTest. This is a sample repo to help you execute Cucumber.js framework based test scripts in parallel with LambdaTest automation testing cloud

  • using System; using OpenQA.Selenium; using OpenQA.Selenium.Remote; using NUnit.Framework; using System.Threading; using System.Collections.Generic; namespace Parameterized_TestFixtures { // Matches Constructor 1 [TestFixture("chrome", "http://www.duckduckgo.com")] [TestFixture("internet explorer", "http://www.google.com")] [TestFixture("MicrosoftEdge", "http://www.lambdatest.com")] // Matches Constructor 2 [TestFixture("chrome", "18.0", "Windows 10", "http://www.lambdatest.com")] public class Parameterized_Fixs { ThreadLocal driver = new ThreadLocal(); private String browser; private String version; private String os; private String url; // Constructor - 1 public Parameterized_Fixs(String browser, String url) { this.browser = browser; this.url = url; } // Constructor - 2 public Parameterized_Fixs(String browser, String version, String os, String url) { this.browser = browser; this.version = version; this.os = os; this.url = url; } ............................................................... ............................................................... } ............................................................... ............................................................... }

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts