mobile testing

14
1 Mobile Application Mobile Application  T esting  T esting

Upload: shilpasivanesan

Post on 07-Jan-2016

224 views

Category:

Documents


0 download

DESCRIPTION

types and explanation on mobile testing

TRANSCRIPT

Page 1: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 1/14

1

Mobile ApplicationMobile Application

 Testing Testing

Page 2: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 2/14

Types of Testing inTypes of Testing in

mobilesmobiles

There are broadly 2 kinds of testing that take place on

mobile devices:

1. Hardware Testing

2. Software/Application Testing

1. Hardware testing:

The device inclding the internal processors! internal

hardware! screen si"es! resoltion! space or memory!camera! radio! #letooth! $%&% etc. This is

sometimes referred to as! simple '(obile Testing).

Page 3: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 3/14

2.Software or Application testing:The applications that work on mobile devices and their fnctionality is

tested. %t is called the '(obile Application Testing)

Types of Mobile Applications

a)Native apps: created for se on a platform like mobile and tablets.

 

Page 4: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 4/14

b) Mobile web apps 

server*side apps to access website/s on mobile sing different browsers like

chrome! &irefo+ by connecting to a mobile network or wireless network like $%&%.

4

Page 5: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 5/14

c) Hybrid apps 

combinations of native app and web app. They rn on devices or

offline and are written sing web technologies like HT(,- and SS.

5

Page 6: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 6/14

 eed &or (obile Application eed &or (obile Application

As with any application, Mobile application testing is also very important, as client is usually inmillions for a certain product – and a product with bugs is never appreciated. It often results in

• monetary losses• legal issue• brand image damage.

Page 7: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 7/14

0ey hallenges in (obile Application0ey hallenges in (obile Application

TestingTesting1. Variety of Mobile evices* difference in screen si"es! inpt methods$34T5! toch! normal6 with different hardware capabilities.

7evice models change fre8ently as well.7evices also vary by contry.

7evice detection: do yo know what yor sers have9

2. iversity in Mobile !latfor"s#$S* The maor onesare Android! %;S! Symbian! $indows <hone! and #lack#erry .

=. Mobile networ% operators* like >S( and 7(A.

&re8ent pdates ? like android* @.2! @.=! @.@! i;S*-.+! .+6 

@. Scripting* The variety of devices makes e+ecting the test scriptScripting6 a key challenge. As devices differ in keystrokes! inptmethods! men strctre and display properties single ! script does notfnction on every device.

Page 8: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 8/14

 Types of Mobile Application Types of Mobile Application Testing TestingTo address all t&e above tec&nical aspects' t&e following types of

testing are perfor"ed on Mobile applications.

1. (o"patibility testing

2. nterface testing* Testing of men options! bttons! bookmarks!history! settings! and navigation flow of the application.

*. Services testing* Testing the services of the application online andoffline.

+. ,ow level reso-rce testing: Testing of memory sage! ato deletionof temporary files! local database known as low level resorcetesting.

. nstallation tests/ Balidation of the application by installing/ninstalling it on the devices.

Page 9: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 9/14

0.,aboratory Testing* ,aboratory testing! sally carried ot by network carriers! is done by simlating the complete wireless network. This test is performed to find ot any glitches when a mobile application ses voice and/or data connection to perform some fnctions.

.Me"ory ,ea%age Testing* (emory leakage can reslt in poor performance of the application and the overall slowdown of the system. As mobile devices have significant constraints of available memory! memory leakage testing is crcial for the proper fnctioning of an application.

C.nterr-pt Testing* An application while fnctioning ma y face several interrptions like incoming calls or network coverage otage and recovery. The different types of interrptions are:

%ncoming and ;tgoing S(S and ((S

%ncoming and ;tgoing calls

%ncoming otifications

#attery 4emoval

able %nsertion and 4emoval for data transfer 

 etwork otage and recovery

(edia <layer on/off 

7evice <ower cycle

9

Page 10: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 10/14

D* (ertification Testing* To get a certificate of compliance! each mobiledevice needs to be tested against the gidelines set by different mobile

 platforms.

The ertified (obile Application Tester poplarly known as (ATcertification e+am is offered by the >lobal Association for ality(anagement >A(6.

1.3sability testing* This is important as the sability of an application is itskey to commercial sccessit is nothing bt ser friendliness6. make sre that

the mobile app is easy to se and provides a satisfactory ser e+perience tothe cstomers

11. 4-nctional Testing* &nctional testing ensres that the application isworking as per the re8irements. (ost of the test condcted for this is driven

 by the ser interface and call flows.

12. !erfor"ance Testing***Testing of the application nder certainconditions sch as low battery! bad network coverage! low available memory!simltaneos access to applicationEs server by several sers and otherconditions.

Page 11: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 11/14

Two %inds of a-to"ation tools are available to test "obile apps:

1.$b5ect based "obile testing tools* atomation by mapping elements on the

device screen into obects. This approach is independent of screen si"e and

mainly sed for Android devices.

3g:* ranore+! amo soltion

2."age based "obile testing tools* create atomation scripts based on screen

coordinates of elements.

3g:* Sikli! 3gg <lant! 4otine#ot

Page 12: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 12/14

Test (ases for Testing a Mobile App

%n addition to fnctionality based test cases! (obile application testing re8ires

special test cases which shold cover following scenarios.

FSpeed of t&e application/ the response time on different devices! with

different memory parameters! with different network types etc.

Fata re6-ire"ents  ? &or installation as well as to verify if the ser with

limited data plan will able to download it.

F4-nctionality of t&e application* make sre application is not crashing de to

network failre or anything else.

(obile*Application*Sample*Test*ases.+ls

Page 13: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 13/14

13

testing toolstesting tools

FoneMonkey i!"FoneMonkey i!"

Apple #$ode Mac,Apple #$ode Mac,

i%hone and i%adi%hone and i%ad

&obotium Android&obotium Android

egg%lant automationegg%lant automation

tool to work across alltool to work across all

devicesdevices%erfecto Mobile%erfecto Mobile

'evice Anywhere'evice Anywhere

Page 14: Mobile testing

7/17/2019 Mobile testing

http://slidepdf.com/reader/full/mobile-testing-568e33f7507a2 14/14

14