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.
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
To set up and start the Appium server, follow the steps below:
- Install the Appium server by running the following command in your terminal:
npm install -g appium
- Start the Appium server locally by running the following command in your terminal:
Note: If you encounter a Chrome driver version mitmatch error message, use the following command to restart Appium with the
appium
--allow-insecure chromedriver_autodownload
argument:appium --allow-insecure chromedriver_autodownload
To set up the coode and project dependencies, follow the steps below:
- Clone the repository:
git clone https://github.com/alphabin-01/appium-camera-injection
- Navigate to the project directory:
cd appium-camera-injection
- Install the project dependencies by running the following command:
npm install
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! 😊