0% found this document useful (0 votes)
111 views29 pages

3 Types of Mobile Applicati On

1. There are 3 main types of mobile applications: native apps designed for a specific device OS, mobile web apps that run in a browser, and hybrid apps that combine native and web technologies. 2. Testing mobile apps presents various challenges due to differences in hardware, operating systems, screen sizes/orientations, and wireless networks between devices. An effective testing strategy considers factors like device selection, test automation tools, test types, and network environments. 3. Emulators virtually mimic device hardware while simulators run on software alone. Taking screenshots and logs involves tools like DDMS on Android and connecting devices to computers for iOS.

Uploaded by

Nirupa Thota
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
111 views29 pages

3 Types of Mobile Applicati On

1. There are 3 main types of mobile applications: native apps designed for a specific device OS, mobile web apps that run in a browser, and hybrid apps that combine native and web technologies. 2. Testing mobile apps presents various challenges due to differences in hardware, operating systems, screen sizes/orientations, and wireless networks between devices. An effective testing strategy considers factors like device selection, test automation tools, test types, and network environments. 3. Emulators virtually mimic device hardware while simulators run on software alone. Taking screenshots and logs involves tools like DDMS on Android and connecting devices to computers for iOS.

Uploaded by

Nirupa Thota
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 29

3 types of mobile applicati

on
• 1.mobile web apps- server side internet enabled app
• They are written with web technologies

• 2.Native mobile apps -platform specific designed for


a device os
• Higher level of security than mobile web applications
• 3.hybrid Mobile apps- leverage both native amd and
web technologies
• Cross platform affinity
Challenges in mobile applic
ation testing
• Devices come with different ram, peocesser, memory
• Apps which work in one hw may not work on another
hw
• Different os
• Device orientation - landscape/portrait mode
• Different mobile carriers -
• Different screen sizes-
• Teat in real time nw
• Different wireless communication technologies
Mobile application testing
strategy
• Factors to be considered are
• 1 device selection - simulator/physical device/os/sc
reen resolution
• 2 test automation - select automation tool
• 3 test types -functional, performance, security
• 4 network env - wifi/2g/3g/4g
• 5 carriers - carriers like verizon, Vodafone cdma
Emulator and simulator
• Android - emulator - virtual device - virtual device c
reated based on hw.

• Ios- simulator -virtual device - virtual device will be


created based on software
Emulator
• Hardware qhi
• EmulatorAndrotor
Simulator
• Software
Android Testing
Prerequisites:
• Devices dribes have to be installed
• Sync software is installed
• Make sure usb debugging mode is enabled on Android
device
• Usb debugging mode allows to transfer all files
• Settings -aboit phone- build mumber -click 7 times - th
en dev options will.come -click on dev options under s
ettings- select usb debugging option is checked-click o
n ok button innwarning msg
Cont..
• Below android 4.2 andPrerequisites
• Will be able to transfer files btwn pc and device
How to take log files and
screenshots of application
• Its always btr to provide some log files and scrnshots
• Ddms tool, eclipse, existing app
• Ddms is always prefer for tester
• Open ddms(dalvik debug monitor system)-
• Ddms.bat is used to take screenshots
• Adb start server(cmnd prompt)
• Device - screen capture


Take screen shot in ios
Checklist
• Dwnload , installation, uninstalatipn, launch,close,r
alaunch, upgrade,
• Interrupt testing - sms,call,nw, battery, memory, exi
t
• Ui testing - logo,splash, alignment,continual keypad
entry, images resolution
• Nw testing
Contd...
• Will receive the build via mail or external link OTA
• Battery -full/low/critical/during charging
• Verify battery when app is running bck grd
• Memory - low before install, completed after install
• Verify that unmapped keys are not working
Info
• Stores is a production env
• Application crash -application closes suddenly
• Universal standard for splash screen is max 4 sec.If
not ,it is a defect
• Emulator is a application that will emulate/imitate t
he mobile device
• Emulator limitations- no support for ph calls,camer
a capture, battery charging level, Bluetooth,
• Emulator ia an hw which duplicate the features and
functions of real system.
• It gives the real time verification of developed code
• Simulator is a sw that duplicate some processor on
all possible ways
• It is a pc sw that reads instructions from exe and mi
mics the operation of a processor.
• A simulator tests the program on a dev processor.
Webservices
• Sw component that perform a task
• All services will use xml
• Xml is secure and independent pf platform
• Soap ui -
• Webservices will be on nw
• Soap and rest
• Almost every one using Rest
• Soap used in banking application because they are more sec
ure
• Developers will provide the wsdl
• We service has 3 roles
• Consumer,registry and service provider
Soap
• Soap have only one URL
• Rest will have diff urls for different functions
• 3 roles in webservices : service provider,registry an
d consumer
• Ex: payment gateway for e commerce sites
• Weather forecast for news
Android
• Astro , bender, cupcake, donut, eclair, froyo, ginger
bread, honey comb, icecream sandwich, jelly bean,
kitkat,lollipop, marshmallow,nugget
• Ginger bread -2.3
• Honey comb -3.0-3.2
• Ics -4.0-4.4
• Jellybean -4.1-4.3
• Kitkat -4.4
Android development environ
ment setup
• Jdk and android sdk
• Jdk must be installed
• Jre is used to execute the java program
• Jdk -jdk+jre+development tools
• Developer.android.com - to dwnld andeoid sdk
• Skin -hvga
• .apk -android package kit
• .ipa -iphone archive
How to install .apk in andr
oid emulator
• Get req,, .apk to test
• Open andeoid emulator
• Open command line tool (start-run-cmd)
• With the help of ADB we will install .apk
• Change the directory to ADB location
• Cd path of adb loc,,
• To install .apk file use below
• Adb install path
Xcode
• 1.download and install xcode
• Xcode is an integrated development environment cont
aining auite of software development tools developed
by apple for developing software for osx and ios
• 2.
• 3.follow the below path to open simulator
• Content-developer-platforms-iphonesimulator.platfro
m-developer-applications-ios simulator
• 4.drag the ios simulator tonyour dashboard so you will
have easy access
Cont..
• 1.open ios simulator
• Navigatw to hardware-version/device-select the ver
sion
• Than respective ios simulator will.open
Istall apps in ios simulato
r
• Finder -go -press alt option-library-application supp
prt-iphone simulator -go to required simulator
• In mac if you want to see hidden folder than press a
lt key
• Navigate to finder-go-press alt option-library-applic
ation support-iphone simulator-5.0-applications-ran
domly 32 bit folder-copy 4 items
• We need to copy 4 files
• Get .ipa file from developer
• Install sync software (itunes)
Take log files and screen s
hot in ios
• Click on power and home' button to take screen sh
ot
• To take crash log files
• 1.connect device to computer via usb
• 2.sync the device with itunes on desktop
• Mac machine:
• Crash logs are ava at /library/logs/crashreporter/m
obile device/<device name >
• Windoews :
• C://users /username/appdata/roaming/Apple comp
uter/logs/crash reporter/mobile device/device nam
e
• Note:app data is normally hidden so manually add
appdata to the folder path
Emailing logfiles to the de
veloper
• Click on settings on the device
• Navigate to general-about-diagnostics and usage-
• Click on diagnostic and usage data
• Tap on the crash and you will see a txt field with a c
rash log .long press to select all and then copy the c
rash text
• Paste on email body and send to developer.
...oogle
• Google atari
• Google clclassroom
• Nightly:Scary01/02/[email protected]/
testscary!
• QA build: prod01/02/[email protected]
m/testprod!
• Scary account,corp
• I18n??

• Daily build
• Rc build
• Dd release apks - in drive

You might also like