SlideShare a Scribd company logo
1 of 29
By
Lokesh Agrawal
 What is Mobile Application Testing
 Types of Mobile Application
 Mobile Platforms
 How to test Mobile Applications
 Mobile application testing is a process by which application software developed for
handheld mobile devices is tested for its functionality, usability and consistency.
 It is similar to software testing but the testing will be performed on a mobile device
instead of performing on a system.
 Mobile applications either come pre-installed or can be installed from mobile software
distribution platforms.
 There are three types of Mobile Application:-
 1. Web Applications
 2. Native Applications
 3. Hybrid Applications
 Web apps are not real applications; they are actually websites that open in
your smartphone with the help of a web browser.
 Benefits:-
 1. Easy Access
 2. No installation is required, as compared to native or hybrid app
 Downside:-
 1. Mobile websites cannot use some of the features. For example, access
to the file system and local resources isn’t available in websites.
 2. Users won’t have the app’s icon on their home screen as a constant
reminder. The website needs to be opened in a web browser only.
 3. While native and hybrid apps appear on the App Store and Google Play,
web apps won’t. So redistribution is not that sensible.
◦ Native apps are developed for a specific mobile platform using particular
programming languages and technologies. IOS apps, for example, are written in
Objective-C and Swift, Android apps in Java or Kotlin. C++ is used for native
Windows and Blackberry apps. Example:- Instagram
◦ This means that a separate version of the app must be developed for each
platform. You can’t reuse any piece of code from another platform version, as it is
written in a completely different programming language. That’s why native app
development is considered to be the most time-consuming and most expensive.
◦ Pros:-
◦ 1. Native mobile apps provide fast performance and a high degree of reliability.
◦ 2. Users can use some apps without an internet connection.(Ex. Video games)
◦ Cons:-
◦ 1. Expensive to develop.
◦ 2. Long development time
 A hybrid app is a program that is built using HTML 5, CSS and JavaScript and
wrapped in native container. The native container loads maximum information on the
page as soon as the user navigates the application. Example:-LinkedIn
 If a native app and a web app got married and had a kid, it would be a hybrid app.
 Advantages:-
 1. Reusing the code:- the code is written once and deployed across all mobile
platforms.
 2. Reducing development time and cost:- the code is written once, which
substantially reduces development time and costs compared to native apps which
require development for iOS and development for Android.
 Disadvantage:-
 1. Slower performance and transition between pages.
 2. Dependency on the browser’s speed.
Features Native Apps Hybrid Apps
Cross Platform Support No Yes
Speed Very Fast Good
Security High Low
Graphics Better Graphics Lesser graphics than native
apps
Internet Connection Not required always Required
Integration
The camera, address book,
geolocation, and other
features native to the device
can be seamlessly
integrated into native apps.
Some device features may
be harder to integrate into
hybrid apps.
 Types of Applications in Mobile:-
 1. Pre-installed Applications
 2. Installable Applications
 1. Pre-installed Applications:-
 Applications which are shipped as in built software with the mobile device
 No installation/Un-installation involved
 Crashes can cause severe damage to ROM.
 2 . Installable Applications:-
 Can be upgraded
 Can be installed/Un-installed from the device
 Can be downloaded from App Store or OTA(Over the Air) the URL which leads to
download the application.
 The following table gives an overview of some of the popular mobile operating
systems available in market:
Operating
System
Developed by Popularity
(Low, Medium,
High)
Latest available
version
Android Google Inc High 9 (Pie)
IOS Apple Inc High 11.4
Blackberry Blackberry ltd Low Blackberry 10.3.3
Windows Microsoft Inc Medium Windows 10
Symbian Symbian
foundation
Low Discontinued
 Based on some generic survey, the usage of different operating systems in the
market can be depicted as shown below.
 1. Device Choice :- With Android we have much greater choice of handsets for
consumers in terms of device and screen size, price and colour.
 2. The home screen on iOS is not as customizable as the one on
Android:-
 2.1 On my iPhone, the only things I can change about the home screen are:
 2.1.1 Choosing a different image for the wallpaper
 2.1.2 Changing the order of the app icons
 2.1.3 Creating folders in which I can place multiple app icons
 2.2 That is not much compared to what you can do in Android. These are the features
