Skip to content

Latest commit

 

History

History
51 lines (45 loc) · 1.83 KB

README.md

File metadata and controls

51 lines (45 loc) · 1.83 KB

Appium Mobile UI Example

Welcome to the mobile UI automation testing project using Appium. This guide will help you set up the project and execute mobile automation tests using Appium, WebdriverIO, and Node.js.

Prerequisites

Before getting started with the setup, ensure that you have the following prerequisites installed on your system:

  • Node.js: Install Node.js version 14.0 or higher from the official website.
  • Appium: Install the Appium server globally by running the following command in your terminal:
    npm install -g appium
    

Setup and Start Appium server

To set up and start the Appium server, follow the steps below:

  1. Install the Appium server by running the following command in your terminal:
    npm install -g appium
    
  2. Start the Appium server locally by running the following command in your terminal:
    appium
    
    Note: If you encounter a Chrome driver version mitmatch error message, use the following command to restart Appium with the --allow-insecure chromedriver_autodownload argument:
    appium --allow-insecure chromedriver_autodownload
    

Setup code

To set up the coode and project dependencies, follow the steps below:

  1. Clone the repository:
    git clone https://github.com/alphabin-01/appium-camera-injection
    
  2. Navigate to the project directory:
    cd appium-camera-injection
    
  3. Install the project dependencies by running the following command:
    npm install
    

Run the Tests

To execute the mobile automation tests, run the following command:

npm run androidBrowser

This command will run the tets on an Android device using a web browser.

Feel free to explore and enhance the Appium mobile automation testing project to suit your specific mobile testing needs. Happy testing! 😊