Giter Club home page Giter Club logo

testng-project's Introduction

TDD TestNG Project

SELENIUM-TestNG-JAVA-MAVEN

This repository contains a sample project that demonstrate how to use a selenium-testNG-java, a TDD (Test Driven Development) with TestNG and JAVA. This Project showcase automation script development and utiliize various reports such as default testng reports, Extent-spark reports and allure reports. Additionally, it offers the ability to capture screenshots for tests and generate error shots for failed test cases.

INSTALLATION & PREREQUISITIES 1.JDK(1.8+)

2.Maven

3.IntelliJ IDEA

4.Required Plugins

Maven

TestNG

WHAT ARE ALL IMPLEMENTED IN FRAMEWORK

  1. Page Object Design Pattern.
  2. TestNG TDD feature for executing test cases
  3. Utility functions to handle Driver methods.
  4. Extent and Allure reports for test execution details.
  5. Docker - to execute the tests in light weight containers

GETTING STARTED

To setup the framework you can either clone the repository or download the zip file and set it up in your local workspace.

Import the project using eclipse or Intellij

RUNNING THE TESTS

Go to your project directory from commandprompt and hit following commands:

mvn clean install

mvn clean install -Dbrowser="chrome"(to use any other browser)

mvn clean install -Denv="qa"(to use any other environment)

if you are familiar with docker you can user the docker-compose yml file to run the tests in selenium grid

Use this command

docker-compose up -d

testng-project's People

Contributors

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