All Projects → sayems → Csharp.webdriver

sayems / Csharp.webdriver

Licence: gpl-3.0
Browser test automation using Selenium WebDriver in C#

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Csharp.webdriver

Java.appium
Mobile test automation using Appium in Java
Stars: ✭ 59 (-48.7%)
Mutual labels:  selenium, webdriver, selenium-webdriver
Htmlelements
Html Elements is a Java framework providing easy-to-use way of interaction with web-page elements in web-page tests.
Stars: ✭ 258 (+124.35%)
Mutual labels:  selenium, webdriver, selenium-webdriver
page-modeller
⚙️ Browser DevTools extension for modelling web pages for automation.
Stars: ✭ 66 (-42.61%)
Mutual labels:  webdriver, selenium, selenium-webdriver
google-meet-bot
Bot for scheduling and entering google meet sessions automatically
Stars: ✭ 33 (-71.3%)
Mutual labels:  webdriver, selenium, selenium-webdriver
Webdriverextensions
Make your WebDriver based Selenium tests more readable, reusability and maintainable by using WebDriver Extensions!
Stars: ✭ 89 (-22.61%)
Mutual labels:  selenium, webdriver, selenium-webdriver
spydriver
🕵️ Lightweight utility to intercept WebDriver and WebElement method calls.
Stars: ✭ 24 (-79.13%)
Mutual labels:  webdriver, selenium, selenium-webdriver
Cabbie
WebDriver for the masses
Stars: ✭ 70 (-39.13%)
Mutual labels:  selenium, webdriver, selenium-webdriver
Thirtyfour
Selenium WebDriver client for Rust, for automated testing of websites
Stars: ✭ 191 (+66.09%)
Mutual labels:  selenium, webdriver, selenium-webdriver
Golem
A complete test automation tool
Stars: ✭ 441 (+283.48%)
Mutual labels:  selenium, webdriver, selenium-webdriver
Selenium Maven Template
A maven template for Selenium that will let you check out and go.
Stars: ✭ 403 (+250.43%)
Mutual labels:  selenium, webdriver, selenium-webdriver
Cdp4j
cdp4j - Chrome DevTools Protocol for Java
Stars: ✭ 232 (+101.74%)
Mutual labels:  selenium, webdriver, selenium-webdriver
E2e Experiment
A demo project with Spring Boot / Angular application and e2e tests
Stars: ✭ 9 (-92.17%)
Mutual labels:  selenium, webdriver, selenium-webdriver
Steward
PHP libraries that makes Selenium WebDriver + PHPUnit functional testing easy and robust
Stars: ✭ 215 (+86.96%)
Mutual labels:  selenium, webdriver, selenium-webdriver
PWAF
Python Webdriver Automation Framework
Stars: ✭ 37 (-67.83%)
Mutual labels:  webdriver, selenium, selenium-webdriver
Panther
A browser testing and web crawling library for PHP and Symfony
Stars: ✭ 2,480 (+2056.52%)
Mutual labels:  selenium, webdriver, selenium-webdriver
atata-kendoui
A set of Atata components for Kendo UI
Stars: ✭ 17 (-85.22%)
Mutual labels:  webdriver, selenium, selenium-webdriver
Java.webdriver
Browser test automation using Selenium WebDriver in Java
Stars: ✭ 135 (+17.39%)
Mutual labels:  selenium, webdriver, selenium-webdriver
Webium
Webium is a Page Object pattern implementation library for Python (http://martinfowler.com/bliki/PageObject.html). It allows you to extend WebElement class to your custom controls like Link, Button and group them as pages.
Stars: ✭ 144 (+25.22%)
Mutual labels:  selenium, webdriver, selenium-webdriver
Atata
C#/.NET test automation framework for web
Stars: ✭ 362 (+214.78%)
Mutual labels:  selenium, webdriver, selenium-webdriver
Php Webdriver
PHP client for Selenium/WebDriver protocol. Previously facebook/php-webdriver
Stars: ✭ 4,477 (+3793.04%)
Mutual labels:  selenium, webdriver, selenium-webdriver

Selenium WebDriver in C#

This repository contains Webdriver code examples, exercises and tutorials for developers. Over time, more and more test example will be uploaded here. All tests examples in this repository is to be considered public domain unless stated otherwise.

NOTE: Currently supports the chrome Driver, and Gecko (firefox) support is on the way.

Demo website to practice Webdriver:

Here is a list of websites where you can practice Selenium webdriver. You will find the list incredibly useful as these will cover many of your real-time web automation use case scenario. Some of the common examples includes are like testing of a login page, online registration forms, and automating flight booking.

Examples with:

  • [ ] Mouse hover
  • [ ] Drag & Drop
  • [ ] Draggable
  • [ ] Selectable
  • [ ] Sortable
  • [ ] Actionable
  • [ ] Radio Button
  • [ ] Checkbox
  • [ ] Datepicker

Pre-requisites

  • Windows OS
  • Visual Studio

Let's get started

Clone the git repo

$ git clone https://github.com/sayems/csharp.webdriver

Install Visual Studio and .NET Core

  • (1) Install Visual Studio
  • (2) .NET Core
  • (3) Start Visual Studio.
  • (4) On the menu bar, choose File, Open, Project/Solution.
    Navigate to the csharp.webdriver project folder and open it

Install NUnit Templates for Visual Studio

Install NUnit 3 Test Adapter

  • Go to Tools > Extensions and Update
  • Select > Online
  • Search for "NUnit 3 Test Adapter" and install it

Install Nuget package

  • Right-click on your project and click “Manage NuGet Packages”.
  • Search for "Microsoft.Extensions.Configuration.UserSecrets" and install it
  • Search for "System.Diagnostics.Contracts" and install it
  • Search for "NUnit" Framework and install it

Install Selenium

Currently, there is no official support for .NET Core, But there is a Nuget package which provides .NET Core support for those of us who can’t wait, please visit CoreCompat.Selenium.WebDriver to learn more about it.

Install Unofficial Selenium for .Net Core

  • Search for "CoreCompat.Selenium.WebDriver" library and install it

Create NUnit test

Click on Create new project

Select Test and then Select NUnit 3 Test Project to create NUnit 3 project

Add NUnit test from Solution Explorer

Right-click on your project and click Add and then New Item

Select Test and then select NUnit Test Fixture or NUnit Setup Fixture

Congratulations! You have just created your first NUnit test!

Issues

Parallel execution of methods within a class is not yet implemented. More information is provided here: Run test methods within a fixture in parallel

Contributions

If you have any code examples you would like to contribute to this repository, please feel free to open a pull request.

Feedback

Contributors to this repo would be very grateful to receive feedback! If you would like to praise or comment on any test examples, or the repo as a whole, please do so in the issue tracker. I'd love to hear what you think, so please take a moment to let me know.

Contact

If you have any questions about this repo, or need some help to contribute, please do not hesitate to contact me.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].