Giter Site home page Giter Site logo

bhaveshs009 / selenium-java-testng-complete-framework Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 6.0 575 KB

A complete data driven end to end selenium java framework, designed with POM(Page Object Model) concept using page factory class. Demonstration of parallel execution along with extent reports and testNG reports provided.D

HTML 32.30% Java 47.19% CSS 12.96% JavaScript 7.55%
datadriventesting end-to-end-test-automation excelreader extentreports java page-object-model pagefactory-framework parallel-processing selenium testng

selenium-java-testng-complete-framework's Introduction

End-to-end "Selenium Automation" framework for a demo e-commerce website, which can be used as a real-life automation project of any website.

Highlights

Language - Java 11

Page Object Design Pattern - PageFactory

Selenium - Selenium 4.18.1

Reporter - Dual Support of - Spark as well as TestNGReporter

Build Type - Maven(for build management)

TestData Source - ExcelFile consists of each Excel sheet for individual test case

Listener - Use of TestNG and WebDriverListener for effective logging of automation

Multiple Test Classes - To demonstrate practical use case of individual webpage test execution

Parallel Execution - Support of parallel test cases execution to reduce the test automation execution time up to multi-fold

Snapshot - Embedded image of failed test cases in Spark Reporter

===================================================

**Execution Step - **

To Execute -

  1. "Parallel Execution" - run xml file "testng_ParallelTestClassExecution.xml" as TestNG suite
  2. "Sequential Execution" - run xml file "testng_SequencialTestClassExecution.xml" as TestNG suite

===================================================

Reports Output -

*Spark Report are available at folder "Reports" - file name created with appended execution time stamp

*TestNG Report is available in "test-output" folder, having file name "index.html".

Thanks for you Time, Happy Coding ๐Ÿฅ‡

selenium-java-testng-complete-framework's People

Contributors

bhaveshs009 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.