Skip to content

Create automated scripts to test eCommerce mobile app place an order as a guest.

Notifications You must be signed in to change notification settings

Shaishab10/NopCart_Ecommerce_App_Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NopCart_Ecommerce_App_Automation

In this repository, Selenium WebDriver & Appium are used to automate the NopCart Ecommerce App. Here, I have covered folowing tasks:

  • Customer add Products in his shopping cart.
  • Customer successfully place order as a guest user.

Tools & Technology used:

  • Selenium Webdriver
  • Appium
  • Android Studio
  • Appium Inspector
  • TestNG Framework
  • Java
  • Intellij idea
  • Gradle
  • Allure

Prerequisites

  • jdk
  • gradle
  • appium

How to run this project:

  • Clone this project
  • Give this following command for checking the connectivity with emulator : adb devices
  • Open Appium Server with this following command: appium
  • Open Appium Inspector
  • Set desired capabilites in json format & click Start Session:
{
  "platformName": "Android",
  "platformVersion": "11",
  "appPackage": "com.nopstation.nopcommerce.nopstationcart",
  "appActivity": "com.bs.ecommerce.main.SplashScreenActivity",
  "app": "e:\\apk\\ecom.apk",
  "automationName": "UiAutomator2"
}

"app" apk location in user pc & "platformVersion" user emulator android version.

  • Open build.gradle file as a project with Intellij IDEA
  • Open terminal
  • Give this following command: gradle clean test
  • For generating Allure Report use these commands: allure generate allure-results --clean -output & allure serve allure-results

Allure Report

Screenshot 2024-04-03 134123

Output Video

Ecommerce.app.mp4

About

Create automated scripts to test eCommerce mobile app place an order as a guest.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages