SlideShare a Scribd company logo
1 of 30
Application Engineering and Development 
Topic: Testing and Packaging 
your App 
Topic Number: 9
Key topics / learning outcomes 
of this lecture 
• Testing principles; 
• Packaging an Android App. 
2
Testing an application 
Scenario: You’ve designed your App, and now 
want to test it. 
Question: What are you testing? 
• Unit testing? 
• Integration testing? 
• System Testing? 
• Regression Testing? 
• Acceptance Testing? 
B4004A L1 3
Unit Testing 
This relates to a particular section of the source 
code, for example: 
– a particular module of source code; 
– testing a single class; 
– testing a single component; 
– testing a single module in isolation; 
An example may be a button that activates a piece of 
code that ‘does something’ or a Java Class. 
B4004A L1 4
Integration Testing 
• This is testing of: 
– the aggregation of all of the individual unit testing 
items, for: 
• functionality; 
• user interface quality; 
• usability; 
• security; 
• performance; 
B4004A L1 5
System Testing 
• System testing is performed on the actual 
device to identify: 
– any defects; 
– functionality issues; 
– usability issues; 
– security; 
– installs correctly; 
– performance; 
B4004A L1 6
Regression Testing 
When new functionality or changes are added 
to an application, regression testing is used for 
all testing types, for example: 
– installation; 
– user interface; 
– usability; 
– performance; 
– security; 
B4004A L1 7
Acceptance Testing 
• Acceptance testing is to verify that the 
application meets: 
– the original specification; 
– any amendments agreed during the design and 
build period; 
Provided the designed product meets the 
specification: 
• the design is signed off as ‘Accepted’ by the client; 
• the invoice for the work may be submitted; 
B4004A L1 8
Testing Terminology 
• Black box testing 
– the test engineer has no knowledge of internal 
workings; 
– tests are based on requirements and functionality; 
• White box testing 
– the test engineer has knowledge of internal design 
and code; 
B4004A L1 9
Testing Choices 
• Use an emulator; 
• Use a device; 
• Use several emulators; 
• Use several devices; 
• Use a software version; 
• Use many software versions; 
• Use many software versions and many 
devices; 
B4004A L1 10
Other Testing Areas to Consider 
• Performance: 
– ie response times, battery life, memory, CPU; 
• interruptions: 
– ie phone call, unplugged cable; 
• network testing: 
– ie 2G, 3G, 4G, Wi-Fi; 
• localization: 
– translation working? 
• synchronization: 
– ie data transfer between devices; 
B4004A L1 11
Write a Test Plan to Manage the Task 
• List what is being tested: 
– the device; 
– software version; 
• List elements to test: 
– ie button; 
– fault injection – ie create a fault and test what happens; 
• List expected response: 
– ie button ‘sends’ information to database; 
• List whether it is a “Pass” or a “Fail”; 
• List comments: 
– ie the button text is too small to see; 
– ie the data did not arrive at the database; 
B4004A L1 12
Example Test Plan 
B4004A L1 13 
Test 
Number 
Element 
Description 
Test 
Functionality 
Expected 
Action 
Test 
Result 
Comments Action 
1 Button Click Sends 
data to 
database 
PASS Button 
text is too 
small 
Increase button 
text size 
2 Image of 
building 
Mouse over image 
changes 
to image 
of lecture 
room; 
FAIL image 
stays the 
same 
Check code; 
Check lecture 
room image 
exists; 
Android 
Version 
Device Test Engineer Date 
4.2.2 Emulator A. N. Other 28/9/2014
A Good Test Plan will … 
• find software bugs; 
• find requirement gaps; 
• determine whether the App. meets the design 
requirements; 
• determine whether the device responds correctly; 
• establish whether it functions within an acceptable time; 
• confirm whether the device is fully useable; 
• confirm whether it meets Accessibility requirements; 
• whether the App. can be installed and run; 
• overall, whether the build achieves the general results 
desired; 
B4004A L1 14
Software Tools 
Some testing may be carried out using Open Source 
software tools available: 
• Robotium 
– Tests are written in Java; 
– Tests can be run only on the emulator – not devices; 
• Appthwack 
– load application to the resource; 
– it then installs to the real devices; 
– it is researched by: 
• running the application; 
• taking measurements of memory and CPU usage; 
• identifying errors. 
B4004A L1 15
… the end of Testing… 
… turning to packaging your App … 
B4004A L1 16
The App. in the Emulator 
B4004A L1 17
IntelliJ has the tools to package Apps. 
B4004A L1 18
Select ‘Generate Signed APK’ 
B4004A L1 19
Choose ‘Create new …’ 
• To create a ‘key store path’, create a new Folder, and a new filename: 
B4004A L1 20
Complete all the fields … 
B4004A L1 21
… and the App package is now 
generated … 
B4004A L1 22
… and here it is in my local computer 
files … 
B4004A L1 23
About installing the APK file to your 
actual Android Device 
• The APK (Application Package Files) are a 
compressed single-file package of your 
Android App. 
• The APK must be executed once by tapping 
the file for the application to install and run on 
your Android device. 
B4004A L1 24
Getting the APK file on to your device 
• Some options: 
– obtain a ‘File Manager’ to collect the APK file; 
– upload the file to the internet, and download it to your Android 
device; 
– send the APK file by email from your computer, to your Android 
device; 
– use Dropbox; 
– transfer from your pc to your Android device. 
• Let your phone know that you want to allow installs from 
‘unknown sources’ 
– Settings>>Applications, then tick ‘unknown sources’; 
– If you have this option, then tick ‘Verify Apps’ 
B4004A L1 25
For the Seminar 
• For the seminar after this lecture, you will 
– package one of the Apps. built during this module; 
– start preparing a test plan for the selected App; 
– read: 
https://developer.android.com/tools/building/ind 
ex.html 
B4004A L1 26
For the Workshop 
• For the workshop after this lecture and 
seminar, you will: 
– complete the preparation of the test plan on the 
selected App; 
– actually test the App. against the test plan and 
record the results. 
B4004A L1 27
Essential work for next week 
• Please consult the OLE for details of: 
– Essential readings* 
– Seminar/workshop preparation work* 
– Recommended further readings 
– Any additional learning 
* Essential readings and preparation work must always be completed in time 
for the next session 
28
End of presentation 
© Pearson College 2013
B4004A L1 30

