mobile phone testing assignment

33
Mobile Phone Testing Assignment Project Name: Testing a mobile phone. ------------------------------------------------------ -------------------------------------------- 1.Objective : This project aims to test different functionalities of mobile phone (having keypad ). Different testing methods and levels of testing are used to test a mobile phone. The testing will be conducted on both hardware and software.

Upload: pavan-kumar

Post on 09-Jan-2017

166 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Mobile phone testing assignment

Mobile Phone Testing Assignment

Project Name: Testing a mobile phone. --------------------------------------------------------------------------------------------------

1.Objective : This project aims to test different functionalities of mobile phone (having keypad ). Different testing methods and levels of testing are used to test a mobile phone. The testing will be conducted on both hardware and software.

Test Case Template

Test Case ID: 1 Test Designed by: Pavan

Test Priority (Low/Medium/High): Medium Test Designed date: 7th Aug.2016

Test Executed by: Pavan

Test Execution date: 7th Aug.2016

Test Title: To test whether mobile phone functions properly or not.

Description: Test different functionalities of mobile phone such as calling, messaging, charging and so on.

Page 2: Mobile phone testing assignment

Testing Methods:

1. Black box testing

Pre-conditions: Tester should know how to handle mobile phone and functioning of it. Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.

Dependencies:

SRS document Mobile phone manual

StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1 Check whether battery is placed in phone or not.

Mobile Phone, Battery

Battery should be placed in phone correctly.

Battery is inserted and Working.

Pass

2 Check whether SIM card is placed in phone or not.

Mobile Phone, SIM card

SIM card should be placed in phone correctly.

SIM card placed correctly and working.

Pass

3 Check whether mobile phone is staring or not.

Mobile Phone

After inserting battery and SIM card, mobile phone should start and display welcome screen.

Phone started successfully with welcome screen.

Pass

4. Check whether mobile phone is able to connect the network or not.

Mobile Phone,Required Network signal

Mobile phone should accept the network signal and show network status.

Mobile phone connected to mobile network and receiving signals.

Pass

5. Check that when Mobile Mobile phone should charge Phone charged Pass

Page 3: Mobile phone testing assignment

phone is working then inserting and removing charger do not cause any problem and proper message is displayed when charger is inserted in device.

phone, Charger and power supply.

its battery and appropriate message should be displayed.

Successfully.

6. Check that mobile does not consume battery excessively.

Mobile phone

The mobile phone should not consume battery excessively.

battery consumption Status checked.

Pass

7. Check that user can establish (dial) a call.

Mobile phoneContact no.,Network signal, balance amount

User should be able to dial contact no. by dialing different nos.(0 to 9) and make a call by pressing caller button(usually green coloured)

Contact no. dialed and call established.

Pass

8. Check that user can accept call .

Mobile phone,available network signal

Mobile phone should be able to play a ringtone and vibrate. User should be able to accept call by pressing call acceptance (green button).

Mobile phone ringed and vibrated.User accepted call successfully.

Pass

9. Check that user can reject the call.

Mobile Phone,available network signal

Mobile phone should be able to play a ringtone and vibrate. User should be able to reject call by pressing call rejection (red button).

Mobile phone ringed and vibrated.User rejected call successfully

Pass

10. Check that user can type a message

Mobile phone

User should be able to press all alpha-numeric keys.All alpha-numeric keys, enter and delete key should work properly.

All keys functioning properly.User can type message.

Page 4: Mobile phone testing assignment

11 Check that user can send a message

Mobile phone, available network signal, balance amount

After typing a message user should be able to send it by pressing send button.

Message sent successfully.

Pass

12 Check that user can receive a message

Mobile phone, available network signal

User should be able to receive a message and saved it to inbox.

Message received successfully.

Pass

13. Check whether balance amount available or not.

Mobile phone

User should be able to check balance amount from mobile service provider.

Balance amount checked successfully.

Pass

14. Check whether speakers and microphone working or not.

