diff options
author | jiantao.zou <jiantao.zou@tieto.com> | 2011-10-27 17:28:49 +0800 |
---|---|---|
committer | jiantao.zou <jiantao.zou@tieto.com> | 2011-10-27 17:28:49 +0800 |
commit | 796834299697bde58a89c14f8270c525743f2c88 (patch) | |
tree | e12754e15bcf828f5ca3a6d5c63b4a3375b853b8 /tests | |
parent | 512a00ad14f7b5013c122ef728fe086d4531b5eb (diff) |
add receive and delete message
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/systemtests/sys_messaging/sys_messaging.qtt | 118 |
1 files changed, 113 insertions, 5 deletions
diff --git a/tests/systemtests/sys_messaging/sys_messaging.qtt b/tests/systemtests/sys_messaging/sys_messaging.qtt index 3f5e866851..4930259209 100755 --- a/tests/systemtests/sys_messaging/sys_messaging.qtt +++ b/tests/systemtests/sys_messaging/sys_messaging.qtt @@ -171,12 +171,66 @@ testcase = { ")); }, - receive_message : function() { + receive_sms : function() { // Test meta data - testTitle = "Messaging - Receive Message"; + testTitle = "Messaging - Receive SMS"; testBinary = "testQtMessaging"; testSource = "$MOBILITYDIR/tests/applications/messaging/testqtmessaging"; - testGoal = "Verify that messages can be received."; + testGoal = "Verify that sms can be received."; + testPreconditions = "A SIM card insert to the phone and network is available."; + testGroups = "BAT_MOBILITY"; + testRequirements = " "; + + // Test steps + prompt(twiki("---+++ " + testTitle + "<br><br> + *Goal:* " + testGoal + "<br> + *Pre-Requisites:* " + testPreconditions + "<br> + *Tested Binary:* " + testBinary + "<br> + + | *Step* | *Verification* | + | Launch " + testBinary + " | App launches normally | + | Select Search Message item | | + | Use By type as search type, SMS, tick SMS box | | + | click on Make query | | + | Send a new SMS to the testing phone number from other device | | + | In the result page, select a message, click on Send/Receive button | | + | Wait for a while | Verify the new message is retrived to the list | + ")); + }, + + receive_mms : function() { + // Test meta data + testTitle = "Messaging - Receive MMS"; + testBinary = "testQtMessaging"; + testSource = "$MOBILITYDIR/tests/applications/messaging/testqtmessaging"; + testGoal = "Verify that mms can be received."; + testPreconditions = "A SIM card insert to the phone and network is available."; + testGroups = "BAT_MOBILITY"; + testRequirements = " "; + + // Test steps + prompt(twiki("---+++ " + testTitle + "<br><br> + *Goal:* " + testGoal + "<br> + *Pre-Requisites:* " + testPreconditions + "<br> + *Tested Binary:* " + testBinary + "<br> + + | *Step* | *Verification* | + | Launch " + testBinary + " | App launches normally | + | Select Search Message item | | + | Use By type as search type, MMS, tick MMS box | | + | click on Make query | | + | Send a new MMS to the testing phone number from other device | | + | In the result page, select a message, click on Send/Receive button | | + | Wait for a while | Verify the new message is retrived to the list | + ")); + }, + + receive_email : function() { + // Test meta data + testTitle = "Messaging - Receive Email"; + testBinary = "testQtMessaging"; + testSource = "$MOBILITYDIR/tests/applications/messaging/testqtmessaging"; + testGoal = "Verify that email can be received."; testPreconditions = "There are some messages in Email account, and network is available."; testGroups = "BAT_MOBILITY"; testRequirements = " "; @@ -225,9 +279,63 @@ testcase = { ")); }, - delete_message : function() { + delete_sms : function() { + // Test meta data + testTitle = "Messaging - Delete SMS"; + testBinary = "testQtMessaging"; + testSource = "$MOBILITYDIR/tests/applications/messaging/testqtmessaging"; + testGoal = "Verify that SMS can be deleted."; + testPreconditions = "Some SMS are available in inbox, and network available."; + testGroups = "BAT_MOBILITY"; + testRequirements = " "; + + // Test steps + prompt(twiki("---+++ " + testTitle + "<br><br> + *Goal:* " + testGoal + "<br> + *Pre-Requisites:* " + testPreconditions + "<br> + *Tested Binary:* " + testBinary + "<br> + + | *Step* | *Verification* | + | Launch " + testBinary + " | App launches normally | + | Select Search Message item | | + | Use By type as search type, SMS, tick SMS box | | + | click on Make query | | + | In the result page, select a short message, click on Show button | | + | Select No button | Verify the message is properly displayed | + | Click on Delete button | Verify the short message is deleted from inbox | + ")); + }, + + delete_mms : function() { + // Test meta data + testTitle = "Messaging - Delete MMS"; + testBinary = "testQtMessaging"; + testSource = "$MOBILITYDIR/tests/applications/messaging/testqtmessaging"; + testGoal = "Verify that MMS can be deleted."; + testPreconditions = "Some MMS are available in inbox, and network available."; + testGroups = "BAT_MOBILITY"; + testRequirements = " "; + + // Test steps + prompt(twiki("---+++ " + testTitle + "<br><br> + *Goal:* " + testGoal + "<br> + *Pre-Requisites:* " + testPreconditions + "<br> + *Tested Binary:* " + testBinary + "<br> + + | *Step* | *Verification* | + | Launch " + testBinary + " | App launches normally | + | Select Search Message item | | + | Use By type as search type, MMS, tick MMS box | | + | click on Make query | | + | In the result page, select a MMS, click on Show button | | + | Select No button | Verify the message is properly displayed | + | Click on Delete button | Verify the MMS is deleted from inbox | + ")); + }, + + delete_email : function() { // Test meta data - testTitle = "Messaging - Delete Message"; + testTitle = "Messaging - Delete Email"; testBinary = "testQtMessaging"; testSource = "$MOBILITYDIR/tests/applications/messaging/testqtmessaging"; testGoal = "Verify that messages can be deleted."; |