Giter Club home page Giter Club logo

expediaautomatedwithjava's Introduction

Selenium Page Object Pattern example with Java - Expedia Travel website.

Description:

Page Object Pattern with Page Factory, implementation base on the https://www.expedia.com/ webpage.

Tests were implemented and run on:

  • System: Linux Ubuntu 16.04 LTS
  • Browsers: Firefox Quantum 58.0.2, Chrome 65.0.3325.146 (both 64-bit)
  • Selenium WebDriver: 3.9.0
  • Java 1.8.0

To Run Tests - Linux Ubuntu:

1.Install JDK 1.8

2.Install Apache Maven

3.Install IDE of your choice (Eclipse, IntelliJ IDEA)

4.Download drivers, unpack, make executable and copy to /usr/local/bin:

geckodriver: https://github.com/mozilla/geckodriver/releases

chromedriver: https://sites.google.com/a/chromium.org/chromedriver/

(example below shows how add to path geckodriver)

tar -xvzf geckodriver-v0.11.1-linux64.tar.gz
rm geckodriver-v0.11.1-linux64.tar.gz
chmod +x geckodriver
cp geckodriver /usr/local/bin/

4.Add drivers to the PATH

5.Clone/Download project: https://github.com/MaBlaGit/ExpediaAutomatedWithJava.git

6.Open project and run in selected IDE

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.