Mobile Phone

Speakers should function well so that user can listen to ringtone and songs.Microphone should be able tocapture audio signals for proper communication.

Speakers and microphone working properly.

Pass

15 Check whether images and songs saved to memory (either RAM or memory card) .

Mobile Phone.Memory Card(if necessary)

Images and songs should get saved into memory (i.e gallery) so that user can use, send and delete it.

Images and songs saved in memory.

Pass

Post-Condition: Mobile phone operates correctly.

Page 5: Mobile phone testing assignment

2. White Box Testing

Pre-conditions: Tester should have knowledge of the – internal coding about the software (e.g. programming language used.,etc) operating system used in phone how to handle mobile phone and functioning of it. Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.

Dependencies:

SRS document Mobile phone manual

StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1 Check whether operating system in phone installed properly or not.

Mobile Phone,emulator

Operating system (Android, windows, etc) should be installed correctly.

Operating system installed successfully.

Pass

2 Check the IMEI(International Mobile station Equipment Identity ) no.

Mobile Phone, network signal

(*In case user lost the phone, IMEI no. is used to block the usage of phone by notifying mobile company.)IMEI no. checked by dialing “*#06#” and notified to user.

IMEI no. checked and notified to user successfully.

Pass

3 Check whether security firewall or antivirus installed in mobile phone .

Mobile Phone, anti virus software

Tester should check whether security measures and antivirus software installation.Mobile phone should be free from viruses, malware, and worms.

Mobile phone tested to remove viruses, scanned and bugs are fixed.

Antivirus software installed.

Pass

Page 6: Mobile phone testing assignment

4. Check whether mobile phone is able to connect the network or not.

Mobile Phone,Required Network signal

Mobile phone should accept the network signal and show network status.

Mobile phone connected to mobile network and receiving signals.

Pass

5. Check that call should be made to valid contact no.(contact no. must be equal to 10 digits.)

Mobile Phone,Required Network signal

User should be able to make call to valid mobile no. only

Call made successfully to valid contact no.

pass

Post-Condition: Mobile phone functioning properly.

Page 7: Mobile phone testing assignment

LEVELS OF TESTING1. Functional Testing2. Non-Functional Testing

1. Functional Testing

1. Unit testing

Pre-conditions: Developer performs unit testing. Developer should know the source code of each unit. Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.

Dependencies:

Source code of each unit Mobile phone manual

In unit testing, developer should have to test different units of mobile phone. Mobile phone consists of following units-

1) Keypad 2) Messages 3)Contacts 4)Gallery 5) Play Music 6) Alarm 7) Settings Test cases required for testing each unit are as follows:StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1 Unit-KeypadCheck that whetherAll keys(alphabets A to Z ,a to z, 0 to 9, special symbols)Functional keys like space, enter(next line) key, delete key, calling

Mobile Phone

All keys(alphabets A to Z ,a to z, 0 to 9, special symbols)Functional keys like space, enter(next line) key, delete key, calling button(Green), call rejection button(red) should Work correctly.

All keys functioning properly.

Pass

Page 8: Mobile phone testing assignment

button(Green), call rejection button(red) Working correctly or not.

22.1

Unit-Messaging-Check that user can type a message.

Mobile phone

User should be able to press all alpha-numeric keys.All alpha-numeric keys, enter and delete key should work properly.

All keys functioning properly.User can type message.

Pass

2.2 Check that user can send a message.

Mobile phone, available network signal, balance amount

After typing a message user should be able to send it by pressing send button.

Message sent successfully.

pass

2.3 Check that user can receive a message.

Mobile phone, available network signal

User should be able to receive a message and saved it to inbox.

Message received successfully.

pass

3

3.1

Unit- Contacts And CallingCheck that user can establish (dial) a call.

Mobile phoneContact no.,Network signal, balance amount

User should be able to dial contact no. by dialing different nos.(0 to 9) and make a call by pressing caller button(usually green coloured)

