bvidur / AzureDevOps_Selenium_DotNet

Use .NET Core and Selenium with Azure DevOps

Home Page:https://www.swimburger.net/blog/dotnet/how-to-ui-test-using-selenium-and-net-core-on-windows-ubuntu-and-maybe-macos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build: Build Status

QA Deploy (fake): QA Deploy (Fake)
Verify QA Ubuntu: Verify QA Ubuntu
Verify QA Windows: Verify QA Windows

AzureDevOps Selenium DotNet

This is the reference repository for the following blog posts on swimburger.net:

Prerequisites

  • .NET Core SDK (2.2)
  • Windows, Linux, or MacOS dev machine
  • Chrome/Chromium web browser
  • Chrome WebDriver (make sure the driver version matches the browser version)

How to run

To run the tests, use dotnet cli with the settings parameter pointing to .runsettings.

cd Demo.SeleniumTests
dotnet test -s .runsettings

The .runsettings allows you to specify test parameters, in this case webAppUrl and headless. On a shell only OS (no gui), you'll need to use headless.

About

Use .NET Core and Selenium with Azure DevOps

https://www.swimburger.net/blog/dotnet/how-to-ui-test-using-selenium-and-net-core-on-windows-ubuntu-and-maybe-macos

License:The Unlicense


Languages

Language:C# 100.0%