Appium 1.2.2. App Automation Study. Study. Version: 1.0 Date: 4/14/2015 5:38:00 PM Status: Erstellt Author: Kai Höher, MSc



Similar documents
Squish 6.0. Test Automation Study. Study. Version: 1.0 Stand vom: :41:00 Status: Erstellt Author: Mohamed Mahmoud

TestLink 1.8. Test Management Tool Study. Analysis. Version: 1.0 Status of: :42:00 Status: Released Autor: Jaroslav Klimes

SonarQube 5.1. Code Analysis Study. Study. Version: 1.0 Status from: :09:00 Status: Draft Author: Karin Zölzer

Bredex GUIdancer 4.2. Test Automation Study. Study. Version: 1.0 Stand vom: :38:00 Status: Erstellt Author: Liljana Pendovska

Neotys NeoLoad Test Automation Study. Study. Version: 1.0 Status from: :40:00 Status: Released Author: Ing.

SmartBear SoapUI 5.1

Grinder 3.4. Test Automation Study. Study. Version: 1.0 Stand vom: :40:00 Status: Erstellt Author: Liljana Pendovska

NUnit Study. Unit Test Study. Version: 1.3 Status from: :44:00 Status: Released Authors: Ing. Jaroslav Klimes

SmartBear SoapUI 5.1

International Journal of Advanced Engineering Research and Science (IJAERS) Vol-2, Issue-11, Nov- 2015] ISSN:

Appium mobile test automation

SOFTWARE TESTING TRAINING COURSES CONTENTS

Title: Appium Automation for Mac OS X. Created By: Prithivirajan M. Abstract. Introduction

HP SAP. Where Development, Test and Operations meet. Application Lifecycle Management

Perfecto Mobile. All rights reserved.

A Comprehensive Review of Web-based Automation Testing Tools

Automation using Selenium

Test Automation Integration with Test Management QAComplete

FDT for Mobile Devices

Best Practices in Automation Testing of Mobile Applications

Overview Company & Product Portfolio

DTMs in the Cloud. FDT Developer Forum on 5th of May 2015 at Schneider Electric in Marktheidenfeld

Robotium Automated Testing for Android

DESIGN OF AUTOMATION SCRIPTS EXECUTION APPLICATION FOR SELENIUM WEBDRIVER AND TestNG FRAMEWORK

Viewpoint. Choosing the right automation tool and framework is critical to project success. - Harsh Bajaj, Technical Test Lead ECSIVS, Infosys

QEx Whitepaper. Automation Testing Pillar: Selenium. Naveen Saxena. AuthOr:

Web based Automation Testing and Tools

01. Introduction of Android

SQS-TEST /Professional

VERIFICATION AND VALIDATION AUTOMATED TESTING TOOLS CLAUDIU ADAM

HTML5. Turn this page to see Quick Guide of CTTC

Professional Test Automation. The GUI Test Tool for Java and Web

Selenium Automation set up with TestNG and Eclipse- A Beginners Guide

Running a Program on an AVD

SQS the world s leading specialist in software quality. sqs.com. SQS Testsuite. Overview

Applitools Eyes Web Application Guide

Install MS Office 365 on your Android mobile device

ArcGIS Viewer for Silverlight An Introduction

Business Assurance & Testing QEx Automation Platform

Know the Difference. Unified Functional Testing (UFT) and Lean Functional Testing (LeanFT) from HP

WEB APPLICATION TESTING SOLUTIONS WITH SELENIUM

eggplant for Cross Platform Test Automation TestPlant Nick Saunders

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

geniusport mobility training experts

Automated Performance Testing of Desktop Applications

Testing Tools Content (Manual with Selenium) Levels of Testing

Performance Testing of Java Enterprise Systems

Test Automation Tool comparison HP UFT/QTP vs. Selenium - Prashant Malhotra

LoadRunner and Performance Center v11.52 Technical Awareness Webinar Training

Azure Day Application Development

Certified Selenium Professional VS-1083

QA Tools (QTP, QC/ALM), Selenium with Java, Mobile with Automation, Unix, SQL, SOAP UI

Mobile Test Automation Framework

Functional UI testing of Adobe Flex RIA. Viktor Gamov August,

Web Applications Testing

