Don’t predict but define the age of your Mobile App

Slides:



Advertisements
Similar presentations
Test Automation on Mobile environnents Eder Figueroa 4/29/203.
Advertisements

Android Power Calculations Approaches and Best Practice Hafed Alghamdi.
Android Tools & Wireless ADB Αντρέας Λύμπουρας Θεόφιλος Φωκάς Ζαχαρίας Χ’’Λάμπρου.
Implementation of an Android Phone Based Video Streamer 2010 IEEE/ACM International Conference on Green Computing and Communications 2010 IEEE/ACM International.
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
UFCFX5-15-3Mobile Device Development Android Development Environments and Windows.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Design Considerations and Best Practices for Mobile Applications David E. Figley, Jr Programmer, C2 Technologies, Inc.
September 2008 IT Software Development Guide.
Telerik Software Academy Software Quality Assurance.
CS5103 Software Engineering Lecture 08 Android Development II.
Android Programming By Mohsen Biglari Android Programming, Part1: Introduction 1 Part1: Introduction By Mohsen Biglari.
Department of Electrical Engineering Electronics Computers Communications Technion Israel Institute of Technology High Speed Digital Systems Lab. High.
Java Android-8 Imran Shafi. Lecture Contents  Debugging Android Projects  Java/XML Errors  Debugger  Logcat Utility  Android Debug Bridge (adb) 
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
Bharathi.S. Intel® Pentium® 4, 3.6 GHz or equivalent AMD processor 500 MB free hard disk space 2 GB RAM 1 available USB 2.0 port and USB cable Microsoft®
Folio3 IPhone Training Session 1 Presenter: Imam Raza.
Mohit Anand, Software Engineer Adobe 1 Selecting GUI Automation Testing Tool for Mobile Domain.
Introduction to Android Android Club Agenda Set development environment “Hello Android” app Device connection Debugging.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
Mobile Testing Overview. Agenda Mobile application quality poses a unique challenge Mobile changes the ALM cycle – Interoperability is unique to mobile.
Mobile Application Development. What You Should Know About Android Studio 2.0.
- 1 - SeeTestAutomation Product Introduction SeeTest Product Suite.
M IND Q S YSTEMS Leaders in Training /7, 2nd Floor, Srinivasa Nagar Colony (W) Above HDFC Bank, S.R.Nagar Hyderabad
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
Day 1 Session 2. Setup & Installation
Introduction to Android Programming
COM594: Mobile Technology Practical – Week 1 Android and Android Studio.
After Construction Name: Per #:.
Mobile Device Development
Mobile Hacking - Fundamentals
Appium Studio Appium testing made easy at any scale.
Android Mobile Application Development
Introducing the Windows Mobile development
Mobile Device Development
Vernier Equipment Understanding the Basics of Vernier Technology and Tools Part 2: External Probes and Networking.
IDE and Phone Setup Overview Mike Zook 20-Sep-2016.
WELCOME Mobile Applications Testing
TEST AUTOMATION IN BDD WAY
Chapter Objectives In this chapter, you will learn:
Acer Download Tool EMEA Customer Service 02/13/2012.
The world’s most advanced mobile platform
Architecture of Android
Development-Introduction
Texas Instruments TDA2x and Vision SDK
Lecture 9: ADB Topics: Basic ADB Commands.
SENIOR MANAGER - SOFTWARE TESTING PRACTICE
Cross platform automated appium testing - A Primer
Week 01 Comp 7780 – Class Overview.
Mobile Computing With Android ACST 4550 Android Logs and Gestures
Mobile Performance Testing Expedite
Does Toast Trouble you in this Digital Age?
How to automate software with
CIS 470 Mobile App Development
CS5103 Software Engineering
Datamatics Global Service Ltd
Certifying graphics experiences on Windows 8
DevOps - Extreme Automation using Cucumber, Selenium, Ruby
Android Developer Fundamentals V2
Download and Installation of code::blocks
Stay connected with friends & family - always
CIS 470 Mobile App Development
Open Automation Software
Android Platform, Android App Basic Components
Lecture 11: ADB Topics: Basic ADB Commands.
CIS 694/EEC 693 Android Sensor Programming
Presentation transcript:

Don’t predict but define the age of your Mobile App Rohit Soni – Test Manager Karankumar Wadhwani – Sr Business Analyst Sopra Steria

