Cross Platform UI testing using Sikuli

Slides:



Advertisements
Similar presentations
1 Pulsar The Eclipse Mobile Industry Working Group & Sequoyah Nov 6, 2010 Mailing listMailing list:
Advertisements

Test Automation on Mobile environnents Eder Figueroa 4/29/203.
FIM MOBILE PRESENTATION
Ranorex Appium Calabash
Mobile App Development Using: Presented by Tyler Richey Images from
Company LOGO Automation Tools For Android Anshu Prasad.
Amanda Silver Director of Program Management Visual Studio Tools for Client Applications Cross-Platform Development using Visual Studio.
Platform Independent Frameworks Contents Mobile App Developer’s challenges Platform Independent solutions – Mobile Web Based Apps – Cross.
Development of mobile applications using PhoneGap and HTML 5
What is Android? Android is among the most popular operating systems aimed towards mobile devices such as smartphones, and is currently the most widely.
Selenium Automation Testing Suite of Tools. What is Selenium? Selenium is a robust set of tools that supports rapid development of test automation for.
Robotium Tran Dai T1309L. Introduce What is Robotium ? How can setup ? Why we need Robotium ? When.
By Ms.A.C.Sumathi AP(SG)/ Dept of CSE SNS College of Engineering, CBE.
The PhoneGap History Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Automation using Selenium Authored & Presented by : Chinmay Sathe & Amit Prabhu Cybage Software Pvt. Ltd.
Three-tier Mobile Application Testing Framework:
Sikuli Ivailo Dinkov QA Engineer PhoneX Team Telerik QA Academy.
Android in the Cloud Chromebooks, BYOD and Wearables Joel Isaacson Copyright 2014 Joel Isaacson
Title slide to be used at the start of a module. Developing Mobile Apps Roland Guijt
“Automate Anything You See” Uses image recognition to identify and control GUI components Useful when there is no easy access to a GUI's internal or source.
Vs. Ease of Developing 3 rd Party Applications. Points of Interest Closed Source vs. Open Source – Does It Matter? Objective-C vs. Java – Implementation.
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.
Introducing NativeScript [Pavel Kolev Software Telerik: a Progress company]
Developing Cross-Platform Applications with Visual Studio 2015
Moving from Web-based Collaboration to the Mobile Arena Nimrod Geva Product Group Manager, KWizCom
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
Understanding Xamarin Development Matt
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
Selenium January Selenium course content  Introduction (Session-1)Session-  Automation  What is automation testing  When to go for automation.
The way of hybrid mobile development Hybrid Mobile Applications Telerik Software Academy
Mohit Anand, Software Engineer Adobe 1 Selecting GUI Automation Testing Tool for Mobile Domain.
Testing in Android. Methods Unit Testing Integration Testing System Testing Regression Testing Compatibility Testing Black Box (Functional) White Box.
A script free GUI Automation Framework using Sikuli Nikhil K R
Developing Cross Platform Apps with the ArcGIS Runtime SDK for Qt
 Can access all API’s made available by OS vendor.  SDK’s are platform-specific.  Each mobile OS comes with its own unique tools and GUI toolkit.