How To Use Titanium Studio

Backend as a Service

Mobile Application Development

EFFICIENT AND FLEXIBLE SOLUTIONS FOR YOUR SOFTWARE DEVELOPMENT NEEDS

Protect, License and Sell Xojo Apps

Cross Platform Mobile. -Vinod Doshi

Mobile App Design and Development

DV4 - Citrix CloudGateway: Access and control Windows, SaaS and web applications. Systems Engineer, Citrix Systems GmbH

Study of SAP ERP Connection System Driven in Smartphone

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

SAP Web IDE Hybrid App Toolkit Add-on

Customize Mobile Apps with MicroStrategy SDK: Custom Security, Plugins, and Extensions

SOFTWARE TESTING PROCESSES PRESENTATION

Adobe Summit 2015 Lab 712: Building Mobile Apps: A PhoneGap Enterprise Introduction for Developers

Web 2.0 Technology Overview. Lecture 8 GSL Peru 2014

Software Development Kit

Selenium 1.0 Testing Tools

IBM TRIRIGA Anywhere Version 10 Release 4. Installing a development environment

Symbio system requirements. Version 4.x

Silk Test Testing Mobile Applications

Mobile Labs Plugin for IBM Urban Code Deploy

Frameworks & Android. Programmeertechnieken, Tim Cocx

Installing the Android SDK

How to Get the Most out of Your CI/CD Workflow Using Automated Testing

With a single download, the ADT Bundle includes everything you need to begin developing apps:

Evaluation of Load/Stress tools for Web Applications testing

Creating Home Directories for Windows and Macintosh Computers

GeoInt 2015 Watson Workshop

INDEPENDENT TESTING & QA SERVICES

AUTOMATING THE WEB APPLICATIONS USING THE SELENIUM RC

Mobile Automation: Best Practices

Apache JMeter. Emily H. Halili. Chapter No. 6 "Functional Testing"

Web Performance Testing: Methodologies, Tools and Challenges

Reminders. Lab opens from today. Many students want to use the extra I/O pins on

How To Test On An Hp Mobile Device

White Paper. Fabasoft Folio Thin Client Support. Fabasoft Folio 2015 Update Rollup 2

1) SETUP ANDROID STUDIO

Transcription:

Appium 1.2.2 App Automation Study Study Version: 1.0 Date: 4/14/2015 5:38:00 PM Status: Erstellt Author: Kai Höher, MSc Document-ID: Classification: Intern Software Quality Lab. Alle Rechte vorbehalten. Druckdatum: 14.04.2015

Table of Content DOCUMENT INFORMATION... III General... III Document-History... III Document-Quality assurance... III Purpose and contents of this document... III 1. GENERAL... 1 1.1. About the Company... 1 1.2. Product Portfolio... 1 1.3. Program Parts... 1 1.4. System Requirements... 2 2. OBJECT DETECTION... 3 2.1. XPath... 3 2.2. Appium Inspector... 3 3. SPECIFICATION... 5 3.1. IDE... 5 3.2. Test Case Creation... 5 3.3. Reusability... 6 3.4. Robustness... 6 4. EXECUTION... 7 4.1. Setup... 7 4.2. Recording... 10 4.3. Test Case Creation... 13 4.4. Test Execution... 14 5. ADMINISTRATION... 15 5.1. Installation on Mac OS X... 15 5.1.1. Appium.app... 15 5.1.2. Appium Server... 16 5.1.3. Client... 18 5.2. Documentation... 18 6. CONCLUSION... 19 Version: 1.0 Author: Kai Höher, MSc Status: Erstellt I / III

APPENDIX... 20 Table of Pictures... 20 Version: 1.0 Author: Kai Höher, MSc Status: Erstellt II / III

Document Information General Connections to other documents: This analysis is a part of test automation study by Software Quality Lab. Receivers: - Document-History Version Status Date Responsible person Reason for changes/ Comments 0.1 Document-Quality assurance Rolle Name Reachable (Place+Tel.+e-mail) Action Date Signature Author Kai Höher Created Reviewer Releaser Reviewed Released Purpose and contents of this document This document contains an objective analysis of a test automation tool and it should be available as a decision base for the people interested in the selection of a new tool. Version: 1.0 Author: Kai Höher, MSc Status: Erstellt III / III

