Category Page

pCloudy 2016 at a Glance

 

I hope you had an amazing year, so we hope you are enjoying the festive time with your family and friends. We would like to take a moment to thank you for supporting us through out the year, which has been a great year for pCloudy. We achieved several milestones in the year 2016. Here is summing up the year. Thanks again and wishing you happy holidays.

Summing Up the Year

Geography

pCloudy extended its device cloud operations to US and Philippines. Our customers are now able to test their Apps on local devices and local networks of India, US and Philippines.

world-template

Device Cloud Growth

We grew rapidly this year becoming one of the largest device cloud provider from India.

2016-achievements

Industry Recognition

pCloudy got recognition from top Industry Analysts from across the globe.

Gartner_logo ET Telecom tech-portal

Presence in Global Events

pCloudy was part of all major global testing conferences. Support of audience was phenomenal.

Jenkins World 2016

jenkinsjenkins-world-2016

Software Testing 2016

stc-event-pcloudystc-logo

Start East Testing 2016

star-east-pcloudystareast

New and Improved UI for Device Access

Based on feedbacks from users, we came up with new UI for device access page. Now it’s easier and faster to test Apps on devices. We received many thumbs up from the users.

new-ui

Launch of in-built Automation Engine (OpKey Integration with pCloudy)

pCloudy becomes the only device cloud to have a record and playback engine in-built. This allows customers to quickly create automated scripts without writing a single line of code.

opkey-spy-mode

Robotic Integration for IOT App Testing

The future of app testing in IoT lies in integrating app interaction with external hardware triggers. pCloudy released it’s first version of pBot for NFC and Payment terminal testing.

roboticintegration

Advance Features

We implemented many new features to ensure that our users gets full range of Test capabilities for their Mobile Apps.

ADB Bridge – Developers can use this feature for real time debugging of their Apps

adbconnect

Network Simulation – Now Apps can be tested on variety of Network conditions

network_simulation_ui

Automation Live view – While users could run their tests on multiple devices, now they can see it as well

automationliveview

Support for new tools

pCloudy now supports most of the popular open source tools used by Dev and Test community. We added Espresso, Monkey Test

espresso-new monkey-test

Many New Integrations

While we had a great working platform in by the end of 2015, there were still several integrations required. We wanted to give far more to our customers – Jenkins, Android Studio Plug-in, Eclipse Plug-in.

jenkins android-studio eclipse

A Lot of Fun

fun-activities

Final Words

We are very happy about all of our achievements in 2016, but even more so, we wish you many new exciting starts and remarkable successes in 2017. Our team will continue to exert every effort to improve our products and make your Mobile App triumph with pCloudy platform.

Have a Happy Holiday and New Year.

Plugin for Android Studio

 

An Overview

pCloudy has released a plugin for Android Studio which provides you access to the platform for performing manual and automation testing of mobile apps from within Android Studio IDE.

For Manual Testing

Now you can build and upload your Android Apps to pCloudy devices directly from your Android Studio project workspace.

For Automation Testing

If you are using Appium as automation tool and have created your Automation scripts as a project in Android Studio, you can run the scripts directly on pCloudy devices.

Prerequisites

1. An account in pCloudy with enough credits.
2. An API Access key for authentication with pCloudy.com
3. Chrome Browser on local machine
4. Android Studio IDE
5. Android Studio pCloudy plugin

Preparation

Reference the JAR files to Eclipse
Make a note the API Username and API Access Key

How to Install the Plugin

1. Download the Android Studio plugin for pCloudy
2. Open your Android Studio > go to Setting icon of Android Studio > Select Plugins > All available plugins are shown which can be filtered with the help of Show feature as per requirement.
3. Click on Install plugin from disk > Browse and select location of your downloaded Android Studio plugin of pCloudy
4. Click on OK
5. Now, you can see that pCloudy plugin has been successfully integrated to Android Studio.

Select pcloudy plugin and click on OK to proceed. Here, we are going to install pCloudy plugin for Android Studio from local disk. Click on Install plugin from disk
install-plugin-from-disk

pCloudy plugin for Android Studio has been integrated successfully.

pcloudy-plugin-over-android-studio

Click on pCloudy plugin icon shown on Android Studio. pCloudy Login page opens. Enter your Username and Access Key and click on Login. Your login credentials are verified. Click on OK to proceed.
pcloudy-plugin-over-android-studio

Note: This is one-time task. Credentials will be valid until you logout.
Now, you are ready to use the Android Studio Plugin for pCloudy.
Manual Functional Testing of App

After successful login, upload your app screen appears. Workspace page helps you to select application path of your local machine.
successfully-authenticated

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

Local Drive lets you to upload your app from your local machine to perform testing.
upload-a-project-file

Mobile Browser enables you to use mobile browser for testing.
use-mobile-browser-for-testing

After selecting app, the next step is choosing a device. Select and Connect to devices page provides you list of devices which can be filtered by using filter parameters (Android/iOS, Manufacturer, and OS version). Select duration of your testing. The device will get booked for selected time duration.

When you click on Next, you get a message “Please wait while we open the pCloudy Platform on your default browser for Manual Testing. Please advised that…”
select-and-connect-to-devices

Just after few seconds, you will be redirected to the connected device page over pCloudy to perform manual functional testing of your app on selected device.
briefing

Automation Testing of App

Similarly, the first step towards performing automation testing is selecting an app from workspace/cloud drive/local drive or use mobile browser.
my-application

