View on GitHub

main

Must Do List ( Task Scheduler Application )

Manual Testing

Setting Up

  1. Ensure you have Java version 1.8.0_60 or later installed in your Computer.

    Having any Java 8 version is not enough.
    This app will not work with earlier versions of Java 8.

  2. Download the latest MustDoList.jar from the Releases & SampleData.xml from Here

  3. Save both files to the same folder you want to use as the home folder for your MustDoList.

  4. Double-click the MustDoList.jar to start the app. The GUI should appear in a few seconds.

  5. Type the command in the command box and press Enter to execute it.
    e.g. typing help and pressing Enter will open the help window. If you need help understanding our UI, checkout our UI Quick Guide

  6. To import the SampleData.xml, type “import FILE_LOCATION” e.g. import SampleData.xml if in same location as .jar file e.g. import C:\V0.5\data\SampleData.xml else specify the file location

  7. The application will then restart, loaded with the SampleData.xml
    and using SampleData.xml file as default storage.

  8. If error occur when importing, you can still run the SampleData.xml by renaming it to taskscheduler.xml and putting it in a subfolder “data”.

[Return to Top]

UI Quick Guide








[Return to Top]


Get Started

Steps to perform manul testing :

The instructions will be in this format

Command : The command to type and press enter
Show :
Visual changes
Result :
Result in result display

The instructions will be accompanied by an undo command

To demostrate that all our commands (except for help, exit and import command) can be undo

[Return to Top]


Adding tasks

Command : add SoC Event from 9 am to 12 pm at COM1-Level 2
Show :
Highlights the task added in task list
Pending task count increase by 1
Result :
New task added: SoC Event [TODAY'S DATE, DAY] 09:00 AM [TODAY'S DATE, DAY] 12:00 PM COM1-Level 2

Command : undo
Show :
Goes back to original
Result :
Revert add command:
SoC Event [TODAY'S DATE, DAY] 09:00 AM [TODAY'S DATE, DAY] 12:00 PM COM1-Level 2

Command : add submit CS2103 manual scripted testing by 7 Nov 23:59
Show :
Highlights the task added in task list
Pending task count increase by 1
Result :
New task added: submit CS2103 manual scripted testing 07-Nov-2016, Mon 11:59 PM

Command : undo
Show :
Goes back to original
Result :
Revert add command:
submit CS2103 manual scripted testing 07-Nov-2016, Mon 11:59 PM

Command : add browse for new phone
Show :
Highlights the task added in task list
Pending task count increase by 1
Result :
New task added: browse for new phone

Command : undo
Show :
Goes back to original
Result :
Revert add command:
browse for new phone

[Return to Top]


Find tasks

Command : find event
Show :
Pending list and Task list will show the tasks matching the description
Statistics update - should show 9 Completed, 16 Pending. Overdue is dependant on the date of testing
Result :
25 tasks listed!

Command : undo
Result : Goes back to original
Show :
Listed all tasks

Command : find MA1506
Show :
Pending list and Task list will show the tasks matching the description
Statistics update - should show 2 Completed, 3 Pending. Overdue is dependant on the date of testing
Result :
5 tasks listed!

Command : undo
Show :
Goes back to original
Result :
Listed all tasks

Command : find floating
Show :
Pending list and Task list will show the tasks matching the description
Statistics update - should show 0 Completed, 15 Pending, 0 Overdue
Result :
15 tasks listed!

[Return to Top]

List tasks

Command : list
Show :
Pending list and Task list will show all the tasks
Statistics update - should show 9 Completed, 41 Pending. Overdue is dependant on the date of testing
Result :
Listed all tasks

[Return to Top]


Delete tasks

Command : delete 1
Show :
No. 1 Task removed from Task list
Completed task count decrease by 1
Result :
Deleted Task: EE2021 Lecture 19-Oct-2016, Wed 12:00 PM 19-Oct-2016, Wed 02:00 PM E3

Command : undo
Show :
Goes back to original
Highlights the No. 1 Task
Result :
Revert delete command:
EE2021 Lecture 19-Oct-2016, Wed 12:00 PM 19-Oct-2016, Wed 02:00 PM E3

Command : delete 6
Show :
Pending task count decrease by 1
No. 6 Task removed from Task and Pending list
CS2103 tag removed from Tag list
Result :
Deleted Task: V0.5rc dogfooding 21-Oct-2016, Fri 04-Nov-2016, Fri anywhere

