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.
To get started with this solution, you will need the following:
- Visual Studio 2022 (or later)
- Chrome browser (latest version)
- Clone this repository to your local machine using the following command:
git clone https://github.com/QualityOwl/demo-selenium-webdriver-csharp.git
-
Open the solution file 'WebDriverDemo.sln' in Visual Studio.
-
Build the solution in Visual Studio.
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:
-
Open the Test Explorer window in Visual Studio by selecting 'Test' > 'Test Explorer' from the menu bar.
-
In the 'Test Explorer' window, select any test case of your choice and click the 'Run' button.
-
The Chrome browser will launch and the test case will execute.
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.
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.