Select your desired device; select duration of automation testing. You can filter devices displaying devices by using filter options (Android/iOS, Manufacturer, and OS version). Click onNext to proceed.
choose-devices

Note: Here, you can select multiple devices as well.

Finally, you get corresponding pseudo code for performing Automation testing of app. You can copy this pseudo code to clipboard and use it within your Automation script…
paste-the-code-and-proceed

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.

Jenkins Plugins

  • Deliver quality mobile apps continuously by automating the process of build integration using pCloudy Plugin for Jenkins
  • Test your mobile apps by setting automatic triggers to run your automation test scripts unattended on our real devices.
  • Use our easy and inexpensive solution to test your mobile apps on as many devices and environments as you need.

Download the plugin

http://pcloudy-content-distribution.s3.amazonaws.com/index.html?prefix=IDE%20Plugins/Jenkins/

 

Why use the pCloudy plugin with Jenkins?

 

Fast Feedback — Every time someone pushes new code into the source repository, it is crucial to ensure that the integrity of the software is maintained. The plug-in enables you to receive immediate feedback and to help you understand which changes when introduced, made either the compile/build cycle or the tests to fail, and how to revert it.

 

Streamlines and saves time – Spend less time on build integration and more time on app development. Much of the work of frequent integrations is handled by automated build and testing systems, meaning developer time isn’t wasted on large-scale error-ridden integrations. On the other hand, when app developers need to test their apps on a number of mobile devices, a cloud platform like pCloudy helps you to easily select, manage, or schedule real devices for app testing. It drastically reduces the amount of time spent on device management activities like maintenance of the devices and controlling the version of OS on the devices; and not just that, it also provides an access to a host of iOS and Android devices to install and test your app on.

 

Continuously and consistently improve app quality – Using Jenkins allows you to receive immediate feedback from automated testing whenever a new code is pushed. Further, by automating the testing on a range of real devices helps you to improve the quality of the app. With this integration of Jenkins and pCloudy, any bugs can be instantly detected and resolved, keeping the app software in a state where it can be safely released at any time.

 

Speedy Development — Automated build integration and automated tests running on Real devices can be triggered anytime, this enables decreased wait time and results in faster development and deployment. Additionally, integration costs are reduced as serious integration issues are less likely.

Using continuous integration tools like Jenkins with a mobile device cloud platform like pCloudy is a powerful combination that definitely unlocks faster, better and economical means of testing and releasing quality apps.

 

 

Installing the Plugin:

 

An Overview:

pCloudy has released a plugin for Jenkins which provides you access to the platform for performing automation testing of mobile apps from within Jenkins on real devices.

 

Prerequisites:

  1. An account in pCloudy with enough credits.
  2. An API Access key for authentication with pCloudy.com
  3. Chrome Browser on local machine
  4. Jenkins installed on local machine
  5. Download Jenkins pCloudy plugin

Preparation:

How to install the plugin:

 Launch Jenkins in a Web Browser -> Navigate to Manage Jenkins

 

Jenkins Plugins

 

Navigate to Manage Plugins

 

Jenkins Plugins

 


Navigate to Advanced Tab

 

Mobile App Testing Tool

 


Scroll down to Upload Plugin -> Click Choose File -> Browse for pCloudyJenkinsPlugin.hpi

 

Jenkins Plugins

 

Click on Upload, and wait for the pCloudy plugin to be installed.

 

 

How to run automation test execution from Jenkins using pCloudy’s mobile device Cloud?

 

Step 1: Launch Jenkins in a Web Browser

 

Step 2: Select New Item

 

Jenkins Automation Tool

 

Enter a Name for a project, select Project Type and Click OK

 

Jenkins Testing Tool

 

Navigate to Build -> Add build step -> select Execute Test Suite on pCloudy

 

Jenkins Automated Testing

 

Execute Test Suite on pCloudy will open a form

 

In Step 1, enter Authentication details for pCloudy

 

Jenkins Automation Tool

 

In Step 2, enter Execution details

 

Jenkins Automation Tool

 

a) CLI Path is a path where the test scripts are located. It can be in exe or jar format.

 

  i.  CLI Path for exe “C:\xyz.exe %USERNAME% %CLOUDURL%”

 

  ii.  CLI Path for jar “java -jar C:\xyz.jar %USERNAME% %CLOUDURL%”

 

Eg:

 

java -jar C:/Users/user/Desktop/pCloudy/Jenkins/TestMunk-Automation.jar %CLOUDURL% %USERNAME% %APIKEY% %APPPATH% %DURATION% %DEVICES%

 

b) App Path is the location of the .apk or .ipa file

 

c) Duration is the total time required to execute the entire test script

 

In Step 3, Select Devices

 

Jenkins Automated Testing

 

Finally, once configuration is complete click Save or Apply

 

Running Automation Execution

 

The Build can be triggered automatically to start a build as soon as a change is made, or can be manually triggered by clicking Build Now

 

Viewing Console Output

 

Select the Project you are working on

 

Jenkins Testing Tool

 

Select a Build from the Build History

 

Jenkins Automation Tool

 

Select Console Output

 

Jenkins Automated Testing

 

Jenkins Testing Tool

 

View the Reports

 

The complete execution reports can be viewed in the HTML format

 

Scroll down to the end of a Build’s Console Output

 

Jenkins Plugins

 

The complete execution report will be available in the path provided in the Console Output