1. General 1.1. About the Company Appium is an open source test tool powered by Sauce Labs, which has been founded by Jason Huggins, the creator of Selenium and John Dunham. Sauce Labs is a company from San Francisco, which is specialized on cloud-hosted, web and mobile application testing. Their features reach from automated cross-browser to manual testing. 1.2. Product Portfolio Sauce Labs covers a variety of features in the area of web and mobile testing: Automated cross-browser testing using Selenium Testing and JavaScript Unit Testing Automated mobile testing using Appium Manual Testing Sauce mobile testing is based on the Appium open source project. Appium interfaces directly with native ios and Android automation frameworks. 1.3. Program Parts The Appium concept consist of a client/server architecture. This also makes it possible to test via the cloud. Server: Appium Server is a server written in Node.js. It can be built and installed from source or installed directly from NPM (Node Packaged Modules). Appium.app (Mac OS X) and Appium.exe (Windows) are servers, which already include GUI wrappers. These come bundled with everything required to run the Appium server and also contain an Inspector, which enables you to check out the hierarchy of your app. Clients: There are client libraries available in Java, Ruby, Python, PHP, JavaScript, and C#, which support Appium's extensions to the WebDriver protocol. All server and clients can be downloaded for free at appium.io. Version: 1.0 vom 01.12.2010 Author: Kai Höher, MSc Status: Erstellt 1 / 20

1.4. System Requirements Basically Appium is running on all major OS, but ios Apps can only be tested via Mac OS X. Details are shown in the following table. ios Mac OS X 10.7+ XCode 4.5+ w/ Command Line Tools Android Mac OS X 10.7+ or Windows 7+ or Linux Android SDK 16 (SDK < 16 in Selendroid mode) Version: 1.0 vom 01.12.2010 Author: Kai Höher, MSc Status: Erstellt 2 / 20

2. Object Detection Appium supports a subset of the WebDriver locator strategies to detect and find objects. GUI elements can be found by name (i.e. button title) or by XPath (i.e., an abstract representation of a path to an element, with certain constraints). 2.1. XPath XPath (XML Path Language) is used to describe GUI elements, for example: //UIAApplication[1]/UIAWindow[1]/UIATextField[2] As a result of hierarchically structure it also shows the actual position of the element. Another benefit of these strings is that you can work later with placeholder and/or regular expressions in your code, which makes it robust and maintainable. 2.2. Appium Inspector The Appium Inspector is part of the Appium.app and is used to analyse the GUI of an app. Figure 1 shows a screenshot of the Appium Inspector under Mac OS X. Figure 1 Appium Inspector On the left side the UI elements are shown, structured like a file system. You can either click on an element within the current screen of the app, which is shown on the right side, or go through the hierarchical structure, like going into folders and subfolders of a file system, to get the information of an element. Version: 1.0 vom 01.12.2010 Author: Kai Höher, MSc Status: Erstellt 3 / 20

Once one element is selected you see all necessary technical information of it in the Details box in the middle. Besides some general information, you can also see the useful XPath, which has already been explained in the previous chapter. Via checkboxes at the filters section (shown at the top) it s possible to activate and deactivate disabled and invisible objects. The record and refresh buttons as well as the other options at the bottom are used to record user interaction and create code, which can be used for tests. Details of this feature will be covered within an upcoming chapter. Version: 1.0 vom 01.12.2010 Author: Kai Höher, MSc Status: Erstellt 4 / 20

Thank you very much for downloading a public preview of our well known and highly appreciated tool studies. If you re interested in reading the whole document just apply here and request the document you want to read from our comprehensive set of studies already available. For further information on our tool studies visit our web site. Or, you can always use the following form to request the studies you want to read. Seite 1 von 2

