GithubHelp home page GithubHelp logo

ananthand6 / maven-selenium-webdriver-testng-example-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bkkinfo/maven-selenium-webdriver-testng-example-project

0.0 0.0 0.0 51 KB

maven-selenium-webdriver-testng-example-project

Java 100.00%

maven-selenium-webdriver-testng-example-project's Introduction

How to run the Test

Prerequisite

  1. Java environment
  2. Maven

Note: Configure web-driver path and test email address.

  • Configure webdriver.

    • I used ChromeDriver but you can choose other webdriver eg. Mozilla GeckoDriver
    • So first download ChromeDriver from http://chromedriver.chromium.org/downloads.
    • Copy your downloaded chromedriver.exe file path.
    • Go to E2EUserJourney\src\test\java\testcases\mytheresa\WebdriverSettings.java file.
    • Paste the copied file path in System.setProperty("webdriver.chrome.driver","Paste path here").
  • Configure test email address.

    • Change the value of USER_EMAIL in E2EUserJourney\src\main\java\variables\mytheresa\UserVariables.java
    • Note: with same email address you can not create account , so please change the email address before every run of the test.

Project is ready to run. Execute following commands and enjoy the automatic web-driver test.

  • Go to project path in terminal. For example: C:\Users\User-Name\eclipse-workspace\E2EUserJourney>
  • Run mvn clean
  • Run mvn compile
  • Run mvn test

You can find the test result in E2EUserJourney\target\surefire-reports\index.html.

maven-selenium-webdriver-testng-example-project's People

Contributors

prasantabarik avatar ananthand6 avatar nusratahmed avatar bkkinfo avatar maktum-star 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.