Test
Description
|
- Disconnect the device from a power source, so take out the
power plug.
- (Re)start Light and Power.
- Check that the power source is set to "Battery"
- Select "Battery" as the On power source (if not done
already).
- Check that the Suspend after checkbox is disabled.
This forces the unit to turn off after the time period specified to
avoid running the battery low.
- Ensure that the checkboxes for "Dim light after" and "Light off after" are checked.
- Enter the following values: Dim light after: 20 seconds, Light off after: 30 seconds, Suspend after: 40 seconds. Click OK.
- Observe the screen and verify that the light dims after 20
secs, dims again after another 30 secs and that the device is suspended
after another 40 seconds (e.g. after 90 seconds in total).
- Restart Light and Power.
- Verify that the last entered settings (e.g. 20, 30, 40,
etc) are shown in the application.
- Enter the following values: Dim light after: 10 seconds, Light off after: 10 seconds, Suspend after: 10 seconds. Click OK.
- Observe the screen and verify that the light dims after 10
secs, dims again after another 10 secs and that the device is suspended
after another 10 seconds (e.g. after 30 seconds in total).
- Restart Light and Power.
- Verify that the last entered settings (e.g. 10, 10, 10,
etc) are shown in the application.
- Ensure that the checkboxe for "Dim light after" is checked and "Light off after" is unchecked. Click
OK.
- Observe the screen and verify that the light dims after 10
secs and that the device is suspended after another 10 seconds (e.g.
after 20 seconds in total).
- Restart Light and Power.
- Ensure that the checkboxe for "Dim light after" is unchecked and "Light off after" is checked. Click
OK.
- Observe the screen and verify that the light goes off after
10 secs and that the device is suspended after another 10 seconds (e.g.
after 20 seconds in total).
- Connect the device to a power source again, so insert the
power plug.
- Restart Light and Power.
- Check that the power source has been set to "external"
automatically.
- Select "External" as the On power source (if not
done already).
- Check that the Suspend after checkbox is enabled.
- Uncheck the Suspend after
checkbox
- Enter the following values: Dim light after: 20 seconds, Light off after: 30 seconds. Click
OK.
- Observe the screen and verify that the light dims after 20
secs and dims again after another 30 secs.
- Restart Light and Power.
- Verify that the last entered settings (e.g. 20, 30, etc)
are shown in the application.
- Switch for a moment to Battery power source to verify that
those settings still are 10, 10, 10,...
- Go back to the External power source mode.
- Enter the following values: Dim light after: 10 seconds, Light off after: 10 seconds. Click
OK.
- Observe the screen and verify that the light dims after 10
secs and dims again after another 10 secs.
Note. We assume that the remaining functionality also works for
external power if it works properly for battery power. Hence the shorter
test. |