Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Automate the flipkart website and return the count of items with different Star ratings, prices and number of reviews

Notifications You must be signed in to change notification settings

devendraDPI/flipkart-automation

Repository files navigation

Flipkart Automation

Selenium Xpath TestNG


This project involves automating the Flipkart e-commerce website and operating on the number of likes, reviews, etc and printing relevant item-details.


Overview

This project involves automating the Flipkart e-commerce website and operating on the number of likes, reviews, etc and printing relevant item-details.

Automating Flipkart

Scope of work

  • Automated the following Test Cases:
    • Went to flipkart.com. Searched for "Washing Machine". Sorted by popularity and printed the count of items with rating less than or equal to 4 stars.
    • Searched "iPhone", printed the Titles and discount % of items with more than 17% discount.
    • Searched "Coffee Mug", selected 4 stars and above, and printed the Title and image URL of the 5 items with highest number of reviews.

Skills used

Selenium Xpath TestNG


Prerequisites

  1. Java 21
  2. Gradle 7.5.1
  3. VS Code 1.89.1

Installation Instructions

Clear steps to set up and run the project locally.

  1. Make clone of this repo
  2. Open in VS code IDE
  3. Build using ./gradlew build command
  4. Run test using ./gradlew test command

Important Links:

  1. Flipkart
  2. Test Cases

Screenshots

Flipkart Web Application

Flipkart Web Application

gradle build

Gradle build

gradle test gradle test

Gradle test

About

Automate the flipkart website and return the count of items with different Star ratings, prices and number of reviews

Topics

Resources

Stars

Watchers

Forks

Languages