I miss most:
 I cannot move app icons around and place them anywhere I want on the home
screen
 I cannot use widgets. The only place where you can have widgets in iOS is
the Notifications Screen.
 3. Design:-
 IPhone does not have back button.
 The title in Android applications is normally placed at the top left of the screen,
whereas iOS app's title will be centered.
 Android uses a drawer menu as a navigation pattern, whereas iOS' pattern is a tab
bar.
 4. Media files cannot be transferred to a Windows PC, as easily, when
using an iPhone:-
 If you are a Mac user, transferring your files is not an issue. However, if you are a
Windows PC user, moving media files on and from an iPhone can be daunting at
first. With an Android device, all you have to do is plug it into a USB port on your
Windows computer. Things are different with iPhones. If you want to transfer music or
video files, you must download and install iTunes and use this app instead of File
Explorer. Also, when I wanted to copy some photos from my iPhone to my Windows
10 PC, I had to search for a way to do it. So far, the best method I found for doing
that is to use the Microsoft Photos app to import pictures from the iPhone.
 Take a look at the following table. It differentiates tablets, e-book readers, and
smartphones based on their characteristics.
Device Tablets E-book
Readers
Smart Phones
What it is Tablets are portable
computer devices.
Unlike traditional
computers, they don’t
have keyboards or
mouse, however the
entire screen is touch
sensitive.
E-book readers—also
called e-readers—are
similar to tablet
computers, except
they are mainly
designed for reading e-
books (digital,
downloadable books).
A smartphone is a
powerful mobile phone
that is designed to run
a variety of
applications in addition
to providing phone
service.
Used for Almost all the jobs
which we can do with
traditional computers
or desktops.
Reading e-books Web browsing,
watching videos,
reading e-books, and
playing games
Example Samsung Tablets Amazon Kindle,
Barnes & Noble Nook.
Sony smartphones,
Samsung
smartphones, Apple
iPhone.
 Functional Testing:-
 Functional testing ensures that the application is working as per the
requirements.
 Memory Leakage Testing:-
 A memory leakage is the type of resource leak that occurs when a computer
program incorrectly manages memory allocations in such a way that memory
which is no longer needed is not released. A memory leak reduces the
performance of the computer by reducing the amount of available memory.
 Memory Leakage Example:-
 When a button is pressed:
 Get some memory, which will be used to remember the floor number Put the floor
number into the memory
 Are we already on the target floor?
 If so, we have nothing to do: finished
 Otherwise:
 Wait until the lift is idle
 Go to the required floor
 Release the memory we used to remember the floor number
 The memory leak would occur if the floor number requested is the same floor that the
elevator is on; the condition for releasing the memory would be skipped. Each time this
case occurs, more memory is leaked.
 The memory leak lasts until the system is reset. For example: if the elevator's power were
turned off or in a power outage, the program would stop running. When power was turned
on again, the program would restart and all the memory would be available again, but the
slow process of memory leak would restart together with the program
 The leak in the above example can be corrected by bringing the 'release'
operation outside of the conditional:
 When a button is pressed:
 Get some memory, which will be used to remember the floor number
Put the floor number into the memory
 Are we already on the target floor?
 If not:
 Wait until the lift is idle
 Go to the required floor
 Release the memory we used to remember the floor number

 Updates Testing:-
 People frequently complain about applications not working satisfactorily after an
update. So it is very important that under the update testing, we qualify that the App
will work as it was working previously.
 Interrupt Testing:-
 An application, while functioning, may face several interruptions like incoming calls or
network coverage outage and recovery. This can again be distinguished for:
 Incoming and Outgoing SMS and MMS
 Incoming and Outgoing calls
 Battery Removal
 Cable Insertion and Removal for data transfer
 Power Consumption Testing:-
 While we focus on power consumption testing, we are required to measure the state
of the battery at each activity level. It will give us a better understanding of power
consumption by an individual application. Power Consumption test can be done
manually; also there are some free tools available in the market such as Trepan
Profiler, Power Tutor, and Nokia Energy Profiler. These are applications which can
display the real-time power consumption on a smartphone or tablet.
 Example:- Keep the mobile app in ideal condition; verify that there is no power
