Skip to content

acharjeeauntor/Amader_Rail_Android_App_Automation_Wdio

Repository files navigation

Amader_Rail_Android_App_Automation_Script

This repo is contain Amader Rail Android Application Automation test script using webdriverIO


Automation Testing

Technology:

  • Automation Framework: webdriverio
  • Build tool: npm
  • Bundled Tools: Mocha, Chai
  • Language: Javascript
  • Design Pattern: POM
  • Report: Allure,spec
  • CI/CD: BrowserStack, Github Action
  • dependencies: { "@wdio/cli": "^7.20.9", "allure-commandline": "^2.18.1", "appium": "^2.0.0-beta.42" },
    devDependencies: { "@babel/core": "^7.18.10", "@babel/preset-env": "^7.18.10", "@babel/register": "^7.18.9", "@wdio/appium-service": "^7.20.8", "@wdio/local-runner": "^7.20.9", "@wdio/mocha-framework": "^7.20.7", "@wdio/spec-reporter": "^7.20.8", "@wdio/allure-reporter": "^7.20.3", "appium-uiautomator2-driver": "^2.4.6", "wdio-wait-for": "^2.2.6" }
  • IDE: Visual Studio Code

Project Architecture:

wdio_Android_project_Arch

Requirement:

  1. Build a Automation Test project to automate maximum number of test case

Prerequisite:

The following software are required:

  1. nodejs : Download and Install Node JS from
    https://nodejs.org/en/download/
  2. Install Java 8 or above, Allure Reports require Java 8 or higher.
  3. allure commandline : Install allure command line for generating Allure Reports using
    npm install -g allure-commandline

Installation:

  1. Clone the repo using below URL
    [https://github.com/acharjeeauntor/Amader_Rail_Android_App_Testing/tree/master/Amader_Rail_Automation_Script]
  2. Navigate to folder and install npm packages using:
    npm install

Usage:

  1. To run test in local machine: npm run test
  2. To run account feature test: npm run accountTest
  3. To run account Other Features Test: npm run otherFeaturesTest

Allure Report view for functional test:

Screenshot 2022-08-16 at 8 31 56 PM Screenshot 2022-08-16 at 8 32 48 PM Screenshot 2022-08-16 at 8 32 33 PM Screenshot 2022-08-16 at 8 32 19 PM

To See the Demo Video click here


Github Action with BrowserStack Related Info:

  1. I have added github actions in this project to test my script in CI way.As this is a mobile application testing so i have intregrate Browserstack to for virtual mobile device.
  2. To See the Demo Video click here

Jenkins with BrowserStack Related Info:

  1. I have intregrate this project with jenkins through the github repository and run test on Browserstack for virtual device.
  2. To See the Demo Video click here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published