Skip to content

vishal4victory/AmazonUI

Repository files navigation

Amazon Web UI - Search Result Validation Test

Introduction

This is a maven repository which automates product search on amazon and validation of the results based on a specific search criteria. The automation framework is designed using

  1. page object model pattern
  2. Factory pattern for Object initilisation and uses reflection to load the objects
  3. Facade pattern for WebDriver initilisation.
  4. Null Object Pattern for Objects initilisation in TestClass
  5. uses JAXB class to capture and validate the results.
  6. Uses Extent report for capturing the results.
  7. Captures screenshot in case of failure at any assertion level.

Requirements

Supports execution on chrome (79.0.3945.130 ) from mac, java 1.8

Getting Started

All applications in this repository should be automatically importable, compilable, and runnable. A good place to start is to try the Basic Playback Sample App.

  1. Clone this repository onto your computer or download the zip
  2. import to workspace
  3. Update the maven project and import dependencies from pom.xml
  4. open the testSuite - AmazonUI/testSuite/testng.xml
  5. RightCLick the testng.xml and RunAs - TestNG-> with VM arguments

-Dbrowser="chrome" -Dplatform="mac"

  1. Or execute using mvn command as below

mvn -f pom.xml clean test -DsuiteXmlFile=testSuite/testng.xml -Dbrowser="chrome" -Dplatform="mac"

  1. The Testclass has the details of the steps.
  2. Has Extent report for result validation.
  3. Has log4j.Logger implementation for logging on the console

Thank you for reading!

About

AmazonUI automation framework for search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published