Giter VIP home page Giter VIP logo

selenium-test-template's Introduction

Selenium-Test-Template

Java Version Selenium Version TestNG Version

Selenium-Test-Template is a template project designed to accelerate web automation testing using Selenium and TestNG. This repository provides a structured foundation for creating and managing automated tests for web applications.

Features

  • Pre-configured Maven project for easy setup and dependency management.
  • Integrated TestNG for organized test suite management and reporting.
  • Utility functions for common Selenium operations to enhance test development efficiency.
  • Example test cases to serve as a reference for writing your own tests.
  • Easily adaptable for different web applications and testing scenarios.

Getting Started

Prerequisites

  • Java Development Kit (JDK) installed
  • Maven installed
  • Web browser of your choice (e.g., Chrome, Firefox) installed

Installing Dependencies

To set up the project, run the following command:

mvn clean install

This will download the required dependencies and set up the project for use.

Running Tests

To execute your tests, run the following command:

mvn test

This command will trigger the TestNG framework to execute all TestNG xmls located in the src/main/resources directory.

Reports

After executing tests using TestNG, the framework generates HTML reports which can be located in the target/surefire-reports directory.

Additionally, this project utilizes the ExtentReports library for enhanced reporting capabilities. The ExtentReports generated reports can be found in the reports/index.html file.

Contributing

Contributions are welcome! If you'd like to enhance this template or report issues, please open a pull request or submit an issue.

License

This project is in the public domain. You are free to use, modify, and distribute it without any restrictions.

selenium-test-template's People

Contributors

ibrahim-rafei avatar

Stargazers

 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.