Contact no. dialed and call established.

Pass

3.2 Check that user can accept call .

Mobile phone,available network signal

Mobile phone should be able to play a ringtone and vibrate. User should be able to accept call by pressing call acceptance (green button).

Mobile phone ringed and vibrated.User accepted call successfully.

Pass

Page 9: Mobile phone testing assignment

3.3 Check that user can reject the call.

Mobile Phone,available network signal

Mobile phone should be able to play a ringtone and vibrate. User should be able to reject call by pressing call rejection (red button).

Mobile phone ringed and vibrated.User rejected call successfully

Pass

3.4 Check that user canSave a contact no.

Mobile phoneContact no.,nameMemory.

User can enter contact no. by using keypad and should get saved into memory.

Contact saved successfully.

Pass

3.5 Check that user canmodify a contact no.

Mobile phoneContact no.,nameMemory.

User can enter new contact no. by using keypad and should get saved into memory.

Contact saved successfully.

Pass

3.6 Check that user candelete a contact no.

Mobile phoneContact no.,nameMemory.

User can enter contact name. by using keypad and should get deleted from memory.

Contact deleted successfully.

Pass

3.7 Check that user should not create duplicate contact.

Mobile phoneContact no.,nameMemory.

User should enter contact name by using keypad and if he enters duplicate name mobile should notify user and save that no. with alternate name.

Duplicate contact should not be made.Alternate contact name should be created.

Pass

3.8 Check whether speakers and microphone working or not.

Mobile Phone

Speakers should function well so that user can listen to ringtone ,callers voice and songs.Microphone should be able tocapture audio signals (i.e.receivers voice) for proper communication.

Speakers and microphone working properly.

Pass

Page 10: Mobile phone testing assignment

44.1

Unit-GalleryCheck whether images and songs saved to memory (either RAM or memory card) .

Mobile Phone.Memory Card(if necessary)

Images and songs should get saved into memory (i.e gallery) so that user can use, send and delete it.

Images and songs saved in memory.

Pass

5.5.1

Unit- Playing MusicCheck whether speakers working or not.

Mobile Phone

Speakers should function well so that user can listen songs.

Speakers working properly.

Pass

5.2 Check that user can select a desired song from mobile and play it.

Mobile Phone,Songs playlist

User should be able to select song from play list which is stored in memory and play that song.

Song played successfully.

Pass

5.3 Check that user can increase or decrease speaker volume.

Mobile phone.

User should be able to increase or decrese volume of speaker.

Volume increased and decreased successfully.

Pass

66.1

Unit- AlarmCheck that user can set alarm on required time or not.

Mobile phone.

User should be able to set alarm on required time,date with alarm notification tone and volume level

User can set alarm successfully.

Pass

6.2 Check that user can cancel alarm.

Mobile phone.

User should be able to cancel alarm. User can cancel alarm successfully.

Pass

77.1

Unit- SettingsCheck that user can set date and time.

Mobile phone.

User should be able to set requied time according to time zone and date

User can set datre and time successfully.

Pass

7.2 Check that user can set different profile

Mobile phone.

User should be able to set needed profile.

User can change profile

Pass

Page 11: Mobile phone testing assignment

Such as –Silent – ringtone volume set to zeroVibrate- phone will vibrate having low volume.General- phone will ring and vibrate .

successfully.

Post-Condition: All units of mobile phone are tested.

2.Integration testing

Pre-conditions: All units must be tested before integration testing. Developer should integrate all the units into a single system. Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.

Dependencies: Integrated system Mobile phone manual

StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1 Check that keypad works while typing a message

Mobile Phone User should be able to type a message by using different keys on keypad.

Message typed successfully.

Pass

2 Check that user can type a message while listening to song

Mobile Phone User should be able to type a message by using different keys on keypad while listening to songs.

Message typed successfully

Pass

Page 12: Mobile phone testing assignment

3 Check that user use a keypad while he is talking on call.

