Code Monkey home page Code Monkey logo

amazon_shopping's Introduction

Amazon automation

This contains a test for purchasing an tv 65 screen.

Overview on automation framework

Structure

This automation framework has been created using Cucumber as a BDD framework You will find that the structure has been divided into three parts:

  • Features : These contain the features and test scenario written in a Gherkin syntax

  • Steps : These contain the glue code that are linked to the features. Also, a hook file where you will find before and after hooks that enable reporting and a tear down hook. Finally, you will find a TestRunner. This test runner will allow you to use TestNG to run specifically features and is also needed for providing the Report.

  • PageObjects: These contain specific locators and page specific functions for specific screens

Prereqs:

  • Install Java 8 or later
  • Appium
  • Maven

Installation

Use the following command to install:

mvn install

Running tests

To run the test please use the following command:

mvn test

Reports

After a test run this automation framework will automatically create a report. You can find that report under:

target/site/cucumber-pretty/index.html

amazon_shopping's People

Contributors

ptewarie avatar dependabot[bot] avatar

Watchers

 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.