17
40 CHAPTER 5 IMPLEMENTATION AND TESTING In this chapter, the author explains the minimum system specification both hardware and software. Then, testing result is shown by using unit testing table and screenshot of the application. 5.1 System Specification 5.1.1 Hardware The minimum devices requirements for running prototype of Hotel Service Mobile Applications are: iPhone 4 iPod Touch 4 th generation iPad 3 rd generation This is the list of hardware that is used during the development and testing: MacBook Pro 15’ iMac 17’ iPad Mini 5.1.2 Software The minimum software requirements for running prototype of Hotel Service Mobile Applications are: iOS 7 This software is used during the development and testing: Mac OS X Mavericks 10.9 Xcode 5.1 Visual Studio 2013 with WEB API SQL Server Express iPad mini 2 iOS 7

5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

  40  

CHAPTER 5

IMPLEMENTATION AND TESTING

In this chapter, the author explains the minimum system specification both hardware

and software. Then, testing result is shown by using unit testing table and screenshot

of the application.

5.1 System Specification

5.1.1 Hardware

The minimum devices requirements for running prototype of Hotel Service Mobile

Applications are:

• iPhone 4

• iPod Touch 4th generation

• iPad 3rd generation

This is the list of hardware that is used during the development and testing:

• MacBook Pro 15’

• iMac 17’

• iPad Mini

5.1.2 Software

The minimum software requirements for running prototype of Hotel Service Mobile

Applications are:

• iOS 7

This software is used during the development and testing:

• Mac OS X Mavericks 10.9

• Xcode 5.1

• Visual Studio 2013 with WEB API

• SQL Server Express

• iPad mini 2 iOS 7

Page 2: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

41  

5.2 Operational Procedure For running hotel services mobile application, make sure you have already registered

as Apple Developer ($99/year). You may run this application without developer

licence but the around us will not fully work.

1. Download and Install Xcode

2. Make sure iPad Simulator is also installed.

3. Open the Hotel Service Project

4. Set debugging device either simulator or your real device.

5. Run the project.

5.3 Testing Testing is a process of making sure that the application is working properly.

5.3.1 Unit Testing

All process or functionalities in the system are tested using an approach called Unit

Testing.

Table 5.1 Unit Testing - Start the Application

Test Case ID UNT - 01

Test Case Name Start the Application

Test Case Description Test for ensuring that the application can start properly

and display the correct view

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

Privilege User

Steps 1. Touch “Hotel Service Application” on iOS simulator

or device.

2. Wait until the view is displayed

Expected Result The application displays the home page or login page.

Status Pass

Page 3: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

42  

Table 5.2 Unit Testing – Login with valid username and password

Test Case ID UNT - 02

Test Case Name Login

Test Case Description Test for ensuring the login process with valid username

and password is handled properly.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. The simulator or device has Internet connection

Privilege User

Steps 1. Input username and password in the login page.

2. Press “Login”

Expected Result Navigate to Home Page

Status Pass

Table 5.3 Unit Testing - Login with invalid username and password combination

Test Case ID UNT - 03

Test Case Name Login with invalid username and password combination

Test Case Description Test for ensuring the login process with invalid username

and password is handled properly.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. The simulator or device has Internet connection

Privilege User

Steps 1. Input wrong username and password in the login page.

2. Press “Login”

Expected Result The system displays “Login Failed” warning

Status Pass

Page 4: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

43  

Table 5.4 Unit Testing Login with empty username or password

Test Case ID UNT - 04

Test Case Name Login with empty username or password

Test Case Description Test for ensuring the login process with empty username

or password is handled properly.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. The simulator or device has Internet connection

Privilege User

Steps 1.Input username and keep the password field is empty

2. Touch “Login” button

Expected Result The system displays “Please enter your username and

password”

Status Pass

Table 5.5 - Display Map

Test Case ID UNT - 05

Test Case Name Display Map

Test Case Description Test for ensuring the map is displayed properly with

user’s current location

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. The simulator or device has Internet connection

4. User has logged in to the system

Privilege User

Steps 1. Open Drawer

2. Choose “Around Us” option

Expected Result The map with current location is displayed.