Mobile Phone User should be able to type while he is on call.

Call made successfully.

Pass

4 Check whether speakers and microphone working or not while calling.

Mobile Phone Speakers should function well so that user can listen to receivers voice.Microphone should be able tocapture audio signals(dialers voice ) for proper communication.

During callingspeakers and microphone working properly.

Pass

5 Check that while charging a phone user should be able to perform all phone functions(contacting,Messaging,playing songs,etc)

Mobile Phone,charger,Power supply

User should be able to access different functions of phone while charging it.

User can access phone while charging it.

Pass

6 Check that user can send images, audio,videos as MMS(Multi Media Message Service).

Mobile Phone User should be able to send songs and images.

User can sendImages and songs successfully

Pass

7. Check that alarm and phone timing working in synchronisation.

Mobile Phone Phone and alarm timing shoud work synchronise way.

Phone and alarm timing synchronised.

Pass

Post condition:All parts of system itegrated and tested.

3.System Testing.

Pre-conditions: Integration testing.

Page 13: Mobile phone testing assignment

All units should be integrated as one entire system. Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.

Dependencies:

Entire system SRS document Mobile phone manual

StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1 Check the mobile phone as entire system

Mobile phone, network signal

Different functions of mobile phone tested.

Phone functions successfully.

Pass

2 Check that user can dial and receive a call.

Mobile phone,network signal

user should be able to dial and receive a call.

Call made successfully.

Pass

3 Check that user can type ,send and receive a message.

Mobile phone,network signal

user should be able to type ,send and receive a message.

Message sent successfully.

Pass

4 Check that user can access images, play songs.

Mobile phone user should be able to access images, play songs.

user can access images, play songs successfully.

Pass

5 Check that user can set and cancel alarm on required time or not.

Mobile phone user should be able to set and cancel alarm on required time or not.

Alarm set or cancelled successfully.

Pass

Post condition: Mobile phone as a entire system is tested.

4.Regression Testing

Page 14: Mobile phone testing assignment

Pre-conditions: System testing. Changes like bug fixation or new version of software should be installed succesully. Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.

Dependencies:

Entire system SRS document Mobile phone manual

Page 15: Mobile phone testing assignment

StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1. Check that if operating system in phone is updated then it should be installed and work correctly.

Mobile phone

Updation successful and does not affect the working of other functions of phone.

Operating system installed successfully.

Pass

2. Check that if new feature (such as bluetooth, file sharing options, network accessibilty )added then it should not affect the working of other functions of phone.

Mobile phone

New feature added successfully and it does not affect the working of other functions of phone.

New feature added successfully

Pass

3 Check that if bug in phone is fixed, then it should not affect the working of other functions of phone.

Mobile phone

Bug fixed. Bug fixed. Pass

Post Condition: Changes like bug fixation or new version of software installed successfully and it is not affecting the functioning of mobile phone.

Page 16: Mobile phone testing assignment

5.Acceptance Testing

Pre-conditions: Regression testing has been performed. Implemented system should be developed as per user requirements and tested. Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.

Dependencies:

Entire system SRS document Mobile phone manual

Acceptance testing consists of 2 stages:

1.Alpha Testing : It will be performed amongst the teams (developer and QA teams). Unit testing, integration testing and system testing when combined are known as alpha testingStepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1. Check the spellings of words used in GUI of phone.

Mobile phone

Mobile phone should not contain spelling mistakes.

Pass

2. Check the response time required to access different phone functions.

Mobile phone

Response time of different functions of phone should be minimum.

Pass

2.Beta Testing : This test is performed after Alpha testing has been successfully performed. In beta testing a sample of the intended audience (users)tests the application.

Page 17: Mobile phone testing assignment

StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1 Users will install, run the application and send their feedback to the project team

Mobile phone

User should be able to use mobile phone and give feedback.

Pass

2. Check for system crash Mobile phone

Different conditions in which system can crash should be checked.

