This tutorial describes how to use UIAutomator tool to test android applicaiton.