Skip to content

UI Testing Framework: .NET Specflow in parallel using Selenium and NUnit 3

Notifications You must be signed in to change notification settings

rlupo06/csharp-specflow-selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

csharp-specflow-selenium

Resources

Environment setup

In Powershell run the following commands

  • Install scoop:

    iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

  • Install nodejs:

    scoop install nodejs

  • Install Selenium-standalone:

    npm install selenium-standalone -g

    selenium-standalone install

Setup - Windows

Download and install Visual Studio

Visual Studio Config

Open Visual Studio and configure the following;

Install Add-ins

Tools => Extensions

  • NUnit 3 Test Adapter
  • Specflow flow Visual Studio

Running

Start the selenium server

  • In Powershell run

    selenium-standalone start

IDE

  • Build
  • Visual Studio: Tests => Windows => Test Explorer

Local Execution

nunit3-console.exe "\pathToProject\Specflow.Selenium.csproj" --where "cat=TagYouWantToRun"

About

UI Testing Framework: .NET Specflow in parallel using Selenium and NUnit 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published