Coder Social home page Coder Social logo

mtdias / selenium-exercises-csharp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.49 MB

Exercises to improve automated testing skills.

License: Apache License 2.0

C# 100.00%
selenium selenium-chromedriver selenium-csharp selenium-firefox-driver selenium-webdriver

selenium-exercises-csharp's Introduction

Selenium-Exercises-Csharp

Selenium Learning Repository

Overview

This repository is dedicated to learning and experimenting with Selenium WebDriver in C#. It contains various test scripts that demonstrate the usage of Selenium for web automation and testing purposes. The focus is on practical learning and experimentation, making this repository ideal for those new to Selenium or looking to enhance their skills.

Prerequisites

  • Microsoft Visual Studio with .NET Framework
  • Selenium WebDriver
  • ChromeDriver (or any other browser driver you prefer)

Installation

  1. Clone the Repository: Clone this repository to your local machine.
  2. Open the Solution: Open the solution file in Visual Studio.
  3. Restore NuGet Packages: Ensure all required NuGet packages are restored and up-to-date.
  4. ChromeDriver Path: In the test scripts, update {{path_to_chrome_driver}} with the actual path to your local ChromeDriver executable.

Running Tests

To run the tests, simply navigate to the Test Explorer in Visual Studio and execute the desired tests. The repository includes multiple test scripts demonstrating different functionalities and use cases of Selenium WebDriver.

Test Scripts

  1. UnitTest1: Demonstrates basic Selenium operations using Firefox and Chrome drivers.
  2. UnitTest2: Focuses on interacting with web elements and implementing waits.
  3. UnitTest4: Deals with more advanced element interaction and assertions.
  4. UnitTest5: Showcases the usage of XPath for element selection and form handling.

Contributing

As this is a learning project, contributions in the form of suggestions, bug fixes, or additional test scripts are highly welcome. Please feel free to fork the repository and create pull requests.

License

This project is open-sourced under the Apache 2.0 License.

selenium-exercises-csharp's People

Contributors

mtdias avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.