LOGO Tech propulsion Labs Android Webdriver Test automation - Selenium 2 Masud Parvez SQA Architect Tech Propulsion Labs

Slides:



Advertisements
Similar presentations
Android Application Development A Tutorial Driven Course.
Advertisements

A Bluffer's Guide to Selenium 2 By: Simon Stewart & Anthony Long.
CSCI 4800/6800 E. Kraemer 9/2/2009.  Apple iPhone SDK Apple iPhone SDK ◦ iPhone University Program iPhone University Program  if/when UGA legal signs.
Coursework 2: getting started (1) – running the phone emulator Chris Greenhalgh G54UBI / Chris Greenhalgh
1 Mobile Computing Mobile First (formerly Worklight) Copyright 2015 by Janson Industries.
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
SET UP COMPUTER ** PLEASE BE AWARE SCREENSHOTS MAY NOT MATCH **
Intelligent Tutoring System Mobile Communication Team Drew Boatwright Nakul Dureja Richard Liou.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Android Application Development 2013 PClassic Chris Murphy 1.
Presented by…. Group 2 1. Programming language 2Introduction.
Android Introduction Platform Overview.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Using Selenium for Mobile Web Testing Powered by KendoUI Telerik QA Academy Atanas Georgiev Senior QA Engineer KendoUI Team.
Telerik Software Academy Software Quality Assurance.
Three-tier Mobile Application Testing Framework:
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Operating system for mobile devices with a Java programming interface. Provides tools, e.g. a compiler, debugger, device emulator, and its own Java Virtual.
Introduction to Mobile Programming. Slide 2 Overview Fundamentally, it all works the same way You get the SDK for the device (Droid, Windows, Apple) You.
Java Mobile Apps with GWT & PhoneGap Josh Marinacci, webOS Developer Advocate.
Introduction to Android Android How to Program © by Pearson Education, Inc. All Rights Reserved.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
Testing Web applications. Selenium What is Selenium? Selenium is a suite of tools to automate web application testing across many platforms Tests run.
By: Toms Linnes Mrunal Patel.  Universal  With qooxdoo you build rich, interactive applications, native-like apps for mobile devices light weight single.
Android for Java Developers Denver Java Users Group Jan 11, Mike
1 Tradedoubler & Mobile Mobile web & app tracking technical overview.
PHP on Windows Improvements in PHP-Microsoft Interoperability Brian Swan PHP Developer Outreach,
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
Selenium Web Test Tool Training Discover The Automating Power Of Selenium Author : Girija Prasad Panda Alcatel-Lucent.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Web Automation Testing With Selenium By Rajesh Kanade.
Pubman and Selenium tests. What is Selenium Selenium is a suite of Web application test automation tools for any browser on any operating system –Firefox,
Automated Smoke Testing on the JVM with Geb João SILVA (GS-AIS-EB) 1st Forum 29th of September, 2015 e-Business Section AUTOMATED SMOKE.
Agile and the automated testing of accessibility
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
Selenium January Selenium course content  Introduction (Session-1)Session-  Automation  What is automation testing  When to go for automation.
Lec 18 Web with Selenium 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 16 Testing Web Applications 10/23/
Perfecto’s CQ Lab using Selenium RemoteWebDriver & Appium
Installation of Visual Studio Android emulator and Android Studio
Web Scraping with Python and Selenium. What is Web Scraping?  Software technique for extracting info from websites Get information programmatically that.
Tata Consultancy Services1 WebDriver Basics Submitted By : Akhil K Gagan Deep Singh Naveenrajha H M Poornachandra Meduri Shubham Utsav Sunil Kumar G Vivek.
Testing Your Alfresco Add-ons Michael Suzuki Software Engineer.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
QA Online Training In QA Click Academy. Selenium is a test automation framework used to test web applications such as browsers. It consists of different.
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
SAFARI TEST AUTOMATION: NAVIGATING THROUGH THE JUNGLE BY KARAN KUMAR AND JAMES CHUONG.
Build Cross-Platform Mobile Apps Using Visual Studio A Telerik webinar by Jeffrey T. Fritz March 27, 2014 AND.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
Testing Your Alfresco Add-ons Michael Suzuki Software Engineer.
What is Selenium Web Driver? - Selenium Training Collection.
Test Web applications using Selenium
The Zen of UI Test Automation
Make your app a native part of Office with Add-ins
Introduction of Selenium Webdriver Using Java
UI Test Automation with Appium
Onlineitguru Selenium is one of the most widely used open-source tool that is used for testing software or Automation. It is licensed under Apache License.
Cross platform automated appium testing - A Primer
Automation for mobile apps Presenter: Nikita Mader
5 things you didn’t know you can BUILD with Microsoft Edge
Test Automation For Web-Based Applications
Office 365 Development.
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
Korea Software HRD Center
Android Development Introduction to Android Development 2011/01/16
Presentation transcript:

