Learning Selenium with Java

Project Overview

This repository serves as a resource for learning Selenium with Java, covering core Java basics, Selenium fundamentals, TestNG integration, and Cucumber for BDD (Behavior-Driven Development).

Contents

  1. Core Java Basics

    • Variables, data types, loops, functions
    • Object-oriented programming: classes, objects, inheritance, polymorphism
  2. Selenium Fundamentals

    • Introduction to Selenium WebDriver
    • Locating elements, interacting with web pages, handling forms, validations
  3. TestNG Integration

    • Writing and executing test cases with TestNG
    • Managing test dependencies, parallel execution

Getting Started

To get started with this project:

  • Clone the repository: git clone <repository_url>
  • Set up your development environment with Java and Selenium WebDriver
  • Install necessary dependencies: mvn install (if using Maven)

Usage

  • Explore each directory/module for specific exercises and examples
  • Run tests using TestNG: mvn test
  • Extend and modify the codebase to suit your learning goals

Contributing

Contributions are welcome! If you'd like to improve this repository:

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/new-feature
  3. Commit your changes: git commit -am 'Add new feature'
  4. Push to the branch: git push origin feature/new-feature
  5. Submit a pull request

License

This project is licensed under the MIT License.