Category: General Tools

Rally for Rivers – Save India’s Lifelines

I know this post has nothing to do with automation nor does it help anyone who have anything to do with India, but India is in its brink of water scarcity and its getting worse every year.

I am from southern part of India and my native is Madurai and last month while I traveled to India for holiday, I got completely distressed with the way people are living their day to day life, the underground water in most of the areas are completely depleted and most of the people that too living in the heart of city are waiting for drinking water supply from corporation. The bad news is, the water supply happening from corporation is now extended from 3 days once to weekly once and even worse there is NO water in Vaigai river which is the only source of drinking water for people in and around Madurai.

The above statement is applicable for year 2017, but if we dont save water or merge all the rivers now (which is the only hope we got, since we have cut almost all the trees and made complete deforestation) the statement will be something like this

People in Madurai forgot what ground water is and madurai corporation is planning to supply drinking water monthly once.

Sadhguru, in fact my Guru is conducting an great rally named “Rally for Rivers” which is mainly done by Sadhguru with only one motivation, SAVE THE NATION AND HUMANITY.

I support the effort of Sadhguru, hats off Guru ji

Lets all support for the great moment which is going to happen on September 2017

Thanks,

Karthik KK

Distributed test execution in android with Spoon

In this post we will discuss one of the coolest and most useful testing behavior called distributed testing of application in Android. Well, many of readers like you have been asking this to me and this is the answer for your question, Spoon!!

Spoon

Android’s ever-expanding ecosystem of devices creates a unique challenge to testing applications. Spoon aims to simplify this task by distributing instrumentation test execution and displaying the results in a meaningful way.

Spoon makes existing instrumentation tests more useful. Using the application APK and instrumentation APK, Spoon runs the tests on multiple devices simultaneously. Once all tests have completed, a static HTML summary is generated with detailed information about each device and test.

Spoon Components

Spoon has only two components which are basically JAR files you can download from here

  • Spoon Runner
  • Spoon Client library

Spoon client library jar file need to be added in our AUT or Test project for taking screenshots, whereas runner is responsible for running the test in multiple devices.

Spoon Command to run the test

Html Report

Read more

Configuring VS Emulator for Android in Eclipse

In the last post we discussed about VS Emulator for Android installation and its features compared to Android SDK emulator. In this post we will discuss Configuring VS Emulator for Android in Eclipse IDE.

To configure in eclipse IDE, we need to follow three steps as mentioned below

  • Change the Run configuration
  • Add External tools as VS emulator for android
  • Set the android sdk path in regedit (optional)

Here is the complete discussion of the above discussion.

Thanks for reading the post and watching the video !!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

Visual Studio Emulator for Android (Installation)

Late last year Microsoft introduced VS emulator for android along with Visual studio 2014 (now called as Visual Studio 2015), but now it’s available as a separate package downloadable from https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx. Hence machine without visual studio can also install this emulator and work for any kind of android application development and testing.

What are the major advantages?

  • It’s very fast compared to any emulator till date.
  • It works seamlessly even if your Hyper-V is enabled
  • Since now it is along with Visual studio, you don’t have to buy any 3rd party emulator which works with Visual studio

Apart from that

The emulator has following cool features

  • Supports sensor simulation like Zoom, Orientation
  • Network Info
  • Location (GPS)
  • Accelerometer
  • Power button simulation
  • Screenshot
  • Camera
  • Multi-touch

Read more