Skip to content

Automation of the Hisabee app using Selenium and Appium involves various test cases were executed using different data sets to ensure that the system gives accurate business calculations post-login. The project also includes the creation of an Allure report to display the test results.

License

Notifications You must be signed in to change notification settings

zafir100100/HisabeeTestSuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Application Automation on Hisabee with Selenium TestNG and Appium

What is Automation?

Automation is the process of using software tools and scripts to perform tasks that would typically be done manually by a human. In the context of software testing, automation involves using tools to execute test cases and compare the actual results with the expected results automatically.

Why We Use Selenium TestNG for Automation?

Selenium is a popular open-source testing tool widely used for automating web browsers. It allows developers and testers to automate web-based applications' testing across multiple browsers and platforms. Selenium provides a set of APIs to interact with web elements and manipulate their properties and behaviors, making it an ideal tool for automating UI tests.

TestNG is a testing framework for Java that is designed to be more flexible and powerful than JUnit. It supports a wide range of testing functionalities, including unit, integration, and end-to-end testing, as well as parallel execution, data-driven testing, and reporting. TestNG is often used with Selenium to create robust and scalable test automation frameworks.

Technology Used:

  • Selenium WebDriver
  • TestNG Framework (7.10.2)
  • Java (17)
  • Gradle (8.4)
  • IntelliJ IDEA
  • Allure
  • Appium (2.10.3)

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 capability in json format:
{
    "appium:automationName": "UiAutomator2",
    "appium:appPackage": "com.hishabee.business",
    "appium:appActivity": "com.hishabee.business.SplashScreen.SplashScreen",
    "appium:platformName": "Android",
    "appium:platformVersion": "7.1.2",
    "appium:deviceName": "emulator-5554",
    "appium:app": "D:\\office\\app-release.apk",
    "appium:autoGrantPermissions": true
}
  • Open Intellij Idea
  • Hit the following command into the terminal: gradle clean test

Project scenario:

  • User will log in using valid phone number and PIN

  • Then store will be selected to view report

Prerequisites:

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

Generate and serve the Allure report:

  • Generate the report:
    allure generate allure-results --clean -o allure-report
    
  • Serve the report:
    allure serve allure-results
    

Allure Report:

1

2

3

Video Output:

demo-video.mp4

About

Automation of the Hisabee app using Selenium and Appium involves various test cases were executed using different data sets to ensure that the system gives accurate business calculations post-login. The project also includes the creation of an Allure report to display the test results.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages