Skip to content

StefRuseva88/cross-browser-testing

Repository files navigation

CrossBrowser Testing with Selenium, Selenium Grid, Selenoid

C# .NET Google Chrome Mozilla Firefox Microsoft Edge Selenoid Selenium Grid NUnit Selenium Docker

This is a test project for Front-End Test Automation July 2024 Course @ SoftUni


Overview

This project demonstrates cross-browser testing using Selenium, Selenium Grid, and Selenoid to execute automated tests across multiple browsers and platforms. It is designed to showcase techniques for running distributed tests in parallel, ensuring web applications behave consistently across different environments.

Tools and Technologies Used

  • Selenium: For automating web browser interactions and performing functional tests.
  • Selenium Grid: To distribute and run tests across multiple machines and browsers simultaneously.
  • Selenoid: For managing browsers in containers and executing tests in a scalable, distributed environment.
  • Docker: To run and manage Selenoid containers.
  • NUnit: For structuring and running the test cases.

Key Features

  • Cross-browser testing with Chrome, Firefox, and other supported browsers.
  • Parallel execution of test cases using Selenium Grid and Selenoid for faster test cycles.
  • Containerized testing environments via Selenoid, allowing for scalable, isolated test sessions.
  • Remote test execution on multiple nodes to cover various platforms and browsers.
  • Real-time video recording of test executions for better debugging and reporting.

Test Scenarios

  • Browser Automation: Tests basic browser interactions such as navigating to a page, clicking buttons, filling forms, and verifying page elements.

  • Cross-browser Compatibility: Verifies that the web application behaves the same way on different browsers (e.g., Chrome, Firefox, Opera).

  • Parallel Test Execution: Uses Selenium Grid to run multiple tests in parallel across different browser versions and environments.

  • Headless Browser Testing: Executes tests in headless mode using Selenoid, allowing for faster test execution without opening a GUI browser.

Set Up Selenium Grid

Follow the Selenium Grid documentation to set up a grid for distributed testing.

Set Up Selenoid

Follow the Selenoid installation guide to install and configure Selenoid with Docker.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or suggestions, please open an issue in the repository.


Happy Testing! 🚀

About

CrossBrowser Tests with Selenium, Selenium Grid, Selenoid

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published