ExecuteAutomation

Automating web apps using Appium

In this post we will start our discussion to automate Android web application using Appium. For automating a mobile web application, we need to first set the Here is the complete code for the above discussion.
public class FirstAppiumTest {

	// Create instance for Appium Driver
	AppiumDriver driver;

	@BeforeClass
	public void Setup() throws MalformedURLException {

		DesiredCapabilities cap = new DesiredCapabilities();
		cap.setCapability(MobileCapabilityType.DEVICE_NAME, "donatello");
		cap.setCapability(MobileCapabilityType.Browser,	"Browser);

		driver = new AndroidDriver(new URL(
				"http://127.0.0.1:4723/wd/hub"), cap);

	}

	@Test
	public void SimpleTest() {

		// Navigate to google.cocm
		driver.get("http://www.google.com");
		// Search 
		driver.findElementByName("q").SendKeys("execute automation");
		// Click button 
		driver.findElementByName("btnG").click();
	}
}
Please find below the complete video of the above discussion and the code 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