- 1 - SeeTestAutomation Product Introduction SeeTest Product Suite.
Google Web Toolkit for Mobile Applications Development INGENUITY AT ITS BEST……………….
Best 5 Mobile App Development Tools for Developer's to think beyond the Limitation.
PhoneGap / PhoneGap Build #CreateTheWeb Mihai Corlan / Adobe Web Evangelist
By SPEC INDIA. TestComplete – An Introduction An automated testing tool by SmartBear – TestComplete is a comprehensive product with umpteen features and.
丁建文 國立高雄應用科大資管系副教授 兼任計網中心軟體發展組組長 跨平台行動應用軟體開發技術 : HTML5 & Mobile JavaScript Framework 暨南大學.
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
Understanding the Xamarin Mobile Platform
Build Cross-Platform Mobile Apps Using Visual Studio A Telerik webinar by Jeffrey T. Fritz March 27, 2014 AND.
Build Hybrid Mobile Apps with Ionic, Angular, & Cordova Brian
TECH RELATED TOPIC PRESENTATION MICROPROCESSOR: CSE341 COURSE INSTRUCTOR DR. JIA UDDIN Assistant Professor Department of Computer Science and Engineering.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
QML and JavaScript for Native App Development Michael Tims Jen Trieu.
Mobile App Development Using:
Beginning of Xamarin for iOS development
Appium Studio Appium testing made easy at any scale.
Introducing the Windows Mobile development
Browsers and Web Platforms
Apache Cordova Overview
Dynamics of Mobile Application Testing
Survey Paper & Manuscript
Galen - Automated testing of look and feel
Cross platform automated appium testing - A Primer
Appium Studio for Eclipse
Chapter 4.
Mobile App Development
Apps XD.
WEBINAR: Test Automation & Robotic Automation of Dynamics AX with Rapise October 18th, 2018 – Adam
Draft Proposal for an Eclipse Mobile Development Suite Architecture
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
Open Automation Software
05 | Desktop Applications
Presentation transcript:

Cross Platform UI testing using Sikuli -Amit Dixit -Dipesh Bhatewara

Objective Testing of mobile based application Current platform specific tools Challenges Generic Solution For All The Platforms

Mobile Platforms And Testing Tools Android Android Instrumentation Robotium Seleniumdroid iOS UI Automation FoneMonkey Frank Symbian CTS (Compatibility Test Suite)

Android Android Instrumentation Robotium Selenium droid Paid Tool Instrumentation framework based on JUINT3 Framework supports activities , toasts , context menus etc. Robotium Extends Android Instrumentation Framework Can develop powerful test cases  Can handle multiple activities  Blazing fast test execution Runs on a device Selenium droid Runs in android browser Use native touch events to emulate user interaction Paid Tool See Test

iOS UI Automation FoneMoneky Frank Tests in JavaScript Allows you to write test scripts to exercise your application’s user interface elements Runs on a connected device / simulator FoneMoneky FoneMonkey is a functional testing tool for the iPhone providing for the interactive creation, editing and playback of automation scripts Easily incorporated into continuous integration Frank Provide support for automating functional testing of an iOS app. Integrate with BDD tools like cucumber Works on device and simulator

Challenges Generic Challenge Technical Challenge Diversity of devices /platforms Application complexity Technical Challenge Large no of test cases Verification of UI

Solution Test Automation Benefits Generic Way for Test Automation on multiple platforms(Use tools like Sikuli). This will solve maintenance problem. Build Reliable and comprehensive test framework Benefits Cost Reduction Increased productivity Better application Quality

Nature of Mobile Applications (xcode – objective C) Calculator(XCODE – Objective C) (webos – JS/CSS) Application (Calculator) (java – android SDK) Calculator (webos – JS/CSS) Calculator (java- android SDK)

Approach to solve the problem Image based test automation Automate user operations eg. Click, type, drag- drop, mouse actions etc. Visual verification of the expected output Not dependent on platform underneath Can be used to automate emulator as well as device. 9

Advantages of the approach Can accurately test GUI and rendering of applications. Write test outside the device Can be used to automate multiple devices without getting into details of each platform technology Can perform actions on Emulator (Virtual Boxes) Easy to automate.

Limitations of the approach Highly depends on the Resolution. Can not run in background. Dynamic paths are tricky to automate.

What is Sikuli? Visual technology to automate GUI using images. MIT research project. Open Source license. Sikuli IDE Sikuli Script API Automates anything on screen without internal API's support Works on Windows, Mac, Linux.

Sample Sikuli Script 13

DEMO

Solution proposed in demo to test Calculator Use Java for test Project, Use Junit Import Sikuli Script API Write single test which will use an interface for calculator operations Implement interface for Android and Iphone with different set of images required for automation Run same test by changing the configuration on multiple emulators/devices Can see the device on your machine using VNC and use that view to run your test on.

Q & A 16