Bestellformular für Tool-Studien/Order form for tool studies An/to Software Quality Lab GmbH Gewerbepark Urfahr 6 4040 Linz AUSTRIA Bitte ausgefüllt per Email an/ Please fill out and send to info@software-quality-lab.com Name/full name: Adresse/address: Firma/company: Email/email: Funktion/role: Telefon/phone: / [bitte füllen Sie die Daten vollständig und korrekt aus/please supply correct and complete data] Bestellliste/Order list [bitte kreuzen Sie die gewünschten Tools an/please select the tool studies] ALM, RM IBM Rational Requirements Composer 4.0.2 Jama Contour 3.61 NEU! Micro Focus Borland Caliber Microsoft Team Foundation Server 2013 Polarion ALM 2014 HP ALM 11 VersioneOne 13.0 Visure Solutions IRQA 4 Test Management Imbus TestBench 1.6.1 Micro Focus SilkCentral 2008 Microsoft VSTS 2010 Mozilla Testopia 2.1 Orcanos QPack 5 Polarion ALM 20121 NEU! Siemens SiTEMPPO 5.8 TestLink 1.9.12 Seapine TestTrack 2012 Static Code Analysis SonarQube 4.5 GUI Test Automation Appium 1.2.2 Bredex GUIdancer 4.2 HP UFT Professional 10 IBM Functional Tester 8.1.0.3 Microsoft VSTS 2010 QF-Test 3.5.1 NEU! Ranorex 3.3 SAP ecatt Selenium 2.0 SmartBear TestComplete 9.3 SmartBear SoapUI 5.1 Weitere Informationen auf unserer Website www.software-quality-lab.com. Embedded Systems LDRA 8.0 Razorcat Tessy 2.6 Load/Performance Apache JMeter 2.8 Grinder 3.4 HP LoadRunner 9.5 Neotys Neoload 3.0.3 SmartBear LoadUI 2.8.0 Unit Tests Google Test 1.5 JUnit 4.11 NUnit 2.5.7 Die Toolnamen und eingetragenen Warenzeichen sind Eigentum der jeweiligen Toolhersteller/Tool names are property of tool vendors. Die Studien sind grundsätzlich auf Anfrage frei erhältlich. Software Quality Lab behält sich jedoch vor, die Aufwände für gewisse Branchen und Privatpersonen in Rechnung zu stellen (z.b. Beratungsfirmen, Toolhersteller usw.) Studenten erhalten die Studie zum halben Preis/All studies are basically free, except for certain branches of industry or private persons, for whom we invoice at cost. Students get a discount of 50%. Seite 2 von 2

Tool Evaluation Center Efficient, goal-oriented and professional tool evaluation Unique in Europe What is TEC? The Tool Evaluation Center (TEC) is a neutral environment for evaluating software tools related to software development, through which you will receive a detailed, vendorindependent overview of the suitability of different tools for your software projects. Your Partner for software quality and testing Consulting Implementation Training Automation Evaluation Software Quality Lab is your competent partner in software quality and testing and one of the leading independent consulting companies in Austria. We specialize ourselves in the improvement of efficiency, quality and security in the fields of software development and system processes. All tools in TEC are up to date, installed and configured, furnished with examples and ready for demonstration. Practical work and getting to know the tools in a handson manner is also possible. Your Benefit EETime-saving: Tool selection in a few days. No time-consuming research and product requests, no installation and testing. EEPreparation of information for different target groups from technicians to the managing board. EESupport provided by specialists, ranging from requirements through to a proof of concept or a pilot project. Our services around the tool selection Tool categories in the TEC EEApplication Life Cycle Management EERequirements Management EETest Management EEGUI Test Automation EETest Data Management EEComprehensible decision criteria: Using special techniques we evaluate the tools together with you, basing on your requirements as a foundation for your investment decision. EELarge selection and direct comparison of products ranging from market leaders through newcomers to open source software and freeware. Linz / Vienna / Graz / Lustenau / Munich Requirements elicitation, Creating a list of criteria Tool review, Pre-selection of tools, Practical getting to know the tools in the TEC Workshop with 3-5 suitable tools, Proof of Concept, Planning and implementing the pilot project Integration with other tools Tools in TEC www.software-quality-lab.com Our TEC includes more then 40 installed tools from reputable manufacturer (e.g. IBM, HP, Micro Focus, Microsoft, Polarion, Siemens) as well as interesting newcomer products and alternatives from the open source area (e.g. JMeter, Selenium). Further details can be found at www.tool-evaluation.com. V. 2011-12 Software Quality Lab GmbH info@software-quality-lab.com www.software-quality-lab.com