From 15f0af04b8c460d5d7fc90eddbc6c9864ee51520 Mon Sep 17 00:00:00 2001 From: "Zheng Liu (George)" Date: Mon, 16 May 2011 15:59:44 +1000 Subject: created some new test cases for 1.2 --- QtMobility/sys_messaging/sys_messaging.qtt | 110 +++++++++++++++++++++++++---- 1 file changed, 96 insertions(+), 14 deletions(-) diff --git a/QtMobility/sys_messaging/sys_messaging.qtt b/QtMobility/sys_messaging/sys_messaging.qtt index 6e75b17..a76fdbc 100644 --- a/QtMobility/sys_messaging/sys_messaging.qtt +++ b/QtMobility/sys_messaging/sys_messaging.qtt @@ -798,6 +798,102 @@ http://www.google.com/ 1. return to search results } }, + bluewheelMessaging_Search_Message_Wildcard_Search : function(){ + if (automatedTestEnvironment()){ + }else{ + prompt(twiki('---++++ Blue Wheel Messaging: Wildcard Search + + 1. Start Messaging test application + 1. Make sure there are some messages in Email account, and network available + 1. Select Search Message item + 1. Use By Receipient as search type, Email account as account + 1. Select Like as condition type + 1. Fill in the Receipient text box with wildcard, eg %@hotmail.com, use SQL like syntax wildcards + 1. Click on search button to make search + 1. Verify that the correct results has been returned + 1. Repeat this test with Not Like condition type + 1. Repeat this test for SMS and MMS + ')); + } + }, + + bluewheelMessaging_Synchronize: function(){ + if (automatedTestEnvironment()){ + }else{ + prompt(twiki('---++++ Blue Wheel Messaging: Synchronize + + 1. Start Messaging test application + 1. Make sure there are some messages in Email account, and network available + 1. Select Search Message item + 1. Use By Type as search type, Email account as account + 1. Click on search button to make search + 1. In the message view, click on Synchronize button + 1. Verify synchronization returns in reasonable time + 1. Send a message to the Email account + 1. Click on the Synchronize button again + 1. Verify the new message shows up in the view + 1. Repeat this test for SMS and MMS + ')); + } + }, + + bluewheelMessaging_Send_Receive: function(){ + if (automatedTestEnvironment()){ + }else{ + prompt(twiki('---++++ Blue Wheel Messaging: Send Receive + + 1. Start Messaging test application + 1. Make sure there are some messages in Email account, and network available + 1. Select Search Message item + 1. Use By Type as search type, Email account as account + 1. Click on search button to make search + 1. In the message view, click on Send Receive button + 1. Verify synchronization returns in reasonable time + 1. Send a message to the Email account + 1. Click on the Send Receive button again + 1. Verify the new message shows up in the view + 1. Repeat this test for SMS and MMS + ')); + } + }, + + bluewheelMessaging_Show_Message: function(){ + if (automatedTestEnvironment()){ + }else{ + prompt(twiki('---++++ Blue Wheel Messaging: Show_Message + + 1. Start Messaging test application + 1. Make sure there are some messages in Email account, and network available + 1. Select Search Message item + 1. Use By Type as search type, Email account as account + 1. Click on search button to make search + 1. In the message view, click on a message, and click on Show + 1. When being asked, choose Yes + 1. Verify the message is properly shown with native client + 1. Close the native messaging client + 1. Click on another message, and click on Show again + 1. When being asked, choose to download details + 1. Verify the message is shown in Bluewheel message client + 1. Click on Attachments, verify the attachments are shown + 1. Select an attachment, save it and verify it saves fine + 1. Close attachment dialog + 1. Click on Properties, verify the properties are properly shown + 1. Close properties dialog + 1. Click on Unread, switch to the native message client, verify the message is marked as Unread status + 1. Go back to the Bluewheel application, click on Read + 1. Verify the message is marked as Read status + 1. Click on Reply button, send reply, verify the message is replied + 1. Go back, click on Forward button, send, verify the message is forwarded + 1. Go back, click on Edit button, change something in the message, verify the change are saved + 1. Go back, click on Move button, select a target folder, verify the message is moved to that folder + 1. Go back, click on Delete button, verify the message is deleted + 1. Repeat this test for SMS and MMS + ')); + } + }, + + + */ New tests proposed @@ -815,24 +911,10 @@ http://www.google.com/ 1. return to search results bluewheelMessaging_Search_Messages_By_Folder bluewheelMessaging_Search_Messages_By_Account - bluewheelMessaging_Search_Messages_Wildcard_Search - bluewheelMessaging_Search_Messages_Search_SMS bluewheelMessaging_Search_Messages_Search_MMS bluewheelMessaging_Search_Messages_Search_Email bluewheelMessaging_Search_Messages_Search_Cross_Email_Account_Types - bluewheelMessaging_Synchronize - bluewheelMessaging_Send_Receive - bluewheelMessaging_Show_Message_In_Native_Client - bluewheelMessaging_Show_Message_In_This_App - bluewheelMessaging_Show_Message_Attachments - bluewheelMessaging_Show_Message_Properties - bluewheelMessaging_Show_Message_Unread - bluewheelMessaging_Show_Message_Reply - bluewheelMessaging_Show_Message_Forward - bluewheelMessaging_Show_Message_Edit - - bluewheelMessaging_Search_Messages_Search_Cross_Email_Account_Types */ } -- cgit v1.2.3 From b3fef1dbb9985cb8940860afaaa95f64ddee67ab Mon Sep 17 00:00:00 2001 From: Daron Andrew Edie Date: Mon, 16 May 2011 16:05:20 +1000 Subject: added tests --- QtMobility/sys_crsysteminfo/sys_crsysteminfo.qtt | 54 ++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/QtMobility/sys_crsysteminfo/sys_crsysteminfo.qtt b/QtMobility/sys_crsysteminfo/sys_crsysteminfo.qtt index e7ccfe5..6658784 100644 --- a/QtMobility/sys_crsysteminfo/sys_crsysteminfo.qtt +++ b/QtMobility/sys_crsysteminfo/sys_crsysteminfo.qtt @@ -64,4 +64,58 @@ testcase = { 1 *Note:* On S60 platforms removing a media might cause qsysinfo to be closed, which is usual ')); } + + Query_OS_Qt_firmware_versions: function() + { + prompt(twiki('*Query OS, Qt and firmware versions* + + 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 + ')); + } + + Query_device_hardware_features: function() + { + prompt(twiki('*Query device hardware features* + + 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 + ')); + } } -- cgit v1.2.3