consumption when there is no activity happening for the app.
 Security Testing:-
 In this type of testing, we verify that mobile app must be secure. Example:-
Applications should encrypt user name and passwords when authenticating the user
over a network.
 Verify that the application does not get operated with same user credentials on
two different mobile devices.
 Verify that a session automatically gets expired if it remains inactive for more
than
 Screen Orientation/resolution:-
 There are different screen sizes for mobile applications so it is difficult to test an
application against resolution. Standard screen resolutions are given below:-
 640 × 480
 800 × 600
 1024 × 768
 1280 × 800
 1366 × 768
 1400 × 900
 1680 × 1050
 Available Tools:-
 There are quite a few tools available in the market to make mobile UI testing
smoother and simpler. For example:
 Google chrome extension
 Screen fly
 Browser Stack
 Here we will talk about only google chrome:-
 Step 1: Open the website under testing in “Google Chrome Web browser”.
 Step 2: Press F12. It will open the Developer tool window, as shown in the following
screenshot
 Step 3: Click the mobile device like icon. Refer the following screenshot.
 Note:- Just open the site and press Ctrl+Shift+M to see the mobile view.
 Step 4: Select the mobile device with which you want to test the website. You can
choose the different available devices in order to do the UI verification.
 Suppose we are developing an application for flight ticket booking system. Once the
product is entirely developed, as a part of mobile testing, we need to check if the
application is working as expected with all the majorly used devices like Android phones,
iOS, Blackberry phones, and other different types of tablets and iPads.
 It would be difficult for us to purchase such a large number of mobile devices and carry out
testing. So is there any smart alternate available?
 The solution to this problem is to use Mobile Simulators and Mobile Emulators.
 A simulator/emulator cannot mimic the following features:
 1. Mobile Device Battery
 2. Mobile Device’s camera
 3. Difficult to mimic interruption like incoming calls and SMS.
 The Android Emulator tests both the hardware and the software whereas the Android
Simulator tests only the software. It means you can test the associated parts of the
product as well by using an Emulator. But it is not possible with a simulator.
Mobile application testing tutorial

More Related Content

What's hot

Mobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue SolutionsMobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue SolutionsRapidValue
 
Appium Presentation
Appium Presentation Appium Presentation
Appium Presentation OmarUsman6
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application TestingNoor Orfahly
 
Introduction To Mobile-Automation
Introduction To Mobile-AutomationIntroduction To Mobile-Automation
Introduction To Mobile-AutomationMindfire Solutions
 
Mobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.pptMobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.pptQA Programmer
 
Appium: Automation for Mobile Apps
Appium: Automation for Mobile AppsAppium: Automation for Mobile Apps
Appium: Automation for Mobile AppsSauce Labs
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appiumPratik Patel
 
Android & iOS Automation Using Appium
Android & iOS Automation Using AppiumAndroid & iOS Automation Using Appium
Android & iOS Automation Using AppiumMindfire Solutions
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application TestingSWAAM Tech
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testingvodQA
 
Mobile Application Testing
Mobile Application Testing Mobile Application Testing
Mobile Application Testing Shivaraj R
 
Software testing
Software testingSoftware testing
Software testingmkn3009
 
Automation With Appium
Automation With AppiumAutomation With Appium
Automation With AppiumKnoldus Inc.
 
Mobile Testing with Appium
Mobile Testing with AppiumMobile Testing with Appium
Mobile Testing with AppiumKnoldus Inc.
 

What's hot (20)

Mobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue SolutionsMobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue Solutions
 
Mobile App Testing Strategy
Mobile App Testing StrategyMobile App Testing Strategy
Mobile App Testing Strategy
 
Appium Presentation
Appium Presentation Appium Presentation
Appium Presentation
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 
Mobile App Testing
Mobile App TestingMobile App Testing
Mobile App Testing
 
Introduction To Mobile-Automation
Introduction To Mobile-AutomationIntroduction To Mobile-Automation
Introduction To Mobile-Automation
 
Mobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.pptMobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.ppt
 
Appium: Automation for Mobile Apps
Appium: Automation for Mobile AppsAppium: Automation for Mobile Apps
Appium: Automation for Mobile Apps
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appium
 
