Avinash Tiwari | Posted on | 2 min Read

The cloud-based on-demand plug and play ‘app certification platform’saves cost by nearly 50%.

A mobile solution provider, based out of Noida was faced with numerous challenges, such as, lack of- adequate device coverage and devices management, test apps in continuous integration mode, efficiency of mobile app testers, device sharing between teams, access of devices to geographically distributed devices, among others.
Keeping the organisation’s large scale of business in mind, pCloudy developed the most appropriate single platform hybrid solution to address all the above pain-points. This ‘Hybrid’ Lab included the conversion of the existing physical device to an on-premise mobile lab over cloud, thus enabling teams to access the devices from anywhere, anytime enabling them to schedule and book devices easily. Teams at the mobile solutions company could now schedule automated runs in a continuous integrated mode and also during regression tests.

In addition, pCloudy provided a single interface access to its public cloud for the Client’s team. Teams could now switch between public and on-premise clouds seamlessly, depending on the specific requirement, besides being able to access various devices during their release tests, thus finding a single-click platform for all the challenges it was faced with earlier.
Thus, pCloudy, the flagship product of Smart Software Testing Solutions Inc. in addition to business growth, brought about significant benefits to the mobile solution provider, much to the latter’s delight, including,
· 30% increase in productivity of teams
· 44% reduction in Test Cycle
· 25% increase in test coverage and reduction in production benefits

Another start-up Planet Gogo, in the mobile news space, funded by HT media recently, launched their Mobile App. To ensure success of their App, they wanted to test on variety of Low and medium budget smartphones. Moreover, they wanted to reproduce issues reported by their beta users. These issues were device specific where in pCloudy provided them the appropriate one-stop solution.

How the journey began?
Pankaj Goel, a technology Consultant who formerly worked at Oracle India, HCL Technologies and Adobe Systems along with Lalit Jain, also a consultant with experience in having worked with Wipro and Adobe Systems, co-founded CresTech Software Systems in 2006. The Company grew rapidly to become a trusted name in Independent QA and Testing space. Today it has 3 delivery centers at Noida, Bangalore and California and is a trusted partner of many Fortune 500 companies helping them accomplish their software quality management goals successfully.

Around 2009-10 the founding team conceptualized a ‘Commercial of the Shelf Solution’ called OpKey with Tool Agnostic Test Automation Platform. Very soon, this became a preferred ‘tool of choice’ for many customers, across the globe, who were looking to kick-start their Automation initiatives. In 2014,the three dreamers or the ‘tech nerds’ as they proudly call themselves – Lalit Jain (The Customer’s Voice), Pankaj Goel (The Open-eyed Dreamer) along with Avinash Tiwari (The Pragmatic Dreamer) decided to start another venture, with separate investment for OpKey and closed funding recently.

This new venture, Smart Software Testing Solutions Inc., was formed with the vision to create product and platforms for testing of Apps in a connected world. In line with their vision, they acquired, pCloudy Design Labs, a Bangalore based start-up that focused on Cloud Technology for a Mobile device. Today, pCloudy has been transformed as a Mobile App Testing platform and a separate entity in itself.
pCloudy is India’s first-of-its kind, plug and play app testing platform serving e-commerce, Mobile App based businesses, Mobile App Development companies, besides large enterprises. Besides serving the Indian market, its geographical expansion plans include catering to Australia, Philippines, Singapore, Malaysia, Thailand and Indonesia.

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