More Related Content

What's hot

Test parallelization using Jenkins
Test parallelization using JenkinsTest parallelization using Jenkins
Test parallelization using JenkinsRogue Wave Software
 
Tools for Software Testing
Tools for Software TestingTools for Software Testing
Tools for Software TestingMohammed Moishin
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewMurageppa-QA
 
Software testing by kd
Software testing by kdSoftware testing by kd
Software testing by kdkedarhire
 
Mdc2010 Automated Mobile Testing
Mdc2010 Automated Mobile TestingMdc2010 Automated Mobile Testing
Mdc2010 Automated Mobile Testingmomobangalore
 
Testing NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFTTesting NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFTOri Bendet
 
Ranorex presentation
Ranorex presentationRanorex presentation
Ranorex presentationISsoft
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 
Appium Presentation
Appium Presentation Appium Presentation
Appium Presentation OmarUsman6
 
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterVijayChowthri Nagaprakasham
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assuranceBenjamin Baumann
 
Why Ranorex
Why RanorexWhy Ranorex
Why RanorexRanorex
 
Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Alaina Carter
 
Framework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingFramework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingKMS Technology
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationRanorex
 

What's hot (19)

Test parallelization using Jenkins
Test parallelization using JenkinsTest parallelization using Jenkins
Test parallelization using Jenkins
 
Tools for Software Testing
Tools for Software TestingTools for Software Testing
Tools for Software Testing
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Software testing by kd
Software testing by kdSoftware testing by kd
Software testing by kd
 
Mdc2010 Automated Mobile Testing
Mdc2010 Automated Mobile TestingMdc2010 Automated Mobile Testing
Mdc2010 Automated Mobile Testing
 
Testing NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFTTesting NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFT
 
Mobile Video Games Testing Principles - Benjamin Poirrier
Mobile Video Games Testing Principles - Benjamin PoirrierMobile Video Games Testing Principles - Benjamin Poirrier
Mobile Video Games Testing Principles - Benjamin Poirrier
 
Ranorex presentation
Ranorex presentationRanorex presentation
Ranorex presentation
 
Selecting the Right Automated Testing tool
Selecting the Right Automated Testing tool Selecting the Right Automated Testing tool
Selecting the Right Automated Testing tool
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Appium Presentation
Appium Presentation Appium Presentation
Appium Presentation
 
Key Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework SuccessKey Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework Success
 
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional Tester
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
 
Why Ranorex
Why RanorexWhy Ranorex
Why Ranorex
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020
 
Framework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingFramework For Automation Testing Practice Sharing
Framework For Automation Testing Practice Sharing
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 

Viewers also liked

Lecture 7 industry studies student
Lecture 7   industry studies studentLecture 7   industry studies student
Lecture 7 industry studies studentmoduledesign
 
Lecture 8 industry studies student
Lecture 8   industry studies studentLecture 8   industry studies student
Lecture 8 industry studies studentmoduledesign
 
Management 1 seminar 1(1) (1)
Management 1 seminar 1(1) (1)Management 1 seminar 1(1) (1)
Management 1 seminar 1(1) (1)moduledesign
 
Seminar is10 mega-trends pre-student
Seminar is10   mega-trends pre-studentSeminar is10   mega-trends pre-student
Seminar is10 mega-trends pre-studentmoduledesign
 
Seminar is1 coke post student
Seminar   is1 coke post studentSeminar   is1 coke post student
Seminar is1 coke post studentmoduledesign
 
Lecture 8 video_sound
Lecture 8 video_soundLecture 8 video_sound
Lecture 8 video_soundmoduledesign
 
Seminar is6 the triple bottom line pre student
Seminar   is6 the triple bottom line pre studentSeminar   is6 the triple bottom line pre student
Seminar is6 the triple bottom line pre studentmoduledesign
 
Week7musculoskeletallecture
Week7musculoskeletallectureWeek7musculoskeletallecture
Week7musculoskeletallecturemoduledesign
 
Is1 workshop 4 make, take & sell challenge v2 student
Is1 workshop 4   make, take & sell challenge v2 studentIs1 workshop 4   make, take & sell challenge v2 student
Is1 workshop 4 make, take & sell challenge v2 studentmoduledesign
 
Seminar is4 dell pre student
Seminar   is4 dell pre studentSeminar   is4 dell pre student
Seminar is4 dell pre studentmoduledesign
 
Financial statements - Seminar 4
Financial statements - Seminar 4Financial statements - Seminar 4
Financial statements - Seminar 4moduledesign
 
B417 ws one student version v0.2
B417 ws one student version v0.2B417 ws one student version v0.2
B417 ws one student version v0.2moduledesign
 
Pob stage 2 marketing seminar 4 post students
Pob stage 2 marketing   seminar 4 post studentsPob stage 2 marketing   seminar 4 post students
Pob stage 2 marketing seminar 4 post studentsmoduledesign
 
Lecture 4 intellectual capital
Lecture 4 intellectual capitalLecture 4 intellectual capital
Lecture 4 intellectual capitalmoduledesign
 
Introduction to Finance lecture 1
Introduction to Finance lecture 1Introduction to Finance lecture 1
Introduction to Finance lecture 1moduledesign
 
Lecture 8 digital knowledge management
Lecture 8 digital knowledge managementLecture 8 digital knowledge management
Lecture 8 digital knowledge managementmoduledesign
 

Viewers also liked (17)

Lecture 7 industry studies student
Lecture 7   industry studies studentLecture 7   industry studies student
Lecture 7 industry studies student
 
Lecture 8 industry studies student
Lecture 8   industry studies studentLecture 8   industry studies student
Lecture 8 industry studies student
 
Management 1 seminar 1(1) (1)
Management 1 seminar 1(1) (1)Management 1 seminar 1(1) (1)
Management 1 seminar 1(1) (1)
 
Seminar is10 mega-trends pre-student
Seminar is10   mega-trends pre-studentSeminar is10   mega-trends pre-student
Seminar is10 mega-trends pre-student
 
B417 ws four v0.2
B417 ws four v0.2B417 ws four v0.2
B417 ws four v0.2
 
Seminar is1 coke post student
Seminar   is1 coke post studentSeminar   is1 coke post student
Seminar is1 coke post student
 
Lecture 8 video_sound
Lecture 8 video_soundLecture 8 video_sound
Lecture 8 video_sound
 
Seminar is6 the triple bottom line pre student
Seminar   is6 the triple bottom line pre studentSeminar   is6 the triple bottom line pre student
Seminar is6 the triple bottom line pre student
 
Week7musculoskeletallecture
Week7musculoskeletallectureWeek7musculoskeletallecture
Week7musculoskeletallecture
 
Is1 workshop 4 make, take & sell challenge v2 student
Is1 workshop 4   make, take & sell challenge v2 studentIs1 workshop 4   make, take & sell challenge v2 student
Is1 workshop 4 make, take & sell challenge v2 student
 
Seminar is4 dell pre student
Seminar   is4 dell pre studentSeminar   is4 dell pre student
Seminar is4 dell pre student
 
Financial statements - Seminar 4
Financial statements - Seminar 4Financial statements - Seminar 4
Financial statements - Seminar 4
 
B417 ws one student version v0.2
B417 ws one student version v0.2B417 ws one student version v0.2
B417 ws one student version v0.2
 
Pob stage 2 marketing seminar 4 post students
Pob stage 2 marketing   seminar 4 post studentsPob stage 2 marketing   seminar 4 post students
Pob stage 2 marketing seminar 4 post students
 
Lecture 4 intellectual capital
Lecture 4 intellectual capitalLecture 4 intellectual capital
Lecture 4 intellectual capital
 
Introduction to Finance lecture 1
Introduction to Finance lecture 1Introduction to Finance lecture 1
Introduction to Finance lecture 1
 
Lecture 8 digital knowledge management
Lecture 8 digital knowledge managementLecture 8 digital knowledge management
Lecture 8 digital knowledge management
 

Similar to How to Test and Package Your Android App

Basic of Software Testing.pptx
Basic of Software Testing.pptxBasic of Software Testing.pptx
Basic of Software Testing.pptxaparna14patil
 
Softwere Testing Aplication Specific Techniques
Softwere Testing Aplication Specific TechniquesSoftwere Testing Aplication Specific Techniques
Softwere Testing Aplication Specific Techniquesmaharajdey
 
SE_Unit 5_DE & Testing.pdf computer networks technology
SE_Unit 5_DE & Testing.pdf computer networks technologySE_Unit 5_DE & Testing.pdf computer networks technology
SE_Unit 5_DE & Testing.pdf computer networks technologyRAVALCHIRAG1
 
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying foBenitoSumpter862
 
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying foSantosConleyha
 
Software testing and software development process
Software testing and software development processSoftware testing and software development process
Software testing and software development processGen Aloys Ochola Badde
 
Appmotives - Software Testing As Service
Appmotives - Software Testing As ServiceAppmotives - Software Testing As Service
Appmotives - Software Testing As ServiceKalyan Paluri
 
Securing deployment pipeline
Securing deployment pipelineSecuring deployment pipeline
Securing deployment pipelineLen Bass
 
Lecture 1 dev_environment
Lecture 1 dev_environmentLecture 1 dev_environment
Lecture 1 dev_environmentmoduledesign
 
Understand release engineering
Understand release engineeringUnderstand release engineering
Understand release engineeringgaoliang641
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
Zero-bug Software, Mathematically Guaranteed
Zero-bug Software, Mathematically GuaranteedZero-bug Software, Mathematically Guaranteed
Zero-bug Software, Mathematically GuaranteedAshley Zupkus
 
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f..." Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...Lohika_Odessa_TechTalks
 