Android & iOS Automation Using Appium
Android & iOS Automation Using AppiumAndroid & iOS Automation Using Appium
Android & iOS Automation Using Appium
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 
iOS Application Testing
iOS Application TestingiOS Application Testing
iOS Application Testing
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
 
Mobile Application Testing
Mobile Application Testing Mobile Application Testing
Mobile Application Testing
 
Appium ppt
Appium pptAppium ppt
Appium ppt
 
Software testing
Software testingSoftware testing
Software testing
 
Mobile application testing
Mobile application testingMobile application testing
Mobile application testing
 
Appium overview
Appium overviewAppium overview
Appium overview
 
Automation With Appium
Automation With AppiumAutomation With Appium
Automation With Appium
 
Mobile Testing with Appium
Mobile Testing with AppiumMobile Testing with Appium
Mobile Testing with Appium
 

Similar to Mobile application testing tutorial

MobileApplicationTesting.pptx
MobileApplicationTesting.pptxMobileApplicationTesting.pptx
MobileApplicationTesting.pptxBhavani Testone
 
MobileApplicationTesting.pptx
MobileApplicationTesting.pptxMobileApplicationTesting.pptx
MobileApplicationTesting.pptxCbhaSlide
 
Performance testing – mobile apps session1
Performance testing – mobile apps   session1Performance testing – mobile apps   session1
Performance testing – mobile apps session1Jyothirmayee Pola
 
Performance testing – mobile apps session1
Performance testing – mobile apps   session1Performance testing – mobile apps   session1
Performance testing – mobile apps session1Jyothirmayee Pola
 
3 Types Of Mobile Apps.pptx
3 Types Of Mobile Apps.pptx3 Types Of Mobile Apps.pptx
3 Types Of Mobile Apps.pptxBOSC Tech Labs
 
Mobile app testing
Mobile app testingMobile app testing
Mobile app testingsanpalan
 
Mobile testing
Mobile testingMobile testing
Mobile testingsanpalan
 
Mobile testingartifacts
Mobile testingartifactsMobile testingartifacts
Mobile testingartifactsPragya Rastogi
 
Mobile applicationtesting
Mobile applicationtesting Mobile applicationtesting
Mobile applicationtesting L ESHWAR
 
Learn everything about mobile app development. .pdf
Learn everything about mobile app development. .pdfLearn everything about mobile app development. .pdf
Learn everything about mobile app development. .pdfArgpnteq
 
TLE-ICT COMPUTER SYSTEMS SERVICING DIAGNOSING COMPUTER SYSTEM
TLE-ICT COMPUTER SYSTEMS SERVICING DIAGNOSING COMPUTER SYSTEMTLE-ICT COMPUTER SYSTEMS SERVICING DIAGNOSING COMPUTER SYSTEM
TLE-ICT COMPUTER SYSTEMS SERVICING DIAGNOSING COMPUTER SYSTEMizarahmendoza
 
UNIT_1_1626771386169.ppt
UNIT_1_1626771386169.pptUNIT_1_1626771386169.ppt
UNIT_1_1626771386169.pptHannaAnvar1
 
What is Application Software?
What is Application Software?What is Application Software?
What is Application Software?DaisyJeffenYRios
 
Mobile Application testing
Mobile Application testingMobile Application testing
Mobile Application testingMukta Gupta
 
Mobile Application Development and Types(1)
Mobile Application Development and Types(1)Mobile Application Development and Types(1)
Mobile Application Development and Types(1)IsraelSoga
 
Application Software in Computer and Services.pptx
Application Software in Computer and Services.pptxApplication Software in Computer and Services.pptx
Application Software in Computer and Services.pptxJessaBejer1
 

Similar to Mobile application testing tutorial (20)

MobileApplicationTesting.pptx
MobileApplicationTesting.pptxMobileApplicationTesting.pptx
MobileApplicationTesting.pptx
 
MobileApplicationTesting.pptx
MobileApplicationTesting.pptxMobileApplicationTesting.pptx
MobileApplicationTesting.pptx
 
Performance testing – mobile apps session1
Performance testing – mobile apps   session1Performance testing – mobile apps   session1
Performance testing – mobile apps session1
 
