Appium-Calculator-Automation
This is a basic calculator app automation testing using Appium on an emulator device From Android Studio.
Scenario
- Sum any of 2 numbers (9+5=14)
- Subtraction any of 2 numbers (8-3=5)
- Do multiply of Result of Sum and Subtraction (14*5=70)
- Divide the result of multiplication with 10 (70/10=7)
- Solve this series (100+200-100*2/5).
Tools & Frameworks
Programming Language | Java |
Web Automation Tool | Selenium |
App Automation Framework | Appium |
Gui Inpector | Appium Inspector |
Testing Framework | TestNG |
Build Tool | Gradle |
IDE | IntelliJ, Android Studio |
Reporting Framework | Allure |
Setups
- Install Android Studio
- Install Appium
- Install Appium Inspector
- Install JDK 8+
- Set the below environment variables
* JAVA_HOME
* GRADLE_HOME
* ALLURE_HOME
How to run the project
- Clone the repo
- Open terminal. Start the appium server using below command.
appium -p 4723
- Open android studio
- Create a new virtual device.
- Start the emulator
- In the root folder give the following command in terminal.
gradle clean test
How to generate allure report
- Open cmd in the root folder
- Give the following commands
allure generate allure-results --clean -o allure-report
allure serve allure-results
Generated Reports
Video Demonstration
2.mp4
Feedback
If you have any feedback, please reach out to me at md.mostafa.akash@gmail.com