Functional Testing of RESTful Applications
Functional Testing of RESTful ApplicationsFunctional Testing of RESTful Applications
Functional Testing of RESTful ApplicationsNenad Bozic
 
A. Sirota "Building an Automation Solution based on Appium"
A. Sirota "Building an Automation Solution based on Appium"A. Sirota "Building an Automation Solution based on Appium"
A. Sirota "Building an Automation Solution based on Appium"DataArt
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design Jayant Dalvi
 

Similar to How to Test and Package Your Android App (20)

Different Types Of Testing
Different Types Of TestingDifferent Types Of Testing
Different Types Of Testing
 
Basic of Software Testing.pptx
Basic of Software Testing.pptxBasic of Software Testing.pptx
Basic of Software Testing.pptx
 
Softwere Testing Aplication Specific Techniques
Softwere Testing Aplication Specific TechniquesSoftwere Testing Aplication Specific Techniques
Softwere Testing Aplication Specific Techniques
 
00.pdf
00.pdf00.pdf
00.pdf
 
SE_Unit 5_DE & Testing.pdf computer networks technology
SE_Unit 5_DE & Testing.pdf computer networks technologySE_Unit 5_DE & Testing.pdf computer networks technology
SE_Unit 5_DE & Testing.pdf computer networks technology
 
Software development process
Software development processSoftware development process
Software development process
 
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
 
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
1. Watch the video a. Episode 9 Munchausen by Proxy Dying fo
 
Software testing and software development process
Software testing and software development processSoftware testing and software development process
Software testing and software development process
 
Appmotives - Software Testing As Service
Appmotives - Software Testing As ServiceAppmotives - Software Testing As Service
Appmotives - Software Testing As Service
 
Securing deployment pipeline
Securing deployment pipelineSecuring deployment pipeline
Securing deployment pipeline
 
Lecture 1 dev_environment
Lecture 1 dev_environmentLecture 1 dev_environment
Lecture 1 dev_environment
 
Understand release engineering
Understand release engineeringUnderstand release engineering
Understand release engineering
 
201505 beena v0
201505 beena v0201505 beena v0
201505 beena v0
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Zero-bug Software, Mathematically Guaranteed
Zero-bug Software, Mathematically GuaranteedZero-bug Software, Mathematically Guaranteed
Zero-bug Software, Mathematically Guaranteed
 
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f..." Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
 
Functional Testing of RESTful Applications
Functional Testing of RESTful ApplicationsFunctional Testing of RESTful Applications
Functional Testing of RESTful Applications
 
A. Sirota "Building an Automation Solution based on Appium"
A. Sirota "Building an Automation Solution based on Appium"A. Sirota "Building an Automation Solution based on Appium"
A. Sirota "Building an Automation Solution based on Appium"
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 

More from moduledesign

Bm512 b525 t1_s_v002
Bm512 b525 t1_s_v002Bm512 b525 t1_s_v002
Bm512 b525 t1_s_v002moduledesign
 
Bm512 b525 t5_l_v002
Bm512 b525 t5_l_v002Bm512 b525 t5_l_v002
Bm512 b525 t5_l_v002moduledesign
 
Bm509 b519 t1_l_v002
Bm509 b519 t1_l_v002Bm509 b519 t1_l_v002
Bm509 b519 t1_l_v002moduledesign
 
Corporate reporting and finance lecture 1
Corporate reporting and finance lecture 1Corporate reporting and finance lecture 1
Corporate reporting and finance lecture 1moduledesign
 
Af502 b523 t1_l1_v002
Af502 b523 t1_l1_v002Af502 b523 t1_l1_v002
Af502 b523 t1_l1_v002moduledesign
 
B515 lecture 1 edited_mr
B515 lecture 1 edited_mrB515 lecture 1 edited_mr
B515 lecture 1 edited_mrmoduledesign
 
B502 ethics lecture t005_rf
B502 ethics lecture t005_rfB502 ethics lecture t005_rf
B502 ethics lecture t005_rfmoduledesign
 
