Skip to content

acharjeeauntor/UIKitCatalog_iOS_App_Test_Automation_Wdio

Repository files navigation

UIKitCatalog_iOS_App_Test_Automation_Wdio

This repo contains my personal ios app automation project, Script written by Wdio


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", "@wdio/browserstack-service": "^8.6.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_iOS_project_Arch

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/UIKitCatalog_iOS_App_Test_Automation_Wdio]
  2. Navigate to folder and install npm packages using:
    npm install

Usage:

  1. To run test in local machine: npm run deviceTest
  2. To run test in github action use this script: npm run githubActionBSTest

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

This repo contains my personal ios app automation project, Script written by Wdio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published