Skip to end of metadata
Go to start of metadata

Install Node.js

  • Download and install Node.js using the Windows installer on: https://nodejs.org/en/download

    Make sure you install Node.js into a location where you have full Read and Write permissions.
  • When installing Node.js, make sure that the Add to PATH option is checked.


    To make sure Node.js is installed correctly, you can open Windows command line and type the command: where node to see if system can find Node.js.

 

Install Appium

  • Open Command Prompt of Windows and input following command to install Appium:

    npm install -g appium@1.6.5
  • Open Katalon Studio and go to the Windows > Katalon Studio Preferences > Katalon > Mobile settings. Set Appium Directory to the installed folder. By default, it's usually installed at C:\Users\{your login account}\AppData\Roaming\npm\node_modules\appium.

 

Setup Devices

  • Install USB Driver for your phone, you can download it from the device manufacturer site. (If your Android phone is one of Google Nexus series, please skip this step because Android SDK already include the driver)
  • Turn on the phone developer mode (go to Settings -> Developer options).
  • Connect your Android device to the computer using USB cable. Just confirm if prompted for accepting/trusting the phone.

 

Test Execution

  • Launch Katalon Studio
  • Open a test project
  • Open a test case or test suite
  • Select the option to execute with the Android device from the Run button of the main toolbar. (Katalon Studio for Windows only supports Android devices).
  • Select your device from the Android Devices list. Click OK


Troubleshooting

  1. My connected device is not displayed in 'Device Name' list
    => Please double check the following items:
    - Developer option is turned on.
    - Trusted connection is established by tap on 'Trust this computer' whenever this dialog is displayed on your device.
    - Check if device is listed using adb command:
    On terminal, navigate to platform-tools in <Katalon Studio folder>\configuration\resources\tools\android_sdk\platform-tools 
    Type in "adb devices" and observe devices listed there. You can refer to our attached image for its usage.

  2. Does Katalon Studio support android emulator?
    => Yes we do. However, if you use Genymotion then there will be a high chance that Genymotion is not recognized.

  • No labels