Skip to content

mhnaeem/DotNetSeleniumTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DotNetSeleniumTemplate

A simple opinionated project template written in C# using .NET to quickly start writing tests using Selenium.

Features

  1. Zero setup, mostly plug and play
  2. Cross platform support for both Mac OS and Windows
  3. Written with Selenium 4 and .NET 7
  4. Uses Selenium Manager to automatically manage web drivers
  5. Integrates ExtentReports for custom reporting
  6. Utilises NUnit to run tests and integrate with Visual Studio
  7. Provides helper classes and utilities to make writing tests super simple

Steps for Setup

  1. Download Visual Studio - any version >10.x should work
  2. Fork and then Clone this repo to your computer
  3. Open the DotNetSeleniumTemplate.sln solution file in Visual Studio
  4. AND that's it!

Steps to Run Tests

  1. Open the DotNetSeleniumTemplate.sln solution file in Visual Studio
  2. Open the Test Explorer in Visual Studio
  3. Double click the test name you want to run - more info

Extra Info

Currently only the envsettings.json is copied to the output directory, so modify it to change settings

Releases

No releases published

Packages

No packages published

Languages