Abstract The wave of mobile-first business is growing, with only option to swim with Darwin’s theory ‘Survival of the fittest’. 77% of mobile apps never get used again after 72 hours of installation due to performance issues related to mobile CPU, GPU, Memory and Battery. As mobile hardware has constraints and pushing those constraints will cause your app to be slow, have bad display performance or exhaust the battery which results in usability issues & app uninstallation. If your mobile app is also a victim of shorter lifespan then you need to take a look under the hood, use relevant tools to collect data about your app execution behavior, analyze data as graphics, understand the root cause and see ways to improve your code. This white paper will touch upon the concepts of Android Functional Automation in conjunction with Android Software Development Kit (SDK), Integrated Development Environment (IDE) and Android Device tools. It will then dwell into the strategies around CI testing using testNG and Jenkins in a DevOps scenario.

1 2 3 4 5 6 | Mobile App Challenges Mobile App Functional Automation Agenda 1 | Mobile App Challenges 2 Mobile App Functional Automation 3 Android SDK Tools 4 Android IDE Tools 5 Android Device Tools 6 DevOps CI Testing using testNG & Jenkins

Mobile App Challenges

Mobile App Functional Automation Open source mobile automation framework Andorid and iOS platform support Supports automation of hybris and native and mobile applications. Cross-platform - Suports iOS, Android and Windows platforms using same API Code reusability between iOS, Android, and Windows testsuites. Integration with DevOps tools (Git, Jenkins) and testing framework (testNG)

Android SDK Tools – ADB - Wireless Execution - WiFi Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a android device or emulator. adb usually communicates with the device over USB, but you can also use adb over Wi-Fi after some initial setup over USB Connect the device to the host computer with a USB cable. Set the target device to listen for a TCP/IP connection on port 5555. adb tcpip 5555 Disconnect the USB cable from the target device Find the I.P address of device and connect using adb connect <device_ip_address>

Android SDK Tools – ADB - Screen Recorder - MP4 The screenrecord command is a shell utility for recording the display of devices running Android 4.4 (API level 19) . The utility records screen activity to an MPEG-4 file through command:- adb shell screenrecord /sdcard/demo.mp4 Stop the screen recording by pressing Control + C, otherwise the recording stops automatically at three minutes or the time limit set by --time-limit. Execute ‘pull’ command to download the video from the device to the computer:- $ adb shell shell@ $ screenrecord --verbose /sdcard/demo.mp4 (press Control + C to stop) shell@ $ exit $ adb pull /sdcard/demo.mp4

Android IDE Tools – Android Studio

Android Device Tools – GPU Rendering Horizontal axis shows time elapsing, and the vertical axis time per frame in milliseconds. As you interact with your application, vertical bars show up on your screen, appearing from left to right, graphing frame performance over time. Each vertical bar represents one frame of rendering. The taller the bar, the longer it took to render. The green line marks the 16 millisecond target. Every time a frame crosses the green line, your app is missing a frame, and your users may see this as stuttering images.

Android Device Tools - GPU Overdraw On your mobile device, go to:- Settings and tap Developer Options. In the Hardware accelerated rendering section, select Debug GPU Overdraw. In the Debug GPU overdraw popup, select Show overdraw areas. The colors are hinting at the amount of overdraw on your screen for each pixel, as follows: True color: No overdraw Blue: Overdrawn once Green: Overdrawn twice Pink: Overdrawn three times Red: Overdrawn four or more times

Android Device Tools Boundary Layout CPU Usage

Devops CI Testing using testNG & Jenkins

References & Appendix https://developer.android.com/studio/index.html https://developer.android.com/studio/command-line/adb.html https://developer.android.com/studio/profile/index.html

Author Biography Rohit Soni is an SAP and ISEB certified Test Manager working with Sopra Steria. Rohit has total 15 years of IT experience which includes 4 years of rich UK Client experience in delivering Quality Testing Services, 5 years of experience in delivering Digital Testing Services around IoT, Mobility and Analytics, 6 years of SAP projects experience in SAP IS-U, PI (XI), CRM modules and 7 years of experience in delivering projects using Agile-SCRUM, Kanban & DevOps methodology. Rohit has a B.Tech degree in Computer Science), Post Graduate Diploma in Information Technology (PGDIT) and holds SAP – ISU Associate Level Certification. In his spare time, Rohit enjoys playing outdoor games and spending quality time with family & friends.

Thank You!!!