Eclipse Plug-in

An Overview

pCloudy provides a plugin for Eclipse IDE. Using the plugin you can perform both manual and automation testing of mobile apps. The plugin provides a user interface to connect to the pCloudy platform. You can upload apps, book devices and perform your testing right from your IDE.

For Manual Testing: Upload your app to the cloud drive, select the device, and perform the manual testing of your app right from Eclipse.

For Automation Testing: This plugin helps you get a pseudo code for your Test Scripts to run on multiple pCloudy Real Devices in Parallel. Just install the plugin, login to pCloudy.com, upload your app, select devices and get the pseudo code.

Prerequisites

  • You have an account over pCloudy with enough credits.
  • Latest web browsers on local machine
  • Latest version of Eclipse
  • Eclipse pCloudy plugin

Preparation

Downloads

Steps to be followed

Launch Eclipse > go to Help menu of Eclipse > click Eclipse Marketplace > Search for pCloudy.

Eclipse

Click on Install

Eclipse

Further, check I accept the terms of the license agreements checkbox and click on Finish.

license agreements

While installing, a pop up with a security warning message will appear. Click on the 'install anyway' button to proceed.

install anyway

pCloudy plugin will appear on Eclipse tool bar and click on the pCloudy plugin icon.

Now, enter Cloud URL of pCloudy along with registered Username and Access Key over pCloudy to login successfully. Click on Apply and then OK.

CLoud URL

Now, you are able to perform Automation/Manual testing of apps based on Appium TestScripts/pCloudy/OpKey or Test as per your requirement.

Automation Testing of App

To perform automation testing of your app, here's a checklist you need to prepare for Automation

Here, we are discussing about Test Automation of apps by over pCloudy.

Click on pCloudy plugin icon. Select the 'Automation' option from the 3 options and then select the country for test. Click on Next to proceed.

test automation

Cloud Drive page lets you to select app from the list and click on Next to proceed.

Cloud Drive

Select duration and filter list of devices by using given filter parameters (Android/iOS, Manufacturer, and Version). Select desired device (Ex. Samsung) and click on Next.

filter list of devices

Finally, you get pseudo code for performing Test Automation. You can copy it to clipboard or copy it manually by selecting entire pseudo code.

performing test automation

You will need the pCloudy java connector jar file for the above code to work. The pCloudy-java-conector.jar contains the API wrappers, classes & methods to use the pCloudy RestfulAPIs(without knowing how to call rest webservices from java). The gson.jar is a well known, opensource google library. You should add the pCloudy-java-connector.jar in its build path as a reference within your java project containing appium scripts. See this link to learn how to add reference in eclipse.

You can download pCloudy-java-connector.jar & gson.jar (a dependancy of the pCloudy-java-connector.jar)

Manual Testing of App

Click on pCloudy plugin icon. Select the 'Manual' option from the 3 options and then select the country for test. Click on Next to proceed.

perform manual testing of apps

Cloud Drive page lets you to select app from the list and click on Next to proceed.

perform manual testing of apps

Select duration and filter list of devices by using given filter parameters (Android/iOS, Manufacturer, and Version). Select desired device (Ex. Samsung) and click on Next.

filter list of devices

Now, you are recommended to open pCloudy in browser. Click on Open in browser and then on Finish.

open in browser

When you click on Finish, pCloudy login page opens in eclipse. Now, you can login and perform manual testing on selected device as well.

pcloudy login page pcloudy login page