B526 ops pm lecture_t001b_with notes
B526 ops pm lecture_t001b_with notesB526 ops pm lecture_t001b_with notes
B526 ops pm lecture_t001b_with notesmoduledesign
 
B526 ops pm lecture_t009_rf
B526 ops pm lecture_t009_rfB526 ops pm lecture_t009_rf
B526 ops pm lecture_t009_rfmoduledesign
 
Pearson principles of business implementing strategy lecture 2
Pearson principles of business implementing strategy lecture 2Pearson principles of business implementing strategy lecture 2
Pearson principles of business implementing strategy lecture 2moduledesign
 
Generic lecture 4 research design (1)
Generic lecture 4 research design (1)Generic lecture 4 research design (1)
Generic lecture 4 research design (1)moduledesign
 
Generic lecture 3 literature review tutor
Generic lecture 3 literature review  tutorGeneric lecture 3 literature review  tutor
Generic lecture 3 literature review tutormoduledesign
 
Generic lecture 2 research proposal student
Generic lecture 2 research proposal studentGeneric lecture 2 research proposal student
Generic lecture 2 research proposal studentmoduledesign
 
Tutor version slides seminar 9 implementing knowledge management
Tutor version slides seminar 9 implementing knowledge managementTutor version slides seminar 9 implementing knowledge management
Tutor version slides seminar 9 implementing knowledge managementmoduledesign
 
Tutor version slides eminar 2 the nature of knowing
Tutor version slides eminar 2 the nature of knowingTutor version slides eminar 2 the nature of knowing
Tutor version slides eminar 2 the nature of knowingmoduledesign
 
Tutor version slides seminar 10 assignment support
Tutor version slides seminar 10 assignment supportTutor version slides seminar 10 assignment support
Tutor version slides seminar 10 assignment supportmoduledesign
 
Tutor version slides seminar 5 the learning organisation
Tutor version slides seminar 5 the learning organisationTutor version slides seminar 5 the learning organisation
Tutor version slides seminar 5 the learning organisationmoduledesign
 
Tutor version slides seminar 1 introduction to knowledge management
Tutor version slides seminar 1 introduction to knowledge managementTutor version slides seminar 1 introduction to knowledge management
Tutor version slides seminar 1 introduction to knowledge managementmoduledesign
 
Tutor version slides seminar 4 organisational learning
Tutor version slides seminar 4 organisational learningTutor version slides seminar 4 organisational learning
Tutor version slides seminar 4 organisational learningmoduledesign
 
Tutor version slides seminar 7 digital knowledge managment
Tutor version slides seminar 7 digital knowledge managment Tutor version slides seminar 7 digital knowledge managment
Tutor version slides seminar 7 digital knowledge managment moduledesign
 

More from moduledesign (20)

Bm512 b525 t1_s_v002
Bm512 b525 t1_s_v002Bm512 b525 t1_s_v002
Bm512 b525 t1_s_v002
 
Bm512 b525 t5_l_v002
Bm512 b525 t5_l_v002Bm512 b525 t5_l_v002
Bm512 b525 t5_l_v002
 
Bm509 b519 t1_l_v002
Bm509 b519 t1_l_v002Bm509 b519 t1_l_v002
Bm509 b519 t1_l_v002
 
Corporate reporting and finance lecture 1
Corporate reporting and finance lecture 1Corporate reporting and finance lecture 1
Corporate reporting and finance lecture 1
 
Af502 b523 t1_l1_v002
Af502 b523 t1_l1_v002Af502 b523 t1_l1_v002
Af502 b523 t1_l1_v002
 
B515 lecture 1 edited_mr
B515 lecture 1 edited_mrB515 lecture 1 edited_mr
B515 lecture 1 edited_mr
 
B502 ethics lecture t005_rf
B502 ethics lecture t005_rfB502 ethics lecture t005_rf
B502 ethics lecture t005_rf
 
B526 ops pm lecture_t001b_with notes
B526 ops pm lecture_t001b_with notesB526 ops pm lecture_t001b_with notes
B526 ops pm lecture_t001b_with notes
 
