Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Don’t predict but define the age of your Mobile App"— Presentation transcript:

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

2 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.

3 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

4 Mobile App Challenges

5 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)

6 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>

7 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 $ screenrecord --verbose /sdcard/demo.mp4 (press Control + C to stop) $ exit $ adb pull /sdcard/demo.mp4

8 Android IDE Tools – Android Studio

9 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.

10 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

11 Android Device Tools Boundary Layout CPU Usage

12 Devops CI Testing using testNG & Jenkins

13 References & Appendix

14 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.

15 Thank You!!!


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

Similar presentations


Ads by Google