Status Pass

Page 5: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

44  

Table 5.6 – Search Nearby Places

Test Case ID UNT - 06

Test Case Name Search Nearby Places

Test Case Description Test for ensuring the searching or browsing process runs

well.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. The simulator or device has Internet connection

4. User has logged in to the system

5.User successfully loads the Map

Privilege User

Steps 1. Click “Search” Button in “Around Us” Navigation Bar

2. Choose one of the options

Expected Result Shows several places with annotation

Status Pass

Table 5.7 – Search Nearby Places without Internet Connection

Test Case ID UNT - 07

Test Case Name Search Nearby Places without Internet Connection

Test Case Description Test for ensuring the searching or browsing process

without internet connection is handled properly.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. User has logged in to the system

4. User successfully loads the Map

Privilege User

Steps 1. Click “Search” Button in “Around Us” Navigation Bar

2. Choose one of the options

Expected Result The system shows “Error” warning

Status Pass

Page 6: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

45  

Table 5.8 – View Hotel’s Facilities

Test Case ID UNT - 08

Test Case Name View Hotel’s Facilities

Test Case Description Test for ensuring the system can display the facilities list.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. The simulator or device has Internet connection

4. User has logged in to the system

Privilege User

Steps 1. Open Drawer

2. Choose “Facilities” option

Expected Result The application displays the facilities list and its details.

Status Pass

Table 5.9 – View Hotel’s Facilities without Internet Connection

Test Case ID UNT - 09

Test Case Name View Hotel’s Facilities without Internet Connection

Test Case Description Test for ensuring the system can display the facilities list

without internet connection.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. User has logged in to the system

Privilege User

Steps 1. Open Drawer

2. Choose “Facilities” option

Expected Result The application keep displays the facilities list and its

details.

Status Pass

Page 7: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

46  

Table 5.10 – View Hotel’s Menu

Test Case ID UNT – 10

Test Case Name View Hotel’s Menu

Test Case Description Test for ensuring the system can display the menu list.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. The simulator or device has Internet connection

4. User has logged in to the system

Privilege User

Steps 1. Open Drawer

2. Choose “Menu” option

Expected Result The application displays the food and beverage list and

its details.

Status Pass

Table 5.11 – View Hotel’s Menu without Internet Connection

Test Case ID UNT - 11

Test Case Name View Hotel’s Menu without Internet Connection

Test Case Description Test for ensuring the system can display the menu list

without internet connection.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. The simulator or device has Internet connection

4. User has logged in to the system

Privilege User

Steps 1. Open Drawer

2. Choose “Menu” option

Expected Result The application keep displays the food and beverage list

and its details.

Status Pass

Page 8: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

47  

Table 5.12 – Order Food and Beverages

Test Case ID UNT - 12

Test Case Name Order Food and Beverages

Test Case Description Test for ensuring the system can order food from the

menu list.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. The simulator or device has Internet connection

4. User has logged in to the system

5. Application successfully displays the Menu

Privilege User

Steps 1. Click “Order” Button from “Menu” Page

Expected Result The system displays the result.

Status Pass

Table 5.13 – Request Hotel Service

Test Case ID UNT - 08

Test Case Name Request Hotel Service

Test Case Description Test for ensuring the system can handle request from

available option.

Pre-condition 1. Server is running properly

2. iOS Simulator with hotel service application

3. The simulator or device has Internet connection

4. User has logged in to the system

5.The Application displays the Hotel Service Page

Privilege User

Steps 1. Click Available Service Button from M-Receptionist

Page

Expected Result The system displays the result.

Status Pass

Page 9: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

48  

5.4  User  Acceptance  Testing    

User Acceptance Testing (UAT) is a test, which is executed by a set of

testers, in order to make sure that the system is able to perform well in real world

scenarios. Testers examine the system and fill the survey given by the author.

In this research, the User Application Testing is implemented for a week on

July 2014. 10 random individuals from random age range are selected to perform this

test.

Table 5.14 – User Acceptance Testing – Respondent’s Age

Respondent 1 2 3 4 5 6 7 8 9 10

Age 22 24 21 25 31 27 22 30 22 25

