Upload
perfecto-mobile
View
110
Download
3
Tags:
Embed Size (px)
DESCRIPTION
Citation preview
Learn How to Test Any Mobile
App Style from within Eclipse
Using Real Devices
Perfecto Mobile Academy Webinar
Feb, 2014
Presented by:
Itzik Levi, Director, Head of Perfecto Mobile Academy
Eran Kinsbruner, Director of Product Marketing
Speakers
Copyright 2013 Perfecto Mobile
2
Eran Kinsbruner
Mobile Quality Evangelist
Director Product Marketing
Itzik Levi
Director, Product Manager
Perfecto Mobile Academy
Booth 7, IMA pavilion, Hall 2
Agenda
Copyright 2013 Perfecto Mobile
3
Perfecto Mobile
The Transition
from Web to Mobile
Selenium Mobile
WebDriver
MobileCloud Platform Overview
MobileCloud WebDriver Technical
Demo
Q & A
Go Mobile Confidently
4
• Founded 2006
• 125 employees
• Offices in Boston, London, Israel
• 900+ Customers
Santa Clara, CA
Vancouver,
Canada
Mexico
Brazil
England
Germany
Spain
Israel
Switzerland
France
India
Australia
Japan
Boston
Customer Value Leadership Award
Mobile Application Testing
Global, 2013
The MobileCloud
5
Common Mobile Project Challenges/Pains
Copyright 2013 Perfecto Mobile
8
Specific Challenges – Selenium & Mobile
Copyright 2013 Perfecto Mobile
9
Reuse web based
selenium scripts
Moving from
Emulators to Real Devices
Test across devices
and platforms
Test any mobile app
style
Collaborate with teams
POLL
Copyright 2013 Perfecto Mobile
10
Recap From Previous Webinar
Copyright 2013 Perfecto Mobile
11
MobileCloud WebDriver –Function Reference
App Performance
Management (Timers,
Network Conditions) Applications
(Install,
Launch, Close)
Devices (Rotate, Reboot,
Gestures, Vitals, Logs,
Properties)
UI (Screenshots,
Objects, Check
Points)
Reporting
(Visual and
Video) MobileCloud Platform (Device
Scheduling, Data Repositories,
Global Coverage, Live Video
Streaming)
How To Get The MobileCloud WebDriver
Copyright 2013 Perfecto Mobile
14
GA: Q1 2014
Free for existing/new MobileCloud Automation
Licensees
Contact Us to learn more
https://www.perfectomobile.com/request_demo
Solution Overview
MobileCloud Web Driver Concepts
16
Java implementation
Implement relevant Selenium interfaces
Two new layers:
Mobile Driver – represents a MobileCloud
Mobile Device – represents a single device
Selenium RemoteWebDriver not used
MobileCloud Web Driver Concepts
17
Supports three Web Driver implementations:
DOM
Native
Visual
Supports Selenium By classes for object
identification
including identification by xpath and by image
MobileCloud Web Driver Extensions
18
Extend Selenium with the following functionalities Application Management (install, uninstall, launch, close)
File Management (get, put, delete)
Device Operations (rotate, reboot, home, gestures)
Device Vitals (CPU, memory, battery, network traffic), Device
Logs (Android, iOS), Device Properties
Screenshots from the device
Control network conditions (start emulation, download PCAP file)
Timers for application performance (device time, system time,
user experience time)
MobileCloud Platform Benefits (device scheduling, data
repositories, global device coverage, live video streaming)
Reporting - visual and video based test reports
MobileCloud Class Relations Diagram
Copyright 2013 Perfecto Mobile
19
MobileCloud Web Driver
Mobile Device
Web Driver DOM
Native
Visual
Web Element
Keyboard
Touch Screen
Timers
Virtual Network
Vitals
Reservation
1. MobileCloud Web Driver Class Hierarchy
20
IMobileDriver
MobileDriver
• Get devices
• Download reports
• Manage repository items
IMobileDevice
MobileDevice
provides
HasTouchScreen TakesScreenshot HasInputDevices
• Open and Close device
• Work on device Role
Selenium
Interfaces
MobileCloud
Interfaces
MobileCloud
Objects
2. MobileCloud Web Driver Class Hierarchy
21
DOM
applications Visual screen
analysis
Native
and hybrid
applications
IMobileDevice
MobileDevice
IMobileWebDriver
MobileDOMApplication
WebDriver JavascriptExecutor
MobileNativeApplication
MobileVisualApplication
Role
Selenium
Interfaces
MobileCloud
Interfaces
MobileCloud
Objects
3. MobileCloud Web Driver Class Hierarchy
22
DOM
element
Visual
element
Native
Element
IMobileWebDriver IMobileElement
MobileDOMElement
WebElement Locatable
MobileNativeElement
MobileVisualElement
Role
Selenium
Interfaces
MobileCloud
Interfaces
MobileCloud
Objects
4. Mobile Web Driver Class Hierarchy
23
IMobileDevice
MobileDevice
IMobileKeyboard
MobileKeyboard
Keyboard TouchScreen
Keyboard
operations
MobileTouchScreen
Touch screen
operations
IMobileTouchScreen
Role
Selenium
Interfaces
MobileCloud
Interfaces
MobileCloud
Objects
5. MobileCloud Web Driver Class Hierarchy
24
IMobileDevice
MobileDevice
IMobileVirtualNetwork
MobileVirtualNetwork
Virtual networks
operations
MobileVitals
Vitals
operations
IMobileVitals
Role
Selenium
Interfaces
MobileCloud
Interfaces
MobileCloud
Objects
6. MobileCloud Web Driver Class Hierarchy
25
IMobileReservations IMobileDevice
MobileDevice
IMobileTimers
MobileTimers
Operation
Timers
MobileReservations
Reservations
operations Role
Selenium
Interfaces
MobileCloud
Interfaces
MobileCloud
Objects
Same API for Web and Mobile
Copyright 2013 Perfecto Mobile
26
MobileCloud Web Driver Documentation
Copyright 2013 Perfecto Mobile
27
Getting Started
Developing MobileCloud Automation Project
Video
Thank You