diff options
Diffstat (limited to 'tests/systemtests/sys_crsysteminfo/sys_crsysteminfo.qtt')
-rw-r--r-- | tests/systemtests/sys_crsysteminfo/sys_crsysteminfo.qtt | 136 |
1 files changed, 79 insertions, 57 deletions
diff --git a/tests/systemtests/sys_crsysteminfo/sys_crsysteminfo.qtt b/tests/systemtests/sys_crsysteminfo/sys_crsysteminfo.qtt index dda65a297d..a55954fa7e 100644 --- a/tests/systemtests/sys_crsysteminfo/sys_crsysteminfo.qtt +++ b/tests/systemtests/sys_crsysteminfo/sys_crsysteminfo.qtt @@ -45,77 +45,99 @@ testcase = { Configurable_Signal_Strength: function() { - skip('Configurable Signal Strength not implemented yet', SkipAll); + // Test meta data + testApplication = "System Info - Configurable Signal Strength"; + testBinary = ""; + testGoal = "Verify that "; + testPreconditions = "None"; + testGroups = "BAT"; + + // Test steps + skip('Configurable Signal Strength not implemented yet', SkipAll); }, Storage_changed_notification: function() { - prompt(twiki('*Storage changed notification* + // Test meta data + testApplication = "System Info - Storage Changed Notification"; + testBinary = "examples/qsysinfo"; + testGoal = "Verify that the system detects changes to storage media correctly and sends notifications"; + testPreconditions = " 1. target supports removable storage, if not then pass this test<br> + 1. Ensure that target system does not have any removable storage inserted/mounted<br> + *Note:* On S60 platforms removing a media might cause qsysinfo to be closed, which is usual"; + testGroups = "BAT"; + + // Test steps + prompt(twiki("---+++ " + testApplication + "<br><br> + *Goal:* " + testGoal + "<br> + *Tested Binary:* " + testBinary + "<br> + *Pre-Requisites:* " + testPreconditions + "<br> - 1 Verify that target supports removable storage, if not then pass this test now otherwise continue with the next steps - 1 Ensure that target system does not have any removable storage inserted/mounted - 1 Start application *examples/qsysinfo* - 1 Switch to the *Storage* tab - 1 Verify that the removable storage status is unavailable - 1 Insert/mount the storage - 1 Verify that the storage appears with correct size - 1 Remove/unmount the removable media - 1 Verify that the storage disappears or marked unavailable - 1 *Note:* On S60 platforms removing a media might cause qsysinfo to be closed, which is usual - ')); + | *Step* | *Verification* | + | Start " + testBinary + " | App starts correctly | + | Switch to the *Storage* tab | Verify that the removable storage status is unavailable | + | Insert/mount the storage | Verify that the storage appears with correct size | + | Remove/unmount the removable media | Verify that the storage disappears or marked unavailable | + ")); }, Query_OS_Qt_firmware_versions: function() { - prompt(twiki('*Query OS, Qt and firmware versions* + // Test meta data + testApplication = "System Info - OS Qt Firmware Version"; + testBinary = "BlueWheel/SystemInfo"; + testGoal = "Verify that OS, Qt and Firmware versions numbers can be read"; + testPreconditions = "None"; + testGroups = "BAT"; - 1 Start the bluewheel application and open *SystemInfo* - 1 Open *General/Features* - 1 From the *Version* pulldown menu select *Os* - 1 Verify the Os version is what is expected for the platform - 1 From the *Version* pulldown menu select *QtCore* - 1 Verify the Qt version is what is expected - 1 From the *Version* pulldown menu select *Firmware* - 1 Verify the Firmware version is what is expected for the platform - 1 From the *Version* pulldown menu select *QtMobility* - 1 Verify the QtMobility version is what is expected - ')); + // Test steps + prompt(twiki("---+++ " + testApplication + "<br><br> + *Goal:* " + testGoal + "<br> + *Pre-Requisites:* " + testPreconditions + "<br> + *Tested Binary:* " + testBinary + "<br> + + | *Step* | *Verification* | + | Launch " + testBinary + " | App starts correctly | + | Open *General/Features* | Features page is shown | + | From the *Version* pulldown menu select *Os* | Verify the Os version is what is expected for the platform | + | From the *Version* pulldown menu select *QtCore* | Verify the Qt version is what is expected | + | From the *Version* pulldown menu select *Firmware* | Verify the Firmware version is what is expected for the platform | + | From the *Version* pulldown menu select *QtMobility* | Verify the QtMobility version is what is expected | + ")); }, Query_device_hardware_features: function() { - prompt(twiki('*Query device hardware features* + // Test meta data + testApplication = "System Info - Device Hardware Features"; + testBinary = "BlueWheel/SystemInfo"; + testGoal = "Verify that device hardware status can be read"; + testPreconditions = "None"; + testGroups = "BAT"; + + // Test steps + prompt(twiki("---+++ " + testApplication + "<br><br> + *Goal:* " + testGoal + "<br> + *Pre-Requisites:* " + testPreconditions + "<br> + *Tested Binary:* " + testBinary + "<br> - 1 Start the bluewheel application and open *SystemInfo* - 1 Open *General/Features* - 1 From the *Feature* pulldown menu select *Bluetooth* - 1 Verify the Bluetooth status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Camera* - 1 Verify the camera status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Fmradio* - 1 Verify the Fmradio status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Ir* - 1 Verify the Ir status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Led* - 1 Verify the Led status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Memcard* - 1 Verify the Memcard status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Usb* - 1 Verify the Usb status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Vib* - 1 Verify the Vib status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Wlan* - 1 Verify the Wlan status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Sim* - 1 Verify the Sim status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Location* - 1 Verify the Location status is what is expected for the platform - 1 From the *Feature* pulldown menu select *VideoOut* - 1 Verify the VideoOut status is what is expected for the platform - 1 From the *Feature* pulldown menu select *Haptics* - 1 Verify the Haptics status is what is expected for the platform - 1 From the *Feature* pulldown menu select *FmTransmitter* - 1 Verify the FmTransmitter status is what is expected for the platform - ')); + | *Step* | *Verification* | + | Launch " + testBinary + " | App starts correctly | + | Open *General/Features* | Features page is shown | + | From the *Feature* pulldown menu select *Bluetooth* | Verify the Bluetooth status is what is expected for the platform | + | From the *Feature* pulldown menu select *Camera* | Verify the camera status is what is expected for the platform | + | From the *Feature* pulldown menu select *Fmradio* | Verify the Fmradio status is what is expected for the platform | + | From the *Feature* pulldown menu select *Ir* | Verify the Ir status is what is expected for the platform | + | From the *Feature* pulldown menu select *Led* | Verify the Led status is what is expected for the platform | + | From the *Feature* pulldown menu select *Memcard* | Verify the Memcard status is what is expected for the platform | + | From the *Feature* pulldown menu select *Usb* | Verify the Usb status is what is expected for the platform | + | From the *Feature* pulldown menu select *Vib* | Verify the Vib status is what is expected for the platform | + | From the *Feature* pulldown menu select *Wlan* | Verify the Wlan status is what is expected for the platform | + | From the *Feature* pulldown menu select *Sim* | Verify the Sim status is what is expected for the platform | + | From the *Feature* pulldown menu select *Location* | Verify the Location status is what is expected for the platform | + | From the *Feature* pulldown menu select *VideoOut* | Verify the VideoOut status is what is expected for the platform | + | From the *Feature* pulldown menu select *Haptics* | Verify the Haptics status is what is expected for the platform | + | From the *Feature* pulldown menu select *FmTransmitter* | Verify the FmTransmitter status is what is expected for the platform | + ")); } } |