Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Sep 10, 2017 07:51

Use the same Android Studio environment to both create and test your application and prepare automation scripts for Perfecto's Continuous Quality Lab. The new plugin provides access to Perfecto devices for easy debugging and interactive development.

If you are creating applications for Android with Android Studio, you can now add the power of the Perfecto plugin to this development environment. Test run your application on actual devices over the cloud in the Perfecto Lab. QA can use the same IDE that the app developers use and communicate with greater efficiency. Use the following simple steps to install and configure the Perfecto plugin:

Install Android Studio

Go to Android Studio web site to download and install the complete Android development package. You can also download it from your lab (see the procedure belowsimilarly to Perfecto's other plugins.

Verify that the Gradle build automation system is installed on your computer. (If not, install from Define the Environment variable - GRADLE_HOME to link to the location of Gradle, and add GRADLE_HOME\bin to your Path variable.

Verify that the Gradle plugin is installed and activated. If not installed, install from the set of pre-defined plugins.

  1. Open Android Studio, open the Settings window by selecting File > Settings... from the menu.
  2. Select Plugins from the options list.
  3. Verify that Gradle appears and is checked.

Download and Install Perfecto Plugin

  1. Go to the Jetbrains Plugins download page and download the Perfecto plugin
    Go to the Perfecto downloads page and save the Perfecto CQ Lab for Android Studio to your computer.
    Download "http(s)://<your lab>/tools/androidstudio/" directly from your lab.
  2. In Android Studio, go to the Settings dialogue
    1. On Windows, by selecting File > Settings... from the menu.
    2. On Mac, by selecting Android Studio > Preferences... from the menu
  3. Select Plugins from the options list.
  4. Click on the Install plugins from disk ... button.
  5. Find the zip file that you downloaded, select it, and click OK.
  6. Restart Android Studio.

Install Adobe Flash Player

The Perfecto Lab and Perfecto Dashboard tool windows employ the PPAPI version of Adobe's Flash Player to display the devices. Install this version by:

  1. Go to the flashplayer download site.
  2. Click on Need Flash Player for a different computer? link.
  3. Select your operating system (Windows or Mac).
  4. Select the PPAPI option (FP 23 for Opera and Chromium - PPAPI) for Step 2.
  5. Click Download Now button, and when completed install the Flash Player.
  6. After installation - restart Android Studio.

Setup Perfecto Lab Connection

Configure the plugin to connect to your Perfecto account by:

  1. In Android Studio, go to the Settings dialogue
    1. On Windows, by selecting File > Settings... from the menu.
    2. On Mac, by selecting Android Studio > Preferences... from the menu
  2. Select Other Settings > Perfecto Lab from the options list (left panel).
  3. In the right panel provide your CloudUsernamePassword information.
  4. Check the Connect using HTTPS checkbox.


The Perfecto plugin can be used in conjunction with Android Studio for different development aspects -

  • Developers can -
    • Run apps on multiple Perfecto devices using the Perfecto Run apps button.
    • Use the DevTunnel service - develop and debug Android applications on a full collection of Android devices.
    • Run Espresso UI tests on Perfecto devices.

Upgrading the Plugin

Android Studio Prompt

Android Studio may prompt you to update the plugin:

Click the link and arrive at the following window.

Click Update and follow the wizard.

Checking for Updates

From the Help menu - select Check for Updates. If an update is available, Android Studio will display the window -

Click Update and follow the wizard.