Command : undo
Show :
CS2103 tag added back to tag list
Deleted task added back to Task and Pending list
Highlights the No. 6 Task
Result :
Revert delete command:
V0.5rc dogfooding 21-Oct-2016, Fri 04-Nov-2016, Fri anywhere`

[Return to Top]


Clear tasks

Command : clear
Show :
Completed, Pending, Overdue task count goes to 0
All tasks removed from Task and Pending list
All tags removed from Tag list
Result :
Task scheduler has been cleared!

Command : undo
Show :
Goes back to original
Result :
Revert clear command:
EE2021 Lecture 19-Oct-2016, Wed 12:00 PM 19-Oct-2016, Wed 02:00 PM E3
...
...
...
All the tasks that was deleted

[Return to Top]


Edit tasks

Command : edit 6 V0.5 dogfooding by 7 Nov at everywhere
Show :
Highlights the editted task in task list
Task's name changes to V0.5 dogfooding
Task's due date changes to 07-Nov-2016, Mon
Task's address changes to everywhere
Result :
Task editted: V0.5rc dogfooding 21-Oct-2016, Fri 04-Nov-2016, Fri anywhere
Display the task details before edit for comparison

Command : undo
Show :
Goes back to original
Highlights the No.6 task
Result :
Revert edit command:
V0.5 dogfooding 21-Oct-2016, Fri 07-Nov-2016, Mon everywhere

Command : edit at everywhere
Show :
Highlights the No.6 task
No.6 task's location changes to everywhere
Result :
Task editted: V0.5rc dogfooding 21-Oct-2016, Fri 04-Nov-2016, Fri anywhere
Display the task details before edit for comparison

Command : undo
Show :
Goes back to original
Highlights the No.6 task
Result :
Revert edit command:
V0.5 dogfooding 21-Oct-2016, Fri 07-Nov-2016, Mon everywhere

[Return to Top]


Replace tasks

Command : replace 1 EE2021 Exam on 29-Nov 9 am
Show :
Highlights the new task
New task only contains name and due date
Adds the new task to pending list
Pending task count increase by 1
Completed task count decrease by 1
Result :
Task replaced: EE2021 Lecture 19-Oct-2016, Wed 12:00 PM 19-Oct-2016, Wed 02:00 PM E3
Display the task details before replace for comparison

Command : undo
Show :
Goes back to original
Highlights the No. 1 Task
Result :
Revert replace command:
EE2021 Exam 29-Nov-2016, Tue 09:00 AM

[Return to Top]


Mark tasks

Command : mark 6
Show :
Highlights the No. 6 task
Star changes from Red to Green (Overdue to Completed)
Removes the task from pending list
Pending task count decrease by 1
Overdue task count decrease by 1
Completed task count increase by 1
Result :
Completed Task: V0.5rc dogfooding 21-Oct-2016, Fri 04-Nov-2016, Fri anywhere

Command : undo
Show :
Goes back to original
Highlights the No. 6 Task
Result :
Revert mark command:
V0.5rc dogfooding 21-Oct-2016, Fri 04-Nov-2016, Fri anywhere

Command : mark 1
Show :
Nothing happens
Result :
This task is already completed.

[Return to Top]


Unmark tasks

Command : unmark 3
Show :
Highlights the No. 3 task
Star changes from Green to Red (Completed to Overdue)
Adds the task to pending list
Pending task count increase by 1
Overdue task count increase by 1
Completed task count decrease by 1
Result :
Un-Completed Task: CS2103 Project 21-Oct-2016, Fri 09:00 AM 21-Oct-2016, Fri 10:00 AM COM1-B103

Command : undo
Show :
Goes back to original
Highlights the No. 3 Task
Result :
Revert unmark command:
CS2103 Project 21-Oct-2016, Fri 09:00 AM 21-Oct-2016, Fri 10:00 AM COM1-B103

Command : unmark 1
Show :
Nothing happens
Result :
This task is not completed.

[Return to Top]


Recur tasks

Command : add weekly community service from 1st december at 2pm to 1st december at 4pm at community hub
Show :
Highlights the task added in task list
Pending task count increase by 1
Result :
New task added: weekly community service 01-Dec-2016, Thu 02:00 PM 01-Dec-2016, Thu 04:00 PM community hub

Command : recur every 1 week until 3 weeks from 1st december
Show :
Highlights the last recur task added in task list
Pending task count increase by 3
Result :
Recur task added:
weekly community service 08-Dec-2016, Thu 02:00 PM 08-Dec-2016, Thu 04:00 PM community hub
weekly community service 15-Dec-2016, Thu 02:00 PM 15-Dec-2016, Thu 04:00 PM community hub
weekly community service 22-Dec-2016, Thu 02:00 PM 22-Dec-2016, Thu 04:00 PM community hub

Command : undo
Show :
Goes back to original
Result :
Revert recur command:
weekly community service 08-Dec-2016, Thu 02:00 PM 08-Dec-2016, Thu 04:00 PM community hub
weekly community service 15-Dec-2016, Thu 02:00 PM 15-Dec-2016, Thu 04:00 PM community hub
weekly community service 22-Dec-2016, Thu 02:00 PM 22-Dec-2016, Thu 04:00 PM community hub

Command : recur 34 every 2 week until 3 weeks from 1st december
Show :
Highlights the last recur task added in task list
Pending task count increase by 1
Result :
Recur task added:
weekly community service 15-Dec-2016, Thu 02:00 PM 15-Dec-2016, Thu 04:00 PM community hub

Command : undo
Show :
Goes back to original
Result :
Revert recur command:
weekly community service 15-Dec-2016, Thu 02:00 PM 15-Dec-2016, Thu 04:00 PM community hub

[Return to Top]


Select tasks

Command : select 1
Show :
Highlights the No.1 task in task list
"add EE2021 Lecture from 19-Oct-2016, Wed 12:00 PM to 19-Oct-2016, Wed 02:00 PM at E3" appears in command box
Result :
Selected Task: 1

Command : select 50
Show :
Highlights the No.50 task in task list
"add Buy christmas presents online" appears in command box
Result :
Selected Task: 50

[Return to Top]


Undo commands

Success Tested along with other commands

No previous command scenario

Command : undo
Show :
Nothing happens
Result :
There is no previous command to undo!

[Return to Top]


Tag tasks

Command : tag 50 Christmas Online
Show :
Highlights the No.50 task in task list
Task 50 now have additional "Online" tag
"Online" tag added to tag list
Result :
Tags: Buy christmas presents online

Command : undo
Show :
Goes back to original
Highlights the No.50 task in task list
Result :
Revert tag command:
Buy christmas presents online

[Return to Top]


Import data

Success Tested during setting up

File not found scenario

Command : import sample.xml
Show :
Nothing happens
Result :
File not found: sample.xml
import: valid file to Task Scheduler. Parameters: <filename>
Example: import TaskSchedulerData

[Return to Top]


Export data

Command : export new file.xml
Show :
new file.xml created in the same directory as jar file
new file.xml contains all data
Result :
Successfully Exported data to: new file.xml

Command : export C:\Dropbox\share file.xml
Show :
share file.xml created in the C:\Dropbox folder
share file.xml contains all data
Result :
Successfully Exported data to: C:\Dropbox\share file.xml

[Return to Top]


Shift data location

Command : setpath C:\Dropbox\new share file.xml
Show :
Rename and shift the data file to C:\Dropbox folder
System now use the new share file.xml as default data file

Result :
File path changed: C:\Dropbox\new share file.xml

Command : undo
Show :
Rename and shift the data file back to old location
Goes back to original

Result :
File path changed: C:\Dropbox\new share file.xml

[Return to Top]


Help window

Command : Ctrl + F1
Show :
Help window opens
Shows online user guide (requires internet connection)
Result :
Opened help window.

Command : help
Show :
Help window opens
Shows online user guide (requires internet connection)
Result :
Opened help window.

[Return to Top]


Command Box

Command : Ctrl + 4
Show :
Focus command box

Command : Up
Show :
Command Box shows previous entered commands

Command : Down
Show :
Command Box shows next entered commands

[Return to Top]


Tag List

Command : Ctrl + 1
Show :
Focus tag list

Command : Down
Show :
Highlights the next tag
Pending and Task list shows only task with the highlighted tag

Command : Up
Show :
Highlights the previous tag
Pending and Task list shows only task with the highlighted tag

[Return to Top]


Pending List

Command : Ctrl + 2
Show :
Focus pending list

Command : Up / Down
Show :
Scrolling through the pending list


Task List

Command : Ctrl + 3
Show :
Focus task list

Command : Up / Down
Show :
Scrolling through the task list

[Return to Top]


Exit the program

Command : exit
Show :
Application close

[Return to Top]


Command Summary

[Return to Top]