Performance testing – mobile apps session1
Performance testing – mobile apps   session1Performance testing – mobile apps   session1
Performance testing – mobile apps session1
 
3 Types Of Mobile Apps.pptx
3 Types Of Mobile Apps.pptx3 Types Of Mobile Apps.pptx
3 Types Of Mobile Apps.pptx
 
Mobile app testing
Mobile app testingMobile app testing
Mobile app testing
 
Mobile testing
Mobile testingMobile testing
Mobile testing
 
Mobile testingartifacts
Mobile testingartifactsMobile testingartifacts
Mobile testingartifacts
 
Mobile applicationtesting
Mobile applicationtesting Mobile applicationtesting
Mobile applicationtesting
 
Learn everything about mobile app development. .pdf
Learn everything about mobile app development. .pdfLearn everything about mobile app development. .pdf
Learn everything about mobile app development. .pdf
 
Creating Android apps
Creating Android appsCreating Android apps
Creating Android apps
 
TLE-ICT COMPUTER SYSTEMS SERVICING DIAGNOSING COMPUTER SYSTEM
TLE-ICT COMPUTER SYSTEMS SERVICING DIAGNOSING COMPUTER SYSTEMTLE-ICT COMPUTER SYSTEMS SERVICING DIAGNOSING COMPUTER SYSTEM
TLE-ICT COMPUTER SYSTEMS SERVICING DIAGNOSING COMPUTER SYSTEM
 
UNIT_1_1626771386169.ppt
UNIT_1_1626771386169.pptUNIT_1_1626771386169.ppt
UNIT_1_1626771386169.ppt
 
All about APPS
All about APPSAll about APPS
All about APPS
 
What is Application Software?
What is Application Software?What is Application Software?
What is Application Software?
 
Mobile testing
Mobile testingMobile testing
Mobile testing
 
Mobile Application testing
Mobile Application testingMobile Application testing
Mobile Application testing
 
Mobile Application Development and Types(1)
Mobile Application Development and Types(1)Mobile Application Development and Types(1)
Mobile Application Development and Types(1)
 
How many types of mobile apps
How many types of mobile appsHow many types of mobile apps
How many types of mobile apps
 
Application Software in Computer and Services.pptx
Application Software in Computer and Services.pptxApplication Software in Computer and Services.pptx
Application Software in Computer and Services.pptx
 

Recently uploaded

EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 

Recently uploaded (20)

EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 