B526 ops pm lecture_t009_rf
B526 ops pm lecture_t009_rfB526 ops pm lecture_t009_rf
B526 ops pm lecture_t009_rf
 
Pearson principles of business implementing strategy lecture 2
Pearson principles of business implementing strategy lecture 2Pearson principles of business implementing strategy lecture 2
Pearson principles of business implementing strategy lecture 2
 
Generic lecture 4 research design (1)
Generic lecture 4 research design (1)Generic lecture 4 research design (1)
Generic lecture 4 research design (1)
 
Generic lecture 3 literature review tutor
Generic lecture 3 literature review  tutorGeneric lecture 3 literature review  tutor
Generic lecture 3 literature review tutor
 
Generic lecture 2 research proposal student
Generic lecture 2 research proposal studentGeneric lecture 2 research proposal student
Generic lecture 2 research proposal student
 
Tutor version slides seminar 9 implementing knowledge management
Tutor version slides seminar 9 implementing knowledge managementTutor version slides seminar 9 implementing knowledge management
Tutor version slides seminar 9 implementing knowledge management
 
Tutor version slides eminar 2 the nature of knowing
Tutor version slides eminar 2 the nature of knowingTutor version slides eminar 2 the nature of knowing
Tutor version slides eminar 2 the nature of knowing
 
Tutor version slides seminar 10 assignment support
Tutor version slides seminar 10 assignment supportTutor version slides seminar 10 assignment support
Tutor version slides seminar 10 assignment support
 
Tutor version slides seminar 5 the learning organisation
Tutor version slides seminar 5 the learning organisationTutor version slides seminar 5 the learning organisation
Tutor version slides seminar 5 the learning organisation
 
Tutor version slides seminar 1 introduction to knowledge management
Tutor version slides seminar 1 introduction to knowledge managementTutor version slides seminar 1 introduction to knowledge management
Tutor version slides seminar 1 introduction to knowledge management
 
Tutor version slides seminar 4 organisational learning
Tutor version slides seminar 4 organisational learningTutor version slides seminar 4 organisational learning
Tutor version slides seminar 4 organisational learning
 
Tutor version slides seminar 7 digital knowledge managment
Tutor version slides seminar 7 digital knowledge managment Tutor version slides seminar 7 digital knowledge managment
Tutor version slides seminar 7 digital knowledge managment
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 

