Skip to content

This project involves the automation of the EMI Calculator app using Selenium and Appium. Various test cases were executed using different data sets to ensure that the system gives accurate results. The project also includes the creation of an Allure report to display the test results. Additionally, an output video has been attached as a reference.

Notifications You must be signed in to change notification settings

mufrad12/EMI-Calculator-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EMI-Calculator-Automation

Appium Basic Google Calculator Automation

This is an automation on EMI calculator app with Selenium Appium.

EMI Calculator is simple loan calculation tool that helps user to quickly calculate EMI and view payment schedule. Use this app to calculate your EMI (Equated Monthly Instalment), plan your loan repayment in effective way. This app is the advanced Financial Tool that is useful for day to day life with all useful features and keep upto date with the latest news.

Technology:

  • Tool: Selenium Webdriver
  • IDE: Intellij, Android Studio
  • Build tool: Gradle
  • Language: Java
  • Test_Runner: Appium

Scenerio:

If an user take loan (?) tk from a bank with interest of (?)% and want to give (?) tk per month as EMI (installment) and processing fee (?)%, how many time period it will take to complete the loan? Take the values from dataset and assert the monthly EMI, total interest, processing fee amount and total payment from the result view. (See below image)

For solve this question, create a dataset using following values:

Amount | Interest | EMI | Processing Fee | Monthly EMI | Total Interest | Processing Fee | Total Payment | Period (Year) | Period (Month)

100000 | 6 | 2000 | 2% | 2000 | 15361.08 | 2000 | 115361.08 | 4 | 10 200000 | 8 | 5000 | 2% | 5000 | 33391.61 | 4000 | 233391.61 | 3 | 11

250000 | 7 | 8000 | 1.5% | 8000 | 26804.51 | 3750 | 276804.51 | 2 | 11

50000 | 10 | 1000 | 5% | 1000 | 14949.12 | 2500 | 64949.12 | 5 | 5

Prerequisites

  • Install Android Studio latest version
  • Install Appium 1.17.1
  • Install jdk 8 or any LTS version

How to run this project:

  • Clone this project
  • Open Android Studio and Open the APK file:
  • Set required configuration
  • Hit this command in cmd for checking the connectivity with emulator : adb devices
  • Open Appium Server with following command: appium -p 4723
  • Open Appium Inspector
  • Set desired capabilites in json format:
 {
 "appium:deviceName": "emulator",
  "appium:uuid": "emulator-5554",
  "platformName": "Android",
  "appium:platformVersion": "11",
  "appium:appPackage": "com.continuum.emi.calculator",
  "appium:appActivity": "com.finance.emicalci.activity.Splash_screnn",
  "appium:app": "D:\\RTSDET\\APK\\emi-calc.apk"
  }
  • Open Intellij Idea

  • Hit the following command into the terminal: gradle clean test

  • The following report is generated:

Screenshot 2023-03-02 231256

  • After automation to view allure report , give the following commands:
allure generate allure-results --clean -o allure-report
allure serve allure-results

Here is the Allure report overview: Screenshot 2023-03-02 230042

Screenshot 2023-03-02 230054

Automation Video Output:

2023-03-04.00-16-05.mp4

About

This project involves the automation of the EMI Calculator app using Selenium and Appium. Various test cases were executed using different data sets to ensure that the system gives accurate results. The project also includes the creation of an Allure report to display the test results. Additionally, an output video has been attached as a reference.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages