From Desktop to Wearable to Testing Belgium Testing Days 2015 Alfonso Nocella, Maveryx.

Slides:



Advertisements
Similar presentations
Cross Platform UI testing using Sikuli
Advertisements

Test Automation on Mobile environnents Eder Figueroa 4/29/203.
UNIT-e futures and UNIT-e Mobile Ben Potter Systems Architect.
ONYX RIP Version Technical Training General. Overview General Messaging and What’s New in X10 High Level Print and Cut & Profiling Overviews In Depth.
Objectives Overview Define an operating system
Key-word Driven Automation Framework Shiva Kumar Soumya Dalvi May 25, 2007.
Company LOGO Automation Tools For Android Anshu Prasad.
Test Automation An Approach to Automated Software Regression Testing Presented by Adnet, Inc Feb 2015.
© by Pearson Education, Inc. All Rights Reserved.
Introducing new web content management tools for Priority...
Automating Tasks With Macros
Exploring the Basics of Windows XP. Objectives Start Windows XP and tour the desktop Explore the Start menu Run software programs, switch between them,
Extend Your UFT for Mobile Testing & Monitoring Mobile Add-on For UFT Nov 2014.
Chapter 1 Getting Started With Dreamweaver. Explore the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Live dashboards for Progress built by anyone, available anywhere. Introducing DataPA OpenAnalytics Nick Finch CTO.
Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department.
© 2006, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice. Automation – How to.
September 2009 QTP Automation Framework. Objective  Introduction to Automation  Benefits of Automated Testing  Automated Testing Process  Introduction.
Exploring the Basics of Windows XP
By Ms.A.C.Sumathi AP(SG)/ Dept of CSE SNS College of Engineering, CBE.
Creation of hybrid portlet application for file download using IBM Worklight and IBM Rational Application Developer v9 Gaurav Bhattacharjee Lakshmi Priya.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
Motorola Document Classification, File Name, Rev Number Add additional legal text here if required by your local Legal Counsel. MOTOROLA and the Stylized.
UBUNTU - Desktop Panel by default is across the top Applications menu Quick Launch icons Notification area Clock Shut Down Task Bar by default is on the.
Sikuli Ivailo Dinkov QA Engineer PhoneX Team Telerik QA Academy.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Microsoft Visual Basic 2005: Reloaded Second Edition
Principles of User Centred Design Howell Istance.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
Practical PC, 7th Edition Chapter 2: Working with Windows
IE 411/511: Visual Programming for Industrial Applications
Mihir Daptardar Software Engineering 577b Center for Systems and Software Engineering (CSSE) Viterbi School of Engineering 1.
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 4 I Need a Tour Guide.
Functional Automation Testing Case Study 360logica Software Testing Services.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
0 eCPIC User Training: Dependency Mapper These training materials are owned by the Federal Government. They can be used or modified only by FESCOM member.
DB2 Universal Database Confidential | July 2012 | India Software Lab Click to add text © 2012 IBM Corporation An End to End Windows Automation Framework.
Object-Oriented Design Simple Program Design Third Edition A Step-by-Step Approach 11.
Creating an Example Android App in Android Studio Activity lifecycle & UI Resources.
HRL © 2009 IBM Corporation Model-Driven Product-Lines for Embedded Software and for Supply-Chain Companies Tali Yatzkar-Haham Julia Rubin,
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Engineering\CADD Systems Office CADD Manager's Series Customizing the Interface.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
Chapter 9 Operating Systems Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
INFORMATION SYSTEM – SOFTWARE TOPIC: GRAPHICAL USER INTERFACE.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
Tata Consultancy Services1 WebDriver Basics Submitted By : Akhil K Gagan Deep Singh Naveenrajha H M Poornachandra Meduri Shubham Utsav Sunil Kumar G Vivek.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
 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.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Accelerometer based motion gestures for mobile devices Presented by – Neel Parikh Advisor Committee members Dr. Chris Pollett Dr. Robert Chun Dr. Mark.
Requirements analysis, representation and validation
Mobile Application Development Chapter 4 [Android Navigation and Interface Design] IT448-Fall 2017 IT448- Fall2017.
CMPE419 Mobile Application Development
Week 01 Comp 7780 – Class Overview.
Social Media And Global Computing Introduction to Visual Studio
Hands-on Introduction to Visual Basic .NET
Understanding the Visual IDE
Using K2 applications How can users interact with K2 applications?
Android Topics UI Thread and Limited processing resources
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
CMPE419 Mobile Application Development
Presentation transcript:

From Desktop to Wearable to Testing Belgium Testing Days 2015 Alfonso Nocella, Maveryx

2 Summary  From Desktop to Mobile to Wearable  Testing : Diversity leads to Complexity  “SHE” : Shrink, Hide, Eliminate All trademarks referenced herein are the properties of their respective owners.

3 Summary All trademarks referenced herein are the properties of their respective owners.

4 From Desktop to Mobile to Wearable UNIVAC I – 1951 Apple II – 1977 IPhone – 2007 Glass – 2012

5 Different devices, architectures … 5.8’’ – … – 10’.7’ 2.8’’ – … – 6’’

6 Different operating systems …

7 Different frameworks …

8 And now… (?!?) Devices… Applications…

9 Cross-Platform App Development Companies are requested to deliver their software products not only for PC but also, and sometimes primarily, for mobile devices And Testing? (automation)

10 Summary All trademarks referenced herein are the properties of their respective owners.

11 Diversity is often synonym of Complexity Problem: proliferation of test artifacts (tools, scripts, data, UI maps …) to be developed, captured, & maintained upon passing from one environment to another, with a significant impact on time, effort and costs.

12 Summary All trademarks referenced herein are the properties of their respective owners.

13 “SHE” : handle diversity “SHE” : Shrink, Hide, Embody (design principle) [J. Maeda : The Laws of Simplicity]  “SHE” : Shrink, Hide, Eliminate (software testing) Shrink Shrink : test design Hide Hide : complexity Eliminate Eliminate: unnecessary artifacts (UI Maps et al.)

14 An Example Test Tool : Maveryx Test Data : Excel Test IDE : Eclipse (Juno) JDK / JRE : v1.8 Android : v5.0

15 Shrink. Test Design. Write once, run many. Design tests that can be run without modification on different devices. Pros: reduced number of scripts to be developed and maintained Cons: could add a little bit complexity into the tests

16 Shrink. Method. 1.Identify common features 2.Create the tests (common features) 3.Identify differences 4.Manage differences 5.Create new tests (for unmanageable differences) (*) Use a Data-driven approach (both for UI and test data) (**) Could use a Keyword-driven approach

17 Shrink. Method. 1.Identify common features 2.Create the tests 3.Identify differences 4.Manage differences 5.Create new tests Common features are all characteristics (functional, UI…) that can be tested “as is”, without any modification.

18 Shrink. Method. 1.Identify common features 2.Create the tests 3.Identify differences 4.Manage differences 5.Create new tests … and much more …

19 Shrink. Method. 1.Identify common features 2.Create the tests 3.Identify differences 4.Manage differences 5.Create new tests Differences occur in: Labels (in yellow) Paths (e.g. menus, screens…) … And are: Manageable (in the same script) Un-manageable

20 Shrink. Method. 1.Identify common features 2.Create the tests 3.Identify differences 4.Manage differences 5.Create new tests Use a data driven approach to store data for each platform.

21 Shrink. Method. 1.Identify common features 2.Create the tests 3.Identify differences 4.Manage differences 5.Create new tests

22 Hide. Complexity. Supporting, device-dependent functions should be “hidden” to the testers and managed into the framework or in high-level libraries. Pros: more readable and maintainable tests. Testers stay focused on writing tests rather than on supporting functions.

23 Hide. Complexity. Supporting / device-dependent functions concern: Launching the application-under-test Switch between “views” (click, swipe, …) Select the device / platform to run the test on Using Navigation buttons ( ) …

24 Hide. Complexity. Example Select the device / platform to run the test on In general you can use feature or custom annotations

25 Eliminate. The Unnecessary. Automating GUI-based applications on multiple devices and platforms require many sets of GUI Maps (aka Test Object Maps) to be captured and maintained. It is a huge set of data to handle and a time consuming task. Pro: …work on the important: write more tests. Cons: you have to learn or develop a “new” Test Engine.

26 Eliminate. GUI Maps. A GUI Map describes the test objects in the application-under-test It is used by the automation tool to recognize the UI objects to test Each script is associated with a GUI Map Our Approach A test automation engine in continuous development at Maveryx together with the Engineering dept. of Napoli University to which contributed also people from Nokia and Intel

27 Eliminate. GUI Maps. At runtime during test execution takes “snapshots” of the current user interface  …and turn them into a XML documents Information about UI elements includes: Name / Identifier {caption, tooltip …} Role / Type {button, text, checkbox …} Status {enabled, editable …} … GUI MAP or Image

28 Eliminate. GUI Maps. “Classical” to Fuzzy matching algorithms to unambiguously recognize and locate objects during test execution “Geolocation” of objects in the User Interface (TOP, BOTTOM, LEFT, RIGHT …) Automatically accommodate UI changes without modifying the tests TOP BOTTOM LEFTLEFT RIGHTRIGHT CENTER TOP BOTTOM LEFTLEFT RIGHTRIGHT CENTER

29 Conclusions Nowadays SW applications are designed to run on different devices, from desktop to mobile to wearable The issue: proliferation of test artifacts (tools, scripts, data, UI maps…) to be developed, captured, and maintained  impact on time, effort & costs A viable solution “SHE”: Shrink  Test Design Hide  Complexity Eliminate  Unnecessary

30