Code Monkey home page Code Monkey logo

seleniumwebdrivermavendemo's Introduction

Page Object Model as Architecture for Maven-Selenium Project

  • Automation test suite for Web Application

Key Feature

  1. Java 8
  2. Maven
  3. ๐Ÿ”ฅ Selnium 4.0 Webdriver
  4. ๐Ÿ”ฅ Extent Spark Report
  5. ๐Ÿ”ฅ Log4j2
  6. Cross Browser Testing
  7. WebDriverManager

Setup Project on Machine for work

  • Install IntelliJ IDEA
  • Install java
  • Install jdk & jre
  • As it is a Maven project, no other dependencies need to download. All the dependencies that required for project is already added.

After setting up IntelliJ & Java on your machine

  • Download the project from git and unzip it or take a git clone.
  • Open IntelliJ
  • Import projects pop up will open
  • Browse the project from your local machine.

Run Project and Get a Report & logs

  • Run TestNg Suite
  • wait till project run completly. Once it finished.
  • Expand Report folder and you will find latest report there with latest date and time.
  • Click on Report and open with web-browser
  • Find logs in log folder

Running test suites from the command line

  • install maven onto your machine
  • CD into the directory containing the test suite for the application you want. cd com.sample.www
  • Run $ mvn clean test -DsuiteFile=testng.xml

seleniumwebdrivermavendemo's People

Contributors

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