Cross platform automated appium testing - A Primer

Slides:



Advertisements
Similar presentations
Facts about Welcome to this video from Ozeki. In this video I will present what makes Ozeki Phone System XE the Worlds best on-site software PBX for Windows.
Advertisements

Cross Platform UI testing using Sikuli
Taxi Magic Mobile App Testing. iOS Testing Rapid Releases: Submit about every 30 days to iTunes CI Automated Tests: Polls git repository commits and executes.
2. Setting Up Your Android Development Environment.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
UFCFX5-15-3Mobile Device Development Android Development Environments and Windows.
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
By Ms.A.C.Sumathi AP(SG)/ Dept of CSE SNS College of Engineering, CBE.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Telerik Software Academy Software Quality Assurance.
Three-tier Mobile Application Testing Framework:
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Android for Java Developers Denver Java Users Group Jan 11, Mike
Presented By: Muhammad Tariq Software Engineer Android Training course.
Selenium January Selenium course content  Introduction (Session-1)Session-  Automation  What is automation testing  When to go for automation.
Basics of testing mobile apps
Mohit Anand, Software Engineer Adobe 1 Selecting GUI Automation Testing Tool for Mobile Domain.
1 KaaShiv InfoTech  Presents  INTEL XDK For Inplant Training / Internship, please download the "Inplant training registration form" from our website.
Perfecto’s CQ Lab using Selenium RemoteWebDriver & Appium
Appium with Android Configuration.  Download Appium server:  Choose the latest version of appium.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
 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.
Best 5 Mobile App Development Tools for Developer's to think beyond the Limitation.
By SPEC INDIA. TestComplete – An Introduction An automated testing tool by SmartBear – TestComplete is a comprehensive product with umpteen features and.
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
APP DESIGN AND DEVELOPMENT WITH THE IONIC FRAMEWORK Chuck Leone
Accelerometer based motion gestures for mobile devices Presented by – Neel Parikh Advisor Committee members Dr. Chris Pollett Dr. Robert Chun Dr. Mark.
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.
Build Hybrid Mobile Apps with Ionic, Angular, & Cordova Brian
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
PhoneGap. web-based mobile development framework, based on the open-source Cordova project. use standard web technologies such as HTML5, CSS3, and JavaScript.
Arklio Studija 2007 File: / / Page 1 Automated web application testing using Selenium
Day 1 Session 2. Setup & Installation
Ionic Mobile App Development Services
Mobile Device Development
Introduction to Xamarin C# Everywhere
Appium Studio Appium testing made easy at any scale.
AuraPortal Cloud Helps Empower Organizations to Organize and Control Their Business Processes via Applications on the Microsoft Azure Cloud Platform MICROSOFT.
What is Apertis? Apertis is a versatile open source infrastructure tailored to the automotive needs and fit for a wide variety of electronic devices.
Browsers and Web Platforms
Automation Approach for Dynamic and Responsive Web Applications
Introduction of Selenium Webdriver Using Java
Android.
Mobile Application Test Case Automation
UI Test Automation with Appium
Apache Cordova Overview
Dynamics of Mobile Application Testing
On the road: Test automation in practice for a BMW map update service
3 Things Everyone Knows About Node JS That You Don't
Multi-Device Hybrid Apps What, Why, and When to Use Hybrid Development Option Ervin Loh ALM Program Manager
Servoy Delivers-High Productivity Platform to Design, Build and Deliver Business Applications with a Superior Experience on Microsoft Azure Partner Logo.
SENIOR MANAGER - SOFTWARE TESTING PRACTICE
Web App vs Mobile App.
Appium Studio for Eclipse
Automation for mobile apps Presenter: Nikita Mader
React Revived Web Driver IO for Testers
What is selenium? Selenium is a portable software-testing framework for web applications. Selenium provides a playback (formerly also recording) tool.
Running on the Powerful Microsoft Azure Platform,
Intelledox Infiniti Helps Organizations Digitally Transform Paper and Manual Business Processes into Intuitive, Guided User Experiences on Azure MICROSOFT.
Data Security for Microsoft Azure
Datamatics Global Service Ltd
Cordova & Cordova Plugin Installation and Management
How to Improve Releasing Efficiency via i18N/L10n Test Automation.
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
Open Automation Software
Chapter 2 Ionic Installation
MOBILE PROGRAMMING Meriska Defriani, S.Komp, M.Kom Introduction
How to set UP an Appium automated framework to test mobile apps
Presentation transcript:

Cross platform automated appium testing - A Primer Kiruthika Kandasamy – Senior Analyst Quality Assurance Arvind Asuri Rangan - Project Leader Haripriya Babu - Project Leader i|Nautix Technologies Logo of your organization

Abstract In today's fast challenging world , IT is under constant pressure to deliver and test new applications faster and cheaper. The expectations from a QA (Quality Assurance) organization is to make sure that trends in software testing is adhered. The need of software testing is moving more towards "Test anywhere handy". Therefore we intend to aid in appium testing. Appium is an Open Source test automation tool for mobile applications. It allows in testing all types of mobile applicatios native(IOS , Android , windows Sdk) and hybrid. All the Paramount gestures like Click, double click , mouseover are supported here. From this project we intend to customize appium framework and experiment it with cloud based testing. 