Mobile application testing tutorial

  • 2.  What is Mobile Application Testing  Types of Mobile Application  Mobile Platforms  How to test Mobile Applications
  • 3.  Mobile application testing is a process by which application software developed for handheld mobile devices is tested for its functionality, usability and consistency.  It is similar to software testing but the testing will be performed on a mobile device instead of performing on a system.  Mobile applications either come pre-installed or can be installed from mobile software distribution platforms.
  • 4.  There are three types of Mobile Application:-  1. Web Applications  2. Native Applications  3. Hybrid Applications
  • 5.  Web apps are not real applications; they are actually websites that open in your smartphone with the help of a web browser.  Benefits:-  1. Easy Access  2. No installation is required, as compared to native or hybrid app  Downside:-  1. Mobile websites cannot use some of the features. For example, access to the file system and local resources isn’t available in websites.  2. Users won’t have the app’s icon on their home screen as a constant reminder. The website needs to be opened in a web browser only.  3. While native and hybrid apps appear on the App Store and Google Play, web apps won’t. So redistribution is not that sensible.
  • 6. ◦ Native apps are developed for a specific mobile platform using particular programming languages and technologies. IOS apps, for example, are written in Objective-C and Swift, Android apps in Java or Kotlin. C++ is used for native Windows and Blackberry apps. Example:- Instagram ◦ This means that a separate version of the app must be developed for each platform. You can’t reuse any piece of code from another platform version, as it is written in a completely different programming language. That’s why native app development is considered to be the most time-consuming and most expensive. ◦ Pros:- ◦ 1. Native mobile apps provide fast performance and a high degree of reliability. ◦ 2. Users can use some apps without an internet connection.(Ex. Video games) ◦ Cons:- ◦ 1. Expensive to develop. ◦ 2. Long development time
  • 7.  A hybrid app is a program that is built using HTML 5, CSS and JavaScript and wrapped in native container. The native container loads maximum information on the page as soon as the user navigates the application. Example:-LinkedIn  If a native app and a web app got married and had a kid, it would be a hybrid app.  Advantages:-  1. Reusing the code:- the code is written once and deployed across all mobile platforms.  2. Reducing development time and cost:- the code is written once, which substantially reduces development time and costs compared to native apps which require development for iOS and development for Android.  Disadvantage:-  1. Slower performance and transition between pages.  2. Dependency on the browser’s speed.
  • 8.
  • 9. Features Native Apps Hybrid Apps Cross Platform Support No Yes Speed Very Fast Good Security High Low Graphics Better Graphics Lesser graphics than native apps Internet Connection Not required always Required Integration The camera, address book, geolocation, and other features native to the device can be seamlessly integrated into native apps. Some device features may be harder to integrate into hybrid apps.
  • 10.  Types of Applications in Mobile:-  1. Pre-installed Applications  2. Installable Applications  1. Pre-installed Applications:-  Applications which are shipped as in built software with the mobile device  No installation/Un-installation involved  Crashes can cause severe damage to ROM.  2 . Installable Applications:-  Can be upgraded  Can be installed/Un-installed from the device  Can be downloaded from App Store or OTA(Over the Air) the URL which leads to download the application.
  • 11.  The following table gives an overview of some of the popular mobile operating systems available in market: Operating System Developed by Popularity (Low, Medium, High) Latest available version Android Google Inc High 9 (Pie) IOS Apple Inc High 11.4 Blackberry Blackberry ltd Low Blackberry 10.3.3 Windows Microsoft Inc Medium Windows 10 Symbian Symbian foundation Low Discontinued
  • 12.  Based on some generic survey, the usage of different operating systems in the market can be depicted as shown below.
  • 13.  1. Device Choice :- With Android we have much greater choice of handsets for consumers in terms of device and screen size, price and colour.  2. The home screen on iOS is not as customizable as the one on Android:-  2.1 On my iPhone, the only things I can change about the home screen are:  2.1.1 Choosing a different image for the wallpaper  2.1.2 Changing the order of the app icons  2.1.3 Creating folders in which I can place multiple app icons  2.2 That is not much compared to what you can do in Android. These are the features I miss most:  I cannot move app icons around and place them anywhere I want on the home screen  I cannot use widgets. The only place where you can have widgets in iOS is the Notifications Screen.
  • 14.  3. Design:-  IPhone does not have back button.  The title in Android applications is normally placed at the top left of the screen, whereas iOS app's title will be centered.  Android uses a drawer menu as a navigation pattern, whereas iOS' pattern is a tab bar.  4. Media files cannot be transferred to a Windows PC, as easily, when using an iPhone:-  If you are a Mac user, transferring your files is not an issue. However, if you are a Windows PC user, moving media files on and from an iPhone can be daunting at first. With an Android device, all you have to do is plug it into a USB port on your Windows computer. Things are different with iPhones. If you want to transfer music or video files, you must download and install iTunes and use this app instead of File Explorer. Also, when I wanted to copy some photos from my iPhone to my Windows 10 PC, I had to search for a way to do it. So far, the best method I found for doing that is to use the Microsoft Photos app to import pictures from the iPhone.
  • 15.  Take a look at the following table. It differentiates tablets, e-book readers, and smartphones based on their characteristics. Device Tablets E-book Readers Smart Phones What it is Tablets are portable computer devices. Unlike traditional computers, they don’t have keyboards or mouse, however the entire screen is touch sensitive. E-book readers—also called e-readers—are similar to tablet computers, except they are mainly designed for reading e- books (digital, downloadable books). A smartphone is a powerful mobile phone that is designed to run a variety of applications in addition to providing phone service. Used for Almost all the jobs which we can do with traditional computers or desktops. Reading e-books Web browsing, watching videos, reading e-books, and playing games Example Samsung Tablets Amazon Kindle, Barnes & Noble Nook. Sony smartphones, Samsung smartphones, Apple iPhone.
  • 16.
  • 17.  Functional Testing:-  Functional testing ensures that the application is working as per the requirements.  Memory Leakage Testing:-  A memory leakage is the type of resource leak that occurs when a computer program incorrectly manages memory allocations in such a way that memory which is no longer needed is not released. A memory leak reduces the performance of the computer by reducing the amount of available memory.
  • 18.  Memory Leakage Example:-  When a button is pressed:  Get some memory, which will be used to remember the floor number Put the floor number into the memory  Are we already on the target floor?  If so, we have nothing to do: finished  Otherwise:  Wait until the lift is idle  Go to the required floor  Release the memory we used to remember the floor number  The memory leak would occur if the floor number requested is the same floor that the elevator is on; the condition for releasing the memory would be skipped. Each time this case occurs, more memory is leaked.  The memory leak lasts until the system is reset. For example: if the elevator's power were turned off or in a power outage, the program would stop running. When power was turned on again, the program would restart and all the memory would be available again, but the slow process of memory leak would restart together with the program
  • 19.  The leak in the above example can be corrected by bringing the 'release' operation outside of the conditional:  When a button is pressed:  Get some memory, which will be used to remember the floor number Put the floor number into the memory  Are we already on the target floor?  If not:  Wait until the lift is idle  Go to the required floor  Release the memory we used to remember the floor number 
  • 20.  Updates Testing:-  People frequently complain about applications not working satisfactorily after an update. So it is very important that under the update testing, we qualify that the App will work as it was working previously.  Interrupt Testing:-  An application, while functioning, may face several interruptions like incoming calls or network coverage outage and recovery. This can again be distinguished for:  Incoming and Outgoing SMS and MMS  Incoming and Outgoing calls  Battery Removal  Cable Insertion and Removal for data transfer
  • 21.  Power Consumption Testing:-  While we focus on power consumption testing, we are required to measure the state of the battery at each activity level. It will give us a better understanding of power consumption by an individual application. Power Consumption test can be done manually; also there are some free tools available in the market such as Trepan Profiler, Power Tutor, and Nokia Energy Profiler. These are applications which can display the real-time power consumption on a smartphone or tablet.  Example:- Keep the mobile app in ideal condition; verify that there is no power consumption when there is no activity happening for the app.  Security Testing:-  In this type of testing, we verify that mobile app must be secure. Example:- Applications should encrypt user name and passwords when authenticating the user over a network.  Verify that the application does not get operated with same user credentials on two different mobile devices.  Verify that a session automatically gets expired if it remains inactive for more than
  • 22.  Screen Orientation/resolution:-  There are different screen sizes for mobile applications so it is difficult to test an application against resolution. Standard screen resolutions are given below:-  640 × 480  800 × 600  1024 × 768  1280 × 800  1366 × 768  1400 × 900  1680 × 1050
  • 23.  Available Tools:-  There are quite a few tools available in the market to make mobile UI testing smoother and simpler. For example:  Google chrome extension  Screen fly  Browser Stack  Here we will talk about only google chrome:-  Step 1: Open the website under testing in “Google Chrome Web browser”.  Step 2: Press F12. It will open the Developer tool window, as shown in the following screenshot
  • 24.
  • 25.  Step 3: Click the mobile device like icon. Refer the following screenshot.  Note:- Just open the site and press Ctrl+Shift+M to see the mobile view.
  • 26.  Step 4: Select the mobile device with which you want to test the website. You can choose the different available devices in order to do the UI verification.
  • 27.
  • 28.  Suppose we are developing an application for flight ticket booking system. Once the product is entirely developed, as a part of mobile testing, we need to check if the application is working as expected with all the majorly used devices like Android phones, iOS, Blackberry phones, and other different types of tablets and iPads.  It would be difficult for us to purchase such a large number of mobile devices and carry out testing. So is there any smart alternate available?  The solution to this problem is to use Mobile Simulators and Mobile Emulators.  A simulator/emulator cannot mimic the following features:  1. Mobile Device Battery  2. Mobile Device’s camera  3. Difficult to mimic interruption like incoming calls and SMS.  The Android Emulator tests both the hardware and the software whereas the Android Simulator tests only the software. It means you can test the associated parts of the product as well by using an Emulator. But it is not possible with a simulator.