1 | Appium Step by Step | Basic Setup on Windows and Mac OS

Automation Step by Step
Automation Step by Step
All Free Tutorials 🟢 ...
All Free Tutorials 🟢 https://AutomationStepByStep.com/

All Parts - Appium 2 Beginner Tutorials
APPIUM 2 Changes
From appium 2.x onwards, the communication will happen over w3c protocol
Appium drivers are maintained separately, so need to install on a need basis
Introduced appium plugins, so different communities or individuals can create code blocks to add/alter certain appium commands which can talk with the appium drivers

Migrating from Appium 1.x to Appium 2.x
https://appium.io/docs/en/2.0/guides/...

Appium Basic Setup on Windows and Mac OS

00:00  Introduction

00:48  Topics

03:39  Appium 2 Changes

06:15  Appium Basic Setup on Windows and Mac OS

07:32  Step 1 - Check if Node.js is installed and setup   node -v  npm -v

08:43  Step 2 - If not, download & install Node.js   https://nodejs.org/en/download/

14:05  Step 3 - Check if appium is available on the system  appium --version or appium -v

15:18  Step 4 - Install Appium via NPM      npm install -g appium@latest
Installing Appium 2.0 only installs the Appium server, but not the drivers since all drivers have been isolated from the Appium server app
We will Install the Appium UiAutomator2 Driver for Android and Appium XCUITest Driver for iOS separately

22:43  Step 5 - Verify appium is available on the system  appium -v  which appium where appium

23:56  Step 6 - Run command appium to get information on our installed appium  (CTRL + C to quit)

26:12  Step 7 - Install appium-doctor (optional)   npm install -g appium-doctor
Appium Doctor is a handy tool from Appium team that serves as a pre-flight check for Appium test environment
Attempts to diagnose and fix common Node, iOS and Android configuration issues  appium-doctor -h

29:37  Step 8 - Check and install required appium drivers as per the our testing needs
Run command to see available drivers  appium driver list (works on appium 2.0 or later)
appium plugin list
Install Appium driver    Android: appium driver install uiautomator2
      iOS:  appium driver install xcuitest
       Check: appium driver list
       Update: appium driver list --updates

32:02  Step 9 : Run appium server      appium
         appium --allow-cors
     Press Ctrl+C to stop appium server

--allow-cors: This is a flag that tells the Appium server to enable CORS - Cross-Origin Resource Sharing (CORS) enabled
You might need to use this command if you're using a testing framework that runs on a different domain than the Appium server.
For example, if you're using the Appium Inspector to record and edit test scripts, you'll need to start the Appium server with CORS enabled if the Inspector is running on a different domain
This works on Appium 2.x versions

34:46  Summary

APPIUM 2.0 SETUP CHECKLIST
Node.JS
Appium Server
Appium Doctor (optional)
Check Appium Drivers (android/ios)
Run appium server and check

Document - https://docs.google.com/document/d/e/...

▬▬▬▬▬▬▬

Every Like & Subscription gives me great motivation to keep working for you
You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping any animal near you, in any way you can

Never Stop Learning
Raghav Pal


▬▬▬▬ USEFUL LINKS ▬▬▬▬

Ask Raghav - https://bit.ly/2CoJGWf

Shorts Eng - https://bit.ly/3H9bifV

GitHub Repositories - https://github.com/Raghav-Pal
Udemy - https://automationstepbystep.com/udem...
Stories - https://automationstepbystep.com/stor...

▬▬ MOBILE TESTING ▬▬
Appium - https://bit.ly/2ZHFSGX
Mobile Playlist - https://bit.ly/2PxpeUv

▬▬ CI | CD | DEVOPS ▬▬
Jenkins Beginner - https://bit.ly/2MIn8EC
Jenkins Tips & Trick - https://bit.ly/2LRt6xC
Docker - https://bit.ly/2MInnzx
Jenkinsfile - https://bit.ly/3JSMSZ7
Kubernetes - http://bit.ly/2MJIlMK
Vagrant - https://bit.ly/3MVKdBt
Ansible - https://bit.ly/3MUsY3h

▬▬ UI TESTING ▬▬
Selenium Beginners - https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch - https://bit.ly/2N9xvR6
Selenium Python - https://bit.ly/2oyMp5x
Selenium 4 - https://bit.ly/3AiJOlP
Katalon Studio - https://bit.ly/2wARFdi
Robot Framework with RIDE- https://bit.ly/2Px6Ue9
Robot Framework with Eclipse - http://bit.ly/2N8DZxb
Cucumber BDD - https://bit.ly/3Cnno4z
Cypress - https://bit.ly/3PpEukM
Playwright - https://bit.ly/3iuPByJ
WebdriverIO - https://bit.ly/3IJyofA
XPath & Web Locators - https://bit.ly/3PpEvoQ

▬▬ API TESTING ▬▬
Web Services (API) - https://bit.ly/2MGafL7
SoapUI - https://bit.ly/2MGahmd
Postman 2022 - https://bit.ly/3JWm4qX
Rest Assured - https://bit.ly/3zUdhRD
Karate API Testing - https://bit.ly/3w3H5Ku
JMeter API Testing - https://bit.ly/3AgVPar
Katalon Studio API Testing - https://bit.ly/2BwuCTN
API Mocking - https://bit.ly/3bYPsjS




همه توضیحات ...