Figure 5.1 – User Acceptance Testing – Respondent’s Gender

Figure 5.2 – User Acceptance Testing – Respondent’s Occupation

Page 10: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

49  

The first three questions are inquired to know the respondents data including

age, occupation and age. This data can be used as the target market of the

applications. Based on the result from Figure 5.1, Figure 5.2, and Figure 5.3, it can

be concluded that the respondents are 7 males and 3 females, with age range 21-31.

Their occupations are university student, employee and 2 businessmen.

Next question is about the perfomance of the features.

Table 5.15 – User Acceptance Testing – Features Work

Do these features work well?

Yes No

Sign Up 10 0

Sign In 10 0

Display Map 10 0

Browse Places 10 0

Show Hotel’s Facilities 10 0

Show Hotel’s Menu 10 0

Order Food 10 0

Checkout Request 10 0

Laundry Request 10 0

Share to Social Media 10 0

As shown in table 5.13, all features can work well. The next part of the

survey is asking how often the requests are asked while staying a night in hotel, the

effectivity and the user-friendliness of this application.

Page 11: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

50  

Figure 5.3 – User Acceptance Testing – Requests Frequency

Figure 5.4 – User Acceptance Testing – User Friendly

Page 12: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

51  

Figure 5.5 – User Acceptance Testing – Application Effectiveness

Based on Figure 5.3, Checkout Request and Order food are very often

requested by the respondents. These features are followed by laundry request and see

hotel’s facilities as the second most often request asked by the respondents. Figure

5.4 show that the respondents also consider this application as user-friendly

application. The last testing is about the effectivenes of the application and 100%

respondents agree that this application is effective enough to substitute the existing

way.

Page 13: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

52  

5.5 Prototype Screenshot

5.5.1 Login Page  

Figure 5.5 – Prototype Screenshot – Login Page

Figure 5.5 is a screenshot for login page that will be launched for the first

time if the user is not logged in. If the user is already logged in, the application will

directly launch to the home view. In this page, user should input the given username

and password. Some validations are prepared for username and password.

Page 14: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

53  

5.5.2 Drawer Options

Figure 5.6 – Prototype Screenshot – Drawer Options

Drawer options view, as shown in the Figure 5.6, gives the main menu of the

applications. The use can choose 6 options from this options, which are: M-

Receptionist, Our Facilities, Menu, Look Around, About and Logout.

5.5.3 Map View

Figure 5.7 – Prototype Screenshot – Map Options

After user clicking “Look Around” from drawer, user can search the

categories of the landmark or places by touching the right button in the navigation

Page 15: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

54  

bar. Figure 5.7 shows the view after user clicking the button. The available options

will appear, they are Café, Bank, ATM, Hospital, and Church. Then, the annotation

of places will show up in the map.

Figure 5.8 – Prototype Screenshot – Map View

Figure 5.8 shows the results of users options. The places are shown with red

pins on the map. User can click the red pins to get more information about the

selected pins.

Page 16: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

55  

5.5.4 Menu List and Detail

Figure 5.9 – Prototype Screenshot – Menu List and Detail

In order to order food or beverages, the user should select the “Menu” from

drawer and the view of menu will appear as shown in the Figure 5.9.The user can

also search the food easily and every selected food’s details will be shown in the

right panel of the view.

Figure 5.10 – Prototype Screenshot – Menu Order

After selecting the foods or beverages (Figure 5.9), the user can directly order

them in this mobile application. The user should push Order Button and it is

Page 17: 5.1 System Specification - Binus Library 5... · 2014. 9. 22. · 5. Run the project. 5.3 Testing Testing is a process of making sure that the application is working properly. 5.3.1

 

 

56  

automatically ordering 1 portion of food or beverage. After the process of uploading

data to the database has finished, the pop up notification will appear. See Figure

5.10.

5.5.5 Facilities List and Details

Figure 5.11 – Prototype Screenshot – Facilities List and Details

In order to see the hotel’s facilities, the user should select the “Menu” from

drawer and the view of menu will appear as shown in the Figure 5.11. Every selected

facilities’ details will be shown in the right panel of the view.