Giter Club home page Giter Club logo

selenium-framework-concept2's Introduction

selenium-framework-concept2

Selenium framework concept. Demonstrates the following concepts:

# Feature Description
1 TestNG Project uses TestNG.
2 Maven Surefire Running TestNG from a Maven Surefire goal.
3 Custom HTML Report Generating a customized report from a TestNG report listener that can contains any custom result related content that you wish.
4 Multi-Threaded Running each test class in separate threads. This sample project runs 4 threads.
5 Lazy Loaded Pages Lazily loaded page objects on demand. Does not use pre-loaded locators with PageFactory for page objects.
6 Lazy Loaded WebDriver Instance Lazily loaded WebDriver. Does not initialize WebDriver until @Test starts.
7 Builder Design Pattern WebDriver instance contained within a SeHelper class using the "Builder" design pattern.
8 TestNG DataProvider Implemented a DataProvider that loads parameterized data from the TestNG XML file/context itself.
9 Improved HTML Report HTML test report shows human readable time values. See CustomReport.html after tests finish.
10 SauceLabs Integration Project works with Selenium Grid, SauceLabs, or as standalone WebDriver. Uploads test result to SauceLabs.

Setup

This project will run with or without a Selenium grid. When running as a Grid, this project also supports SauceLabs grid. Configuration of this is found in the testng.xml file.

To run this project:

  1. Run grid hub with 'startGridHub.bat'
  2. Run grid node with 'startGridNode.bat'
  3. Run tests with 'mvn surefire:test' or 'mvn test' and look at HTML report generated under "target/surefire-reports" OR run tests as a TestNG project and look at report generated under "/test-output".

selenium-framework-concept2's People

Contributors

djangofan avatar austenjt avatar

Stargazers

dieztek avatar Pratik Barjatiya avatar Rajesh Kumar Chaudhary avatar  avatar  avatar Denys Stoianov avatar

Watchers

 avatar Denys Stoianov avatar  avatar  avatar  avatar

selenium-framework-concept2's Issues

Add a Verification class

Add a Verification class that stores up verifications and then waits until the @AfterMethod phase to throw a AssertionError .

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.