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

Поділитися
Вставка
  • Опубліковано 5 лип 2024
  • All Free Tutorials 🟢 AutomationStepByStep.com/
    All Parts - • Appium 2 Beginner Tuto...
    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
    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 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 - 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 - bit.ly/2CoJGWf
    Shorts Eng - bit.ly/3H9bifV
    GitHub Repositories - github.com/Raghav-Pal
    Udemy - automationstepbystep.com/udem...
    Stories - automationstepbystep.com/stor...
    ▬▬ MOBILE TESTING ▬▬
    Appium - bit.ly/2ZHFSGX
    Mobile Playlist - bit.ly/2PxpeUv
    ▬▬ CI | CD | DEVOPS ▬▬
    Jenkins Beginner - bit.ly/2MIn8EC
    Jenkins Tips & Trick - bit.ly/2LRt6xC
    Docker - bit.ly/2MInnzx
    Jenkinsfile - bit.ly/3JSMSZ7
    Kubernetes - bit.ly/2MJIlMK
    Vagrant - bit.ly/3MVKdBt
    Ansible - bit.ly/3MUsY3h
    ▬▬ UI TESTING ▬▬
    Selenium Beginners - bit.ly/2MGRS8K
    Selenium Java Framework from Scratch - bit.ly/2N9xvR6
    Selenium Python - bit.ly/2oyMp5x
    Selenium 4 - bit.ly/3AiJOlP
    Katalon Studio - bit.ly/2wARFdi
    Robot Framework with RIDE- bit.ly/2Px6Ue9
    Robot Framework with Eclipse - bit.ly/2N8DZxb
    Cucumber BDD - bit.ly/3Cnno4z
    Cypress - bit.ly/3PpEukM
    Playwright - bit.ly/3iuPByJ
    WebdriverIO - bit.ly/3IJyofA
    XPath & Web Locators - bit.ly/3PpEvoQ
    ▬▬ API TESTING ▬▬
    Web Services (API) - bit.ly/2MGafL7
    SoapUI - bit.ly/2MGahmd
    Postman 2022 - bit.ly/3JWm4qX
    Rest Assured - bit.ly/3zUdhRD
    Karate API Testing - bit.ly/3w3H5Ku
    JMeter API Testing - bit.ly/3AgVPar
    Katalon Studio API Testing - bit.ly/2BwuCTN
    API Mocking - bit.ly/3bYPsjS
    -

КОМЕНТАРІ • 75