# Qtopia/Clock

## Test cases

### Basic Clock

Test Purpose | Verify that the basic clock functionality works as expected.

Test Description

1. Start the clock.
2. Confirm that the Clock tab is displayed.
3. Check that the time displayed on the analog clock matches the device system time.
4. Check that the time displayed on the digital clock matches the device system time.
5. Check that the date displayed matches the device system date.

Expected TestResult | All the verification steps as described in the Test Description must be met.
Testnorm/Criteria | Exact Match
Test Suitability | Manual test

### Stopwatch

Test Purpose | Verify that the clock app can be used as a stopwatch.

Test Description

1. Click on the Stopwatch tab.
2. Confirm that the stopwatch reads 00:00:00.00 and that the analog hands indicate 00:00.
3. Press the Start button and confirm that the analog and digital timers count up (resolution 1 sec).
4. Press the Stop button and confirm that the timers have stopped. The digital timer should show 1/100 sec resolution.
5. Press the Reset button and confirm that the stopwatch reads 00:00:00.00 and that the analog hands indicate 00:00.
6. Press the Start button and wait 3 seconds.
7. Press the Lap/Split button and wait 3 seconds again.
8. Press Stop.
9. Verify that the lap counter reads 3.
10. Use the decrement button in front of the lap counter to select lap 1.
11. Verify that the Split value reads a value of approx 3 seconds and the Lap value is the same.
12. Use the increment button in front of the lap counter to select lap 2.
13. Verify that the Split value reads a value of approx 6 seconds (2 laps total) and the Lap value again is approx 3 seconds.
14. Use the increment button to select lap 3.
15. Verify that the Split value reads a value of approx 9 seconds (3 laps total) and the Lap value is approx 3 seconds.
16. Verify that no other laps can be selected using the incr/decr buttons that 1, 2 or 3.
17. Tap the Reset button.
18. Verify that all values are reset to 0, the lap counter is reset to 1 and the incr/decr buttons are disabled.

Expected TestResult | All the verification steps as described in the Test Description must be met.
Testnorm/Criteria | Exact Match, but the actual values for the Lap and Split readouts depend on the timing of the tester.
Test Suitability | Manual test

### Daily alarm

Test Purpose | Verify that a daily alarm can be set.

Test Description

1. Click on the Alarms tab.
2. Set the alarm time 1-5 minutes in the future and check the Enabled box.
3. Confirm that when the alarm time is reached the alarm sounds and a message box is displayed with the alarm details.
4. Set the alarm time 1-5 minutes in the future and uncheck the Enabled box.
5. Confirm that when the alarm time is reached no alarm is sounded.
6. Set the alarm time 1-5 minutes in the future, check Enabled, and close the clock application.
7. Confirm that when the alarm time is reached the alarm sounds and a message box is displayed with the alarm details.

Expected TestResult | All the verification steps as described in the Test Description must be met.
Testnorm/Criteria | Exact Match
Test Suitability | Manual test