Facebook Twitter Instagram
    Trending
    • VOOPOO DRAG X2 vs DRAG X3: A Head-to-Head Comparison
    • Vaporesso ECO NANO PLUS vs Vaporesso iMate OS: Comparison Review
    • Potensic ATOM 2 RC Drone Review: A 10KM FPV Powerhouse That Fits in Your Palm
    • SKE BAR 15K Disposable Vape-More Puffs, Same Iconic SKE Flavour
    • AIRITON AI-T3 Thin Walkie Talkie: Redefining Portability with an Ultra-Thin, Feature-Packed Walkie-Talkie
    • Diatone SNT PK118 PokeGT RC Car Review at 26.99usd: Your Pocket-Sized Portal to RC Drifting Fun
    • JNR Sellarc 100K Review: The Ultra-Endurance Refillable Experience
    • DWi H10 RC Helicopter Review at $22.99: Elevating the Beginner Experience with Smart Tech
    Facebook YouTube
    Login Register
    IGeeKphone China Phone, Tablet PC, VR, RC Drone News, Reviews
    • HOME
      • NEWS
        • DeepSeek
        • ChatGPT
        • Minecraft
    • Amazon
    • CHRISTMAS
    • PHONE
      • Top Phones For Your First Choice
      • Phone Comparison
      • Xiaomi
      • Blackview
      • Unihertz
      • Doogee
      • Black Shark
      • Geekbuying
      • Banggood
      • TEMU
      • TikTok
      • Aliexpress
      • Walmart
      • Newegg
      • MercadoLibre
      • Lazada
    • TOP VAPE Awards for 2025
    • VAPES
      • E-CIGAR Upcoming
      • Vape News
      • Vape Market Trend
      • Vape Deals
      • Expo News
      • Vape Comparison
      • Vape Guide
        • Guide For Beginners
        • Guide for Best Users
      • Giveaway
    • BEST VAPE
      • Best Vape Stores
      • Best Starter Vape Kits
      • Best Vapes for Beginners
      • Best Disposable Vapes
      • Best Pod Systems
      • Best Pod Mod Vapes
      • Best Mods
      • Best Nicotine Pouches
      • Best Clearomizers/Tanks
      • Best E-Liquid
      • Best EGO/Pens
      • Best Vapes for Nic Salt E-Juice
      • Best Vapes to Quit Smoking
      • RDA vs. RDTA vs. RTA
    • Best Vape Brand 2025
      • VAPORESSO
      • VOOPOO
      • OXVA
      • NEXA BAR
      • ORIONBARTECH
      • MASKKING VAPE
      • VEIIK
      • MEMERS
      • SP2S
      • JNR
      • TODOO
      • MRFOG
    • REVIEW
      • E-cigar Review
      • Phones
      • Tablet PC
      • TV Box
      • RC Drone
      • Wearables
      • Camera
      • Accessories
      • VR Headset
    • MORE
      • 3D PRINTER
        • 3D Printer Review
        • Anycubic
        • FLSUN
        • Xtool
        • LONGER
        • Top 3D printer to Choose First
      • TREND
      • CLOTHES
      • AUTO CAR
      • POWER STATION
        • Oukitel
        • FOSSIBOT
      • GAMING
        • Top Gaming Products
      • E-BIKE
        • Samebike
        • Happyrun
        • ENGWE
      • TABLET
        • Chuwi
        • INNOCN
        • Teclast
        • Top Tablet for Your First Choice
        • Tablet/Laptop Comparison
      • WEARABLES
        • OneOdio
        • BlitzWolf
        • Top Smartwatch for First Choice
      • SMART HOME
      • TV BOX
        • Chuwi mini pc
        • Beelink
        • GMKTEC
        • MOREFINE
      • RC DRONE
        • DJI
        • MJX
        • JJRC
        • Hubsan
        • Top RC Drone
      • CAMERA
        • Gopro
        • Insta360
        • Andoer
      • ACCESSORIES
      • VR HEADSET
      • ROM
        • SAMSUNG
        • XIAOMI
        • ASUS
        • MEIZU
        • LENOVO
        • HUAWEI
        • ONEPLUS
        • ZTE
        • UMIDIGI
        • DOOGEE
        • HOMTOM
        • ELEPHONE
        • ULEFONE
        • BLACKVIEW
        • VERNEE
        • LEAGOO
        • CHUWI
        • TECLAST
        • PIPO
        • TV BOX ROM
    • DEAL
    • Shop
    IGeeKphone China Phone, Tablet PC, VR, RC Drone News, Reviews
    You are at:Home»Guide»How To Use Appium To Test Both Android and iOS Mobile Applications
    Guide

    How To Use Appium To Test Both Android and iOS Mobile Applications

    Brady CottonBy Brady CottonOctober 10, 2022
    Facebook Twitter Pinterest LinkedIn Tumblr Email

    In this fast-paced and highly digitized world, the number of mobile users has been rising to whopping billions across the globe. We can see smartphone users hooked to the screen and also the times they are browsing through their favorite mobile apps. With the rising demand for quick releases, it has become all the more important.

    It’s hard to ignore the fragmentation aspect of mobile operating systems and devices regarding mobile app testing. This makes the process more challenging and further increases the importance of the best mobile testing tools.

    While everyone in the web development and testing space knows that Selenium owns the web space, the mobile domain remains dominated by Appium. It’s a reasonably straightforward tool and is beginner friendly. Plus, if you are scared of writing tests in languages such as pearl, Python, Java, JavaScript, and C, using Appium is a piece of cake.

    What is Appium?

    Appium is one of the leading open-source test automation tools primarily focused on testing mobile apps. This cross-platform tool supports both iOS and Android operating systems and facilities the automation of test cases for web, native, and hybrid apps.

    You can run tests on Mac, Windows, Linux, and so on while using the programming languages you prefer. However, you should remember that you can’t use Appium for Android versions below 4.2.

    Architecture of Appium

    Appium is a server written in the language Node. JS acts as an API interface between the mobile device under the Java client. Appium server facilitates sending of HTTP requests between the client and the server. The capabilities object creates customized sessions, after which it returns a session ID for communication ahead.

    How Appium Works in Android and iOS

    Appium testing determines whether apps work according to expectations and ensures that delivery consistency is optimal. Appium tests the Android UI using the UIAutomator test case (native UI Android automation framework).

    For iOS, Appium tests the user interface with the help of Apple UIAutomation API. In other words, it sents JSON files which then work with iOS apps using text labels, buttons, and other UI elements.

    Appium Prerequisites:

    Check out the list of hardware and software to automate mobile app testing with Appium:

    • Appium Desktop/Server
    • Downloading and installation of Java
    • JDK installed
    • Setting up the environment variable
    • Downloading and setup of Android SDK
    • Eclipse
    • Node JS
    • Java-client jars
    • Selenium jars
    • APK – Mobile applications for automation
    • USB driver
    • Mobile devices

    Appium Installation:

    1. Click on this link http://appium.io/ and select Download Appium.
    2. Download the exe file and click on it.
    3. Installing Appium isn’t a necessity on Windows Machine. You can directly run it from the previously downloaded exe. If you’re using Mac, installing the dmg is a must.
    4. Next, the screen will display a Server Start Window.
    5. Select the Start Server Button. It launches a new server on the host and the specified port. It also shows the Server log output.
    6. Click on ‘New Session Window’.
    7. You can enter the Desired Capabilities and start a session.

    Starting Appium Server

    1. Start the server using the ⇒ appium command.
    2. It will show ‘Welcome to Appium.’
    3. If you have Appium Desktop, select the ‘Start Server’ button.
    4. It will display a welcome message that also shows the port and Appium version
    5. You also need to configure the server on the port.

    Enable Options / Developer Mode on Android

    1. Enable the Developer Options

    1) Select the icon that says Main Menu.

    2) Choose Settings.

    3) Tap ‘About phone‘ after scrolling down a little bit.

    4) Scroll some more and select the ‘Build number’ by tapping on it seven times.

    5) Developer Options will display on the screen.

    2. Switch On USB Debugging

    1) From Developer Options, click on USB Debugging.

    2) Click on OK if it doesn’t display the pop-up message.

    3.  Download the USB driver and install it for the Corresponding Real Device.

    Locating Element Via UIAutomatorViewer

    1) Connect the device in use to the computer.

    Select Terminal and type the phrase ‘adb devices‘ to check device connectivity with the system.

    2) Open the application for automation

    3) Click on Users > Library > android > sdk > tools > uiautomatorviewer.bat

    4) Select Device screenshot from UIAutomatorViewer. It will display the image of the device and detailed info.

    Installing The Application on Emulators for App Testing

    1. Run the emulator for app installation.

    emulator -avd

    1. The emulator launch will take place and the command is going to run.
    2. You can install the application with these two methods:
      • Through ADB command:
        1. Download and put the apk in the folder
        2. Run adb install path/to/your/app.apk

    Run adb -s serial-number-of-device install path/to/your/app.apkDrag and Drop in case different emulators have been opened.

    We can also use the drag and drop method in which you drag the apk to drop it on the emulator for app installation.

    Conclusion

    Even if someone is new to Appium, they can start out by referring to its official guide. Having some knowledge about Selenium makes working with Appium easier. However, it’s not a mandatory requirement. Try your manual testing experience further simplifies things.

    Nowadays not an unusual occurrence for Major businesses to migrate to mobile apps to reinvent companies. Mobile app testing is the latest and crucial trend that is here to stay, thanks to the increasing demand for quality applications.

    Due to Appium’s cross-platform nature has become the number one choice for mobile application testing for iOS and Android users. All you need to do is set up its hardware and software components like SDK, JDK, Java, Appium server, etc.

    In the above sections, we have already discussed what Appium is, its architecture, how it works in Android and iOS, prerequisites, installation, starting the server, and enabling options. If you have any queries regarding its usage, sound off in the comments section below. We’ll be more than happy to clear all your doubts and questions.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    Exploring the profitability of bitcoin trading ideas

    What Types of Student Loans Are Available? Exploring Your Options

    The reason that People Are Using The Text To Give Church App More Often

    Comments are closed.

    voopoo drag s3
    oxva xlim go 2
    sp2s sen x disposable vape
    jnr 100k
    • Popular
    • 3D Printer REVIEW
    • XIAOMI
    December 9, 2025

    OXVA Xlim Go vs. OXVA Xlim Go 2: Hands-On Review

    December 9, 2025

    OXVA XLIM PRO 3 VS XLIM PRO 2 Review: Hands-on Comparison

    December 9, 2025

    OXVA XLIM 3 Ultra vs. XLIM Pro 2 DNA Review: Hands-on Comparison

    December 8, 2025

    OXVA XLIM SQ PRO 2 vs XLIM SQ PRO Hands on Comparison Review

    June 23, 2024

    ACMER P2 20W Laser Engraver Fixed Focus Engraving: Hands on Review

    May 30, 2024

    xTool F1 Ultra Review: World’s First 20W Fiber & 20W Diode Laser Engraver

    May 30, 2024

    Anycubic Kobra 3 Combo Review: The Multicolor Masterpiece?

    May 15, 2024

    SCULPFUN SF-A9 40W Laser Engraver Cutting Machine: Hands On Review

    December 11, 2025

    Xiaomi 17 Ultra will officially announce next week: it will be the first to feature a brand-new Leica 1-inch main camera

    December 10, 2025

    The official version of Xiaomi Hyper OS 3 covers more models. MIX Fold 3 and others will start to be rolled out in gray scale and gradually from today

    December 9, 2025

    The Appearance Renderings of Xiaomi 17 Ultra are here: The classic large round lens returns without a back screen

    December 8, 2025

    Comeback: Xiaomi triple foldable screen was once aborted due to the overheating of the Snapdragon 8 Gen1

    fc 26 coins
    New Arrivals
    • Arc Hypertine 35K Zero Nicotine Disposable Vape Arc Hypertine 35K Zero Nicotine Disposable Vape
    • Oppo Reno 15c Oppo Reno 15c
    • lost vape le bar 40k lost vape le bar 40k
    • RAZ RX 50K DISPOSABLE RAZ RX 50K DISPOSABLE
    • Xiaomi Poco C85 Xiaomi Poco C85
    • Innokin Foretex Pod System Kit Innokin Foretex Pod System Kit
    • Geekvape Aegis Mini 5 Vape Mod Kit Geekvape Aegis Mini 5 Vape Mod Kit
    • Freemax Albar MX 20K Disposable Vape Freemax Albar MX 20K Disposable Vape
    • Innokin EZ Leva Pod System Kit with PCC 2400mAh Innokin EZ Leva Pod System Kit with PCC 2400mAh
    About
  • Igeekphone.com provides the first global tech news and reviews about smartphone, vapes, e-cigar, smart home, 3D printers, e-bike,tablets, RC drones, VR headset, and other accessories. It's the best platform to improve your brand and product.
  • Contact us: info@igeekphone.com
  • Check Our Privacy Policy Here.
  • Note: *Right now we have US editor and EU editors for review, especially for Amazon US and EU.
  • *Shop and Compare Price Here*
  • Facebook
  • Youtube
  • OUR BEST VAPE PARTNERS
  • VAPE ONLINE STORE
  • HAYATI PRO MAX PLUS
  • VAPORESSO
  • VOOPOO
  • OXVA
  • NEXA
  • MASKKING
  • LOSTVAPE ORIONBAR
  • VEIIK
  • MEMERS
  • TODOO
  • SP2S
  • JNR
  • OTHER BEST PARTNERS
  • SVBONY
  • Chuwi
  • Blackview
  • Fossibot
  • Unihertz
  • Flsun
  • Anycubic
  • Xtool
  • Oukitel
  • Mukkpet Ebike
  • Ugreen
  • Copyright © 2025 igeekphone

    Type above and press Enter to search. Press Esc to cancel.