Agenda INTRODUCTION TO MOBILE TESTING INTRODUCTION TO APPIUM SOFTWARE CONFIGURATION TOOL SETUP ANDROID VIRTUAL DEVICE (AVD) UI AUTOMATION VIEWER APPIUM CONFIGURATIONS STEPS FOR EXECUTION FRAMEWORK SAUCELAB ON APPIUM CONCLUSION

Introduction to Mobile Testing In the fast growing world there are new challenges for hardware manufactures to stay in the competition. Also the application developer needs to deliver best Apps over variety of platforms within a quick time. To ensure long term success, the APP must be tested over different configurations before launching to global. The effective test planning in Mobile Application testing helps to improve the quality of Mobile Apps. The mobile automation testing is extremely efficient approach to test the Mobile Applications which gives us the considerable returns if you choose right tools for Mobile Test Automation.

Introduction to APPIUM Appium is an open-source tool for automating native, mobile web, and hybrid applications on iOS and Android platforms. It can be tested on simulators(iOS), emulators(Android) and also real devices (iOS, Android, Windows) Native – this app is written using the iOS, Android, or Windows SDKs. (Google Store , PlayStore) Mobile web – this app is accessed using a mobile browser (Eg…Propreitary Applications) Hybrid – this app have a wrapper around a “webview”, i.e. an interaction between the native app and mobile web content (Eg.. Facebook,WhatsApp) Appium is “cross-platform”. It allows you to write tests against multiple platforms (iOS, Android, Windows), using the same API. This enables code reuse between iOS, Android, and Windows test suites.

… Continue APPIUM has framework or wrapper that translate Selenium Web-driver commands into UIAutomation (iOS) or UIAutomator (Android) commands depending on the device type not any OS type. Appium supports all languages that have Selenium client libraries Selenium client libraries - Java, Objective-C, JavaScript with node.js, PHP, Ruby, Python, C# etc. Testing on real devices is expensive, Emulators or Simulators are virtual Environments, not only expand out Testing coverage to more devices, but also quick and easy way to test.

Software Configuration Following are the general configurations that we need, to use APPIUM across all OS JDK (Java Development Kit) TestNG Eclipse Selenium Server JAR Webdriver Language Binding Library Appium for Windows Android SDK Java Client Jar Node.js (Not Required - Whenever Appium server is installed, it by default comes with "Node.exe" & NPM. It's included in Current version of Appium.) AVD Manager .Net Framework

… Continue Following are the configurations that we need, to use APPIUM based on the Operating System iOS Requirements Mac OS X 10.12 recommended XCode 8 recommended Apple Developer Tools (iPhone simulator SDK, command line tools) Android Requirements Android SDK API >= 17 Appium supports Android on OS X, Linux and Windows. Windows Requirements Windows 10

iOS / Android versions iOS Version Versions: 7.1 and up Versions 4.2 and up are supported via Appium's own UiAutomator libraries. This is the default automation backend. Note: Versions 2.3 through 4.2 are supported via Appium's bundled version of Selendroid, which utilizes Instrumentation. Selendroid has a different set of commands than the default Appium (though this is rapidly being minimized) and a different support profile.

Tool Setup Following are the steps to install from the scratch: Install Android SDK on Windows Extract Packages from SDKs Setup Android Environment variable under system variable: ANDROID_HOME = C:\XXX\Android\android-sdk (iv) Install Appium Desktop Client (v) Install Eclipse IDE (vi) Configure and Setup Project in Eclipse

AVD -> Android Virtual Device Download Android sdk tool and make it installed using sdk manager. Fig 1

UIAutomatorViewer One of the core component in Appium is the UIAutomator Viewer which is used for locating objects in the application. The first step in the process is to connect the device and check if it is connected properly using the following command : adb devices. The next step would be to launch the UIAutomationViewer and click on Device Screenshot. A Device Screenshot ideally can be thought in a similar way as to how an inspect element would work on a chrome browser.Using Device Screenshot, spy on the control. The right side part of the frame will reveal various attributes related to the control with which we can for automation.

Appium Configurations Download Appium and Ensure device is ready to connect. Then start Appium server. Chrome as a browser No reset – Enabled Platform Name – Android

Steps for Execution - simplified LIBRARIES TO ADD: Connect device – Using Pda net Start Appium Write your code and run 

Framework Following are the frameworks that can be integrated: JUnit TestNg Cucumber

Saucelabs on Appium SauceLabs being open source has also integration with Jenkins and also with Selenium and Appium which makes it a go to solution to check for browser compatability testing, device combinations and providing comprehensive test infrastructure to users to run and deploy their tests.

Conclusion

References & Appendix http://appium.io/ https://saucelabs.com/

Author’s Biography Kiruthika Kandasamy has close to 4 years experience in the software testing. She has handled multiple selenium projects and has explored on use of Appium for mobile testing and possess strong knowledge on frameworks governing TestNg, Cucumber and their implementation. Arvind Asuri Rangan has close to 11 years of experience in automation world. Started with tools like Test-Partner , QARun and then moved onto UFT world. He was one of the principle member who authored “PDF Automation” and presented at STC 2009 in regional rounds and at present working on Selenium projects. Hari Priya Babu has close to 10 years of experience in automation world. Started as a functional tester and moved to automation testing and since then been involved with automation projects involving UFT. At present, she is also working on selenium projects supporting Appium.

Logo of your organization Thank You!!! Logo of your organization