Coder Social home page Coder Social logo

siddik-1997 / app-automation-on-google-calculator-with-selenium-appium Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 22 KB

This Git project demonstrates app automation on the Google calculator app using Selenium and Appium. The tests cover different calculator functions such as addition, subtraction, multiplication, and division. The project also includes generating an Allure report for test results analysis and visualization.

Java 100.00%
androidstudio apk appium appium-android intellij java-8 selenium selenium-webdriver

app-automation-on-google-calculator-with-selenium-appium's Introduction

App Automation on Google Calculator with Selenium Appium

What does App Automation with Selenium Appium mean?

App automation with Selenium Appium is the process of automating mobile applications using the Appium tool. It allows developers and testers to create and run automated tests for mobile applications on both Android and iOS platforms. With Appium, you can write and execute automated tests that simulate user actions, such as clicking buttons, entering text, and swiping screens.

App automation with Selenium Appium is beneficial because it allows developers and testers to catch issues and bugs early in the development cycle, thus reducing the time and cost associated with manual testing. Additionally, Appium enables cross-platform testing, allowing you to write tests once and run them across multiple devices and operating systems.

Technology used:

  • Selenium Webdriver
  • Appium
  • Intellij
  • Android Studio
  • Appium Inspector
  • Gradle
  • Java

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.google.android.calculator",
  "appium:appActivity": "com.android.calculator2.Calculator",
  "appium:app": "D:\\APK\\calculator.apk"
  }
  • Open Intellij Idea
  • Hit the following command into the terminal: gradle clean test
  • For generating Allure Report use these commands: allure generate allure-results --clean -o allure-report and allure serve allure-results

What I have done based on scenerio:

  • Sum of 2 numbers (9+5=14)
  • Subtraction of 2 numbers (8-3=5)
  • multiplied of Result of Sum and Subtraction (14*5=70)
  • Divided the result of multiplication with 10 (70/10=7)
  • Solved this series (100+200-100*2/5)

Prerequisites:

  • Install Android Studio latest version
  • Install Appium Inspector
  • Install jdk 8 or any LTS version
  • Configure ANDROID_HOME, JAVA_HOME and GRADLE_HOME

Allure Report:

Screenshot (22)

Screenshot (23)

Video Output:

Google.Calculator.mp4

app-automation-on-google-calculator-with-selenium-appium's People

Contributors

siddik-1997 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.