LOGO Tech propulsion Labs Android Webdriver Test automation - Selenium 2 Masud Parvez SQA Architect Tech Propulsion Labs

All copyright is reserved by Tech propulsion labs Contents What is Selenium ? 1 Selenium Versions 2 Life of Web story 3 Impact of JS 4

Contents Mobile application testing 5 Android and Selenium 2 6 WebDriver 7 Why Webdriver ? 8

Contents Android Test architecture 9 Setup selenium for Android 10 How are we doing? 11 Limitations 12

Contents Demo 13 Guide line for python 14 Way to walk in the future with us Questions and Answers

What is selenium ?  Selenium is a suite of tools to automate web app(!!!!) testing across many platforms. Selenium runs in many browsers and operating systems.  Free wear

Selenium versions Selenium Selenium 2 b-1 January Selenium 2 July

Updates in Selenium Mobile application testing. Fire fox 4, 5, 6, 7 Experimental IE9 and chrome support WebDriver

Why do we need Selenium? ? ? ? ? Selenium

Life before the Web Total Application Market

Yesterday Total Application Market HTML +JS

Data Total Application Market

Today HTML JS Total Application Market

Tomorrow HTML JS Total Application Market

Today HTML JS Total Application Market Selenium Lives here

Tomorrow HTML JS Total Application Market Selenium Lives here

Mobile application testing 1 iPhone/ iPad 2 Android 3 WP7

Android and selenium 2 Android driver

Webdriver New tech that Selenium 2 Test direct access browser No proxy server New API

Why Webdriver ?  WebElement.findElement is universal - all UIs are trees  Web has DOM (elements)  Windows has HWND  Android has Views

Why Webdriver ?  Many operations are universal between all UIs Matching:  clear  click  findElement(By.id)

Why Webdriver ?  Extensible API  WebDriver API extensions, such as Rotatable,  RenderedWebElement, are implemented by a subset of drivers.  Creating a new API for every platform is cumbersome instead:  Emphasize the similarities with the core WebDriver API  Supply simple platform-specific extensions as needed.  Facilitate piece-wise code re-usage

Android-Driver Interaction architecture

Setup selenium for Android Phase 1 Phase 2 Phase 3 Set up Emulator Set up SDKStart Emulator

Setup selenium for Android Phase 4 Phase 5 Phase 6 Port Forwarding Install the AppRun your test

Download Android SDK  Web link: www.

Installation Command  Update SDK./android update sdk  Create Emulator./android create avd --target 2 --name newavd  Run emulator./emulator.exe -avd newavd

Installation Command  Install android driver in emulator./adb install name_and  Forward port./adb forward tcp:8080 tcp:8080  If You are using eclipse then install ADT kit

Script  // Calling android driver  AndroidDriver driver = new AndroidDriver();  // And now use this to visit Google  driver.get("  // Find the text input element by its name  WebElement element = driver.findElement(By.name("q"));  // Enter something to search for  element.sendKeys("Tech Propulsion Labs");

Script  // Now submit the form. WebDriver will find the form for us from the element  element.submit();  // Check the title of the page  System.out.println("Page title is: " + driver.getTitle());  //Turn off the driver  driver.quit();

Limitations  Slower than Headless WebKit Driver  Support for SDK versions 2.2 and prior, has been deprecated  Does not work on emulators running 2.3 because of an emulator bug that should be fixed soon by Android. However it works on Devices running 2.3 and higher

DEMO

QUESTION

By python  To install the Python client library: # pip install -U selenium  Import the Selenium 2 namespace from selenium import webdriver  iPhone driver = webdriver.Remote(browser_name="iphone", command_executor='  Android driver = webdriver.Remote(browser_name="android", command_executor='  Google Chrome driver = webdriver.Chrome()  Firefox driver = webdriver.Firefox()

Way to walk in the future with us  Blog:  Post in blog regarding this topic driod-webdriver-want-to-test.html

Way to walk in the future with us  Android.apk Automation Test link: ature=mfu_in_order&list=UL  Selenium automation framework Link: &feature=mfu_in_order&list=UL

Copyright 2011 Tech Propulsion Labs, Inc. Masud Parvez SQA Architect