Skip to content

QualityOwl/demo-selenium-webdriver-csharp

Repository files navigation

Selenium WebDriver (C#) Project

This repository contains my Selenium WebDriver project written in C# from scratch. The project is designed to showcase my skills and demonstrate my understanding of test automation using Selenium WebDriver.

Getting Started

To get started with this solution, you will need the following:

  • Visual Studio 2022 (or later)
  • Chrome browser (latest version)

Installation

  1. Clone this repository to your local machine using the following command:

git clone https://github.com/QualityOwl/demo-selenium-webdriver-csharp.git

  1. Open the solution file 'WebDriverDemo.sln' in Visual Studio.

  2. Build the solution in Visual Studio.

Usage

The solution contains test cases that demonstrate how to use Selenium WebDriver to automate browser interactions. Tests cover two applications: Google Search and Sauce Labs. To run the tests, follow these steps:

  1. Open the Test Explorer window in Visual Studio by selecting 'Test' > 'Test Explorer' from the menu bar.

  2. In the 'Test Explorer' window, select any test case of your choice and click the 'Run' button.

  3. The Chrome browser will launch and the test case will execute.

Contributing

If you find any bugs or issues with this solution, please feel free to open a GitHub issue. I welcome any feedback or contributions that can help improve this solution.

License

This solution is licensed under the MIT License. Feel free to use this solution in any way you see fit, but please give credit where credit is due.

About

Selenium WebDriver framework in C# - layered architecture with page objects, runners, wrappers, and xUnit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages