OXYGEN
HomeGitHubReleasesCommunity
  • Welcome to Oxygen
  • About
    • What is Oxygen?
    • Getting Started (Videos)
      • Oxygen IDE Controls Overview
      • Recording a Web Test
      • Oxygen Commands Explained
    • Getting help
  • Download and work with Oxygen
    • Download & Installation
      • Oxygen IDE Installation
      • Oxygen for Mobile Installation
      • Oxygen for Windows Desktop Automation Setup
      • Oxygen for Mac Installation
        • Mac Installation Troubleshooting
      • Oxygen CLI Installation
      • Java Installation Instructions
      • Recording Troubleshooting
    • Start working with Oxygen
      • Getting Started - Web
        • Introduction - Web Testing
        • Recording a Web Test
        • Creating a Web Test
        • Sample Project - Web Test
      • Getting Started - Mobile
        • Introduction - Mobile Testing
        • Recording a Test on Mobile
        • Creating a Test - Mobile
        • Sample Project - Mobile
      • Getting Started - Oxygen for Windows Desktop Automation
      • Getting Started- Oxyge CLI
        • Running a Test Script on Windows
        • Running Multiple Tests (Suites) on Windows
    • Oxygen Modules
      • assert
      • date
      • db
      • email
      • eyes
      • http
      • log
      • mailinator
      • mob
      • pdf
      • proxy
      • serial
      • shell
      • soap
      • twilio
      • utils
      • web
      • win
    • Test Parameters
  • Cloud Providers
    • Sauce Labs
    • Lambda Test
    • TestObject
  • Advanced programming in Oxygen
    • Project Configuration
    • Locating Elements
    • Page Objects
    • Environments
    • Code Components
Powered by GitBook
On this page
  • Mobile Installation & Configuration
  • Download and install Appium Desktop
  • Download and install Android Studio:
  • Configure Environment Variables:
  • and that's it, you're all set!
  • Checking that adb is configured properly:
  • Set ADB for MAC Users

Was this helpful?

  1. Download and work with Oxygen
  2. Download & Installation

Oxygen for Mobile Installation

Oxygen can run automation scripts on mobile devices (Native and Mobile Web, iOS and Android).

PreviousOxygen IDE InstallationNextOxygen for Windows Desktop Automation Setup

Last updated 3 years ago

Was this helpful?

Mobile Installation & Configuration

To create and execute mobile test automation in Oxygen, we'll need to install and configure a few things:

  1. Install Appium Desktop.

  2. Install Android Studio and SDK.

  3. Configure Environment Variables.

Mac users: Make sure that you have Xcode installed and. Open the Mac App Store application, search for "Xcode", install and/or update it. See additional details for Xcode installation on the following page:

Please ensure that you've as detailed in the first section above.

Note: scroll down to see cofiguring ADB for Mac

Download and install Appium Desktop

Recording can be done using specially build Appium Desktop version with added recording support for Oxygen.

  1. Appium Server:

  2. Appium Inspector:

Download and install Android Studio:

Android Studio:

Configure Environment Variables:

Now that we've installed android studio, we have to create an environment variable called ANDROID_HOME and give it the path to the SDK folder which was installed with android studio.

  1. Open the SDK folder and copy it's path, it should be here: C:\Users\%UserProfile%\AppData\Local\Android\Sdk

  2. Open the search bar and type environment variables then press enter

  3. Under system variables, click on new, and set variable name to ANDROID_HOME, then paste the path to SDK inside vale value, as seen below:

4. now we have to set two additional paths, one to platform-tools and another one to tools

under system variables, double click on path and click on new, now copy the path to platform-tools folder and paste it inside, do the same to the tools folder, seen below:

and that's it, you're all set!

If you are the administrator of the computer - there should be no issues adding these environment variables in your system variable, but if you add it to a certain user, you must run the Appium Desktop and commands from cmd using the specific user. There could be permission issues so you need to make sure you are doing the configuration properly and all under one user.

Checking that adb is configured properly:

Now in order to check if adb is configured open command line, and type adb devices and press Enter. You will now receive a list of all available devices that are connected to your machine.

Unlocking Developer options (Android only)

In order to work with Appium Desktop - you must enable USB debugging , which is only possible while in Developer mode (No worries, it does not harm your phone). You can do it simply by following these steps:

  1. Go to settings screen

  2. Click 'System settings'

  3. Click 'About phone'

  4. Tap 10 times on 'Build number' - and you should receive a message the developer options are unlocked.

  5. Go to Developer options (located differently on different phones).

  6. Toggle 'USB debugging' on.

And that's it, your phone is now ready for mobile automation!

Recognizing your phone using adb commands

In order to see that everything worked well , you need to write the following command in your command line: 'adb devices'.

The list of all devices attached to your computer will be shown.

Set ADB for MAC Users

If you already have Android Studio installed, follow these instructions:

  1. Add platform-tools to your path

    echo 'export ANDROID_HOME=/Users/$USER/Library/Android/sdk' >> ~/.bash_profile
    echo 'export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools' >> ~/.bash_profile
  2. Refresh your bash profile (or restart your terminal app)

    source ~/.bash_profile
  3. Start using adb

    adb devices

Checking adb is configured properly

Now in order to check if adb is configured open command line, and type : 'adb devices' and press Enter. You will now receice a list of all available devices that are connected to your machine.

Unlocking Developer options (Android only)

In order to work with Appium Desktop - you must enable USB debugging , which is only possible while in Developer mode (No worries, it does not harm your phone). You can do it simply by following these steps:

  1. Go to settings screen

  2. Click 'System settings'

  3. Click 'About phone'

  4. Tap 10 times on 'Build number' - and you should receive a message the developer options are unlocked.

  5. Go to Developer options (located differently on different phones).

  6. Toggle 'USB debugging' on.

And that's it, your phone is now ready for mobile automation!

Recognizing your phone using adb commands

In order to see that everything worked well , you need to write the following command in your command line: 'adb devices'.

The list of all devices attached to your computer will be shown.

Note: If you have wish to save disk space you may try to Download and install only the SDK tools instead of the entire Android studio: Scroll a little to the bottom and you will see SDK tools download. We do not recommend that since users sometimes encounter issues configuring appium and ADB without the entire Android Studio.

Setting up ADB on a MAC machine instructions may be found here: .

Mac Installation Troubleshooting
installed Java for Mac
https://appium.io
https://github.com/appium/appium-inspector/releases
https://developer.android.com/studio
https://developer.android.com/studio#downloads
https://stackoverflow.com/questions/17901692/set-up-adb-on-mac-os-x