How to Test and Package Your Android App

  • 1. Application Engineering and Development Topic: Testing and Packaging your App Topic Number: 9
  • 2. Key topics / learning outcomes of this lecture • Testing principles; • Packaging an Android App. 2
  • 3. Testing an application Scenario: You’ve designed your App, and now want to test it. Question: What are you testing? • Unit testing? • Integration testing? • System Testing? • Regression Testing? • Acceptance Testing? B4004A L1 3
  • 4. Unit Testing This relates to a particular section of the source code, for example: – a particular module of source code; – testing a single class; – testing a single component; – testing a single module in isolation; An example may be a button that activates a piece of code that ‘does something’ or a Java Class. B4004A L1 4
  • 5. Integration Testing • This is testing of: – the aggregation of all of the individual unit testing items, for: • functionality; • user interface quality; • usability; • security; • performance; B4004A L1 5
  • 6. System Testing • System testing is performed on the actual device to identify: – any defects; – functionality issues; – usability issues; – security; – installs correctly; – performance; B4004A L1 6
  • 7. Regression Testing When new functionality or changes are added to an application, regression testing is used for all testing types, for example: – installation; – user interface; – usability; – performance; – security; B4004A L1 7
  • 8. Acceptance Testing • Acceptance testing is to verify that the application meets: – the original specification; – any amendments agreed during the design and build period; Provided the designed product meets the specification: • the design is signed off as ‘Accepted’ by the client; • the invoice for the work may be submitted; B4004A L1 8
  • 9. Testing Terminology • Black box testing – the test engineer has no knowledge of internal workings; – tests are based on requirements and functionality; • White box testing – the test engineer has knowledge of internal design and code; B4004A L1 9
  • 10. Testing Choices • Use an emulator; • Use a device; • Use several emulators; • Use several devices; • Use a software version; • Use many software versions; • Use many software versions and many devices; B4004A L1 10
  • 11. Other Testing Areas to Consider • Performance: – ie response times, battery life, memory, CPU; • interruptions: – ie phone call, unplugged cable; • network testing: – ie 2G, 3G, 4G, Wi-Fi; • localization: – translation working? • synchronization: – ie data transfer between devices; B4004A L1 11
  • 12. Write a Test Plan to Manage the Task • List what is being tested: – the device; – software version; • List elements to test: – ie button; – fault injection – ie create a fault and test what happens; • List expected response: – ie button ‘sends’ information to database; • List whether it is a “Pass” or a “Fail”; • List comments: – ie the button text is too small to see; – ie the data did not arrive at the database; B4004A L1 12
  • 13. Example Test Plan B4004A L1 13 Test Number Element Description Test Functionality Expected Action Test Result Comments Action 1 Button Click Sends data to database PASS Button text is too small Increase button text size 2 Image of building Mouse over image changes to image of lecture room; FAIL image stays the same Check code; Check lecture room image exists; Android Version Device Test Engineer Date 4.2.2 Emulator A. N. Other 28/9/2014
  • 14. A Good Test Plan will … • find software bugs; • find requirement gaps; • determine whether the App. meets the design requirements; • determine whether the device responds correctly; • establish whether it functions within an acceptable time; • confirm whether the device is fully useable; • confirm whether it meets Accessibility requirements; • whether the App. can be installed and run; • overall, whether the build achieves the general results desired; B4004A L1 14
  • 15. Software Tools Some testing may be carried out using Open Source software tools available: • Robotium – Tests are written in Java; – Tests can be run only on the emulator – not devices; • Appthwack – load application to the resource; – it then installs to the real devices; – it is researched by: • running the application; • taking measurements of memory and CPU usage; • identifying errors. B4004A L1 15
  • 16. … the end of Testing… … turning to packaging your App … B4004A L1 16
  • 17. The App. in the Emulator B4004A L1 17
  • 18. IntelliJ has the tools to package Apps. B4004A L1 18
  • 19. Select ‘Generate Signed APK’ B4004A L1 19
  • 20. Choose ‘Create new …’ • To create a ‘key store path’, create a new Folder, and a new filename: B4004A L1 20
  • 21. Complete all the fields … B4004A L1 21
  • 22. … and the App package is now generated … B4004A L1 22
  • 23. … and here it is in my local computer files … B4004A L1 23
  • 24. About installing the APK file to your actual Android Device • The APK (Application Package Files) are a compressed single-file package of your Android App. • The APK must be executed once by tapping the file for the application to install and run on your Android device. B4004A L1 24
  • 25. Getting the APK file on to your device • Some options: – obtain a ‘File Manager’ to collect the APK file; – upload the file to the internet, and download it to your Android device; – send the APK file by email from your computer, to your Android device; – use Dropbox; – transfer from your pc to your Android device. • Let your phone know that you want to allow installs from ‘unknown sources’ – Settings>>Applications, then tick ‘unknown sources’; – If you have this option, then tick ‘Verify Apps’ B4004A L1 25
  • 26. For the Seminar • For the seminar after this lecture, you will – package one of the Apps. built during this module; – start preparing a test plan for the selected App; – read: https://developer.android.com/tools/building/ind ex.html B4004A L1 26
  • 27. For the Workshop • For the workshop after this lecture and seminar, you will: – complete the preparation of the test plan on the selected App; – actually test the App. against the test plan and record the results. B4004A L1 27
  • 28. Essential work for next week • Please consult the OLE for details of: – Essential readings* – Seminar/workshop preparation work* – Recommended further readings – Any additional learning * Essential readings and preparation work must always be completed in time for the next session 28
  • 29. End of presentation © Pearson College 2013

Editor's Notes

  1. This blog is generated by a database. It is a Wordpress blog.