Pass

3 Check for implemented system meeting users requirement or not.

Mobile phone

User requirements should be fulfilled. Pass

4 User satisfaction and feedback.

Mobile phone

User should be satisfied with system Pass

Post condition : Alpha and beta testing has been performed.

NON-Functional Testing

Page 18: Mobile phone testing assignment

1. Performance Testinga. Load Testingb. Stress Testing

Pre-conditions: All requirements given by user should be implemented and tested. Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.

Dependencies: Entire system SRS document Mobile phone manual

StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1 Check network signals Mobile phone,Network signal

Phone should receive network signal. Pass

2 Check the accessibility of phone when memory is fully loaded with contacts, images and songs.

Mobile phone Phone should not get slow and functions well if memory get filled.

Pass

3. Check that how quality of call get affected with low network signals.

Mobile phone, network signal

Phone calling quality get affected by low network signal.

Pass

4 Check the effect of noise in calling process.

Mobile phonenetwork signal

Noise causes disturbance in call. Pass

5 Check that person can receive 1 call at a time and put others in

Mobile phonenetwork signal

User should receive 1 call at a timeand others in waiting condition

Pass

Page 19: Mobile phone testing assignment

waiting condition.

Post condition-

Load and stress testing has been performed.

2. Usability Testing

Pre-conditions: All requirements given by user should be implemented and tested. Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.

Dependencies: Entire system SRS document Mobile phone manual

StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1 Check that a good and user friendly GUI of phone is designed

Mobile phone User friendly GUI should be designed.

Pass

2 Check that user able to understand and use different functions of mobile phone.

Mobile phone, network signal

user should be able to understand and use different functions of mobile phone.

Pass

3 Check that user can dial and receive a call.

Mobile phone, network signal

user should be able to dial and receive a call.

Pass

4. Check that user can type, send and receive a message.

Mobile phone, network signal

user should be able to type ,send and receive a message.

Pass

5. Check that user can Mobile phone user should be able to access images, Pass

Page 20: Mobile phone testing assignment

access images, play songs.

play songs.

Post condition-Usability test has been performed.

3. Security Testing

Pre-conditions: Software should be designed and coded, keeping in mind security measures. System testing has been performed.

Dependencies: Entire system SRS document Mobile phone manual

StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1 Check whether security firewall or antivirus installed in mobile phone .

Mobile Phone, anti virus software

Tester should check whether security measures and antivirus software installation.Mobile phone should be free from viruses, malware, and worms.

Mobile phone tested to remove viruses, scanned and bugs are fixed.Antivirus software installed.

Pass

2 Check that Software is secure against known and unknown vulnerabilities.

Mobile phone

Software should be secure against known and unknown vulnerabilities.

Pass

Page 21: Mobile phone testing assignment

3 Check that Software data (such as contacts, messages, images and songs) is secure.

Mobile phone

Software data (such as contacts, messages, images and songs) should be kept secure.

Pass

4 Check that Software is according to all security regulations.

Mobile phone

Software should be developed according to all security regulations.

Pass

Post condition- Security test has been performed

4.Portability Testing

Pre-conditions: Software should be designed and coded, keeping in mind Portability Requirements. Unit testing has been performed on the associated components. Integration testing has been performed. Test environment has been established.

Dependencies:

Page 22: Mobile phone testing assignment

Entire system SRS document Mobile phone manual

StepNo.

Test Cases Test data Expected result Actual result Status(pass/fail)

1. Check that if new version or any new operating system installed in mobile phone then phone is working or not.

Mobile phone

Phone should support the new version of OS

Pass

2 Check that whether phone accessories (such as charger, headphones)Working or not.

Mobile phone

Phone should support all kind of accessories (such as charger, headphones).

Pass

3 Check that whether phone works in varying network signals.

Mobile phone

Phone should be able to work in varying network signals.

Pass

Post condition:Portability testing has been performed.

Page 23: Mobile phone testing assignment