Exceptional 1 The mobile device is out of Course of available space. Action 2 Display an error message that the device does not have enough space. Table 21: Use Case Description Identifier UC-11-2: User loads an existing survey from the mobile device. Pre-conditions The system shows the application homepage. Post-conditions Survey answers and questions are retrieved from storage of the mobile device and the system shows a question page. Typical Course Actor Input System Response of Action 1 User clicks the load survey button in homepage 2 Load and continue a survey from record file in app storage. Jump to question category page. 1 is no existing survey Exceptional Course of saved in the device. Action 2 Display an error message that no saved survey is found. 22: Use Case Description Identifier UC-12-1: User submits a survey. Pre-conditions The system shows a function menu in question or category page. Post-conditions The survey answers are submitted to the server and inserted into the database. Typical Course Actor Input System Response of Action 1 User clicks the submit button in function menu 2 Check whether all the questions are answered. If so, send the answer to the server. The server inserts the answer into the database. Exceptional 1 If some of the answers are Course of unanswered, prompt a message that finish the survey Action first and then try again.
Exceptional Course of Action 1 The mobile device is out of available space. 2 Display an error message that the device does not have enough space. Table 21: Use Case Description Identifier UC-11-2: User loads an existing survey from the mobile device. Pre-conditions The system shows the application homepage. Post-conditions Survey answers and questions are retrieved from storage of the mobile device and the system shows a question page. Typical Course of Action Actor Input System Response 1 User clicks the load survey button in homepage 2 Load and continue a survey from record file in app storage. Jump to question category page. Exceptional Course of Action 1 is no existing survey saved in the device. 2 Display an error message that no saved survey is found. 22: Use Case Description Identifier UC-12-1: User submits a survey. Pre-conditions The system shows a function menu in question or category page. Post-conditions The survey answers are submitted to the server and inserted into the database. Typical Course of Action Actor Input System Response 1 User clicks the submit button in function menu 2 Check whether all the questions are answered. If so, send the answer to the server. The server inserts the answer into the database. Exceptional Course of Action 1 If some of the answers are unanswered, prompt a message that finish the survey first and then try again.