|
1 // ***************************************** |
|
2 // |
|
3 // Author: Stephen Lewis |
|
4 // Date: 13/03/03 |
|
5 // |
|
6 // Setup Pop3 connection with a connect and monitor command to |
|
7 // check connection progress. |
|
8 // |
|
9 // Performence Test Script for Case 3 |
|
10 // TO run this test rename this file to script.txt and copy it |
|
11 // to c:\msgtest\emailsmoke |
|
12 // |
|
13 // |
|
14 // ***************************************** |
|
15 |
|
16 [main] |
|
17 email_client_test email |
|
18 |
|
19 [email] |
|
20 pop3_client_test initialise_tests |
|
21 pop3_client_test Test_POP3_Case |
|
22 // |
|
23 // Initialise the Tests (ie Clean the Msg Server, start Session & create Accounts) |
|
24 // |
|
25 [initialise_tests] |
|
26 //-------------------------------------- |
|
27 // Clean Message Server & Start Session |
|
28 //-------------------------------------- |
|
29 clean_message_folder |
|
30 start_client_session |
|
31 //-------------------------------------- |
|
32 // Create the Services |
|
33 //-------------------------------------- |
|
34 pop3_client_test create_pop_service |
|
35 |
|
36 |
|
37 [Test_POP3_Case] |
|
38 select_root_folder |
|
39 add_comment *** Connect to POP service *** |
|
40 select_root_folder |
|
41 select_folder Pop3_service |
|
42 add_comment Connect and monitor |
|
43 connect |
|
44 check_pop3_error 0 |
|
45 select_all_messages |
|
46 select_first_in_selection 1 |
|
47 select_root_folder |
|
48 select_folder local |
|
49 select_destination_folder drafts |
|
50 select_root_folder |
|
51 select_folder Pop3_service |
|
52 add_comment copy 1 Email to local drafts folder |
|
53 copy |
|
54 check_pop3_error 0 |
|
55 add_comment message downloaded |
|
56 disconnect |
|
57 check_pop3_error 0 |
|
58 select_root_folder |
|
59 select_folder local |
|
60 select_folder drafts |
|
61 select_all_messages |
|
62 check_selection_count 1 |
|
63 |
|
64 |
|
65 // **************************************************************** |
|
66 // Create Pop Service |
|
67 // **************************************************************** |
|
68 [create_pop_service] |
|
69 add_comment Creating Pop Service |
|
70 select_root_folder |
|
71 pop3_service Pop_service |
|
72 |
|
73 |
|
74 // ***************************************** |
|
75 // POP3 Service Settings |
|
76 // ***************************************** |
|
77 [Pop_service] |
|
78 set_name Pop3_Service |
|
79 // NOKIA |
|
80 //set_server avavir.it.cellulardata.com |
|
81 //set_user mailtst1 |
|
82 //set_pass mailtest1 |
|
83 // PIPEX |
|
84 set_server msexchange01.closedtest.intra |
|
85 set_user test |
|
86 set_pass test |
|
87 // DARREN |
|
88 //set_server mail.uku.co.uk |
|
89 //set_user uku320894 |
|
90 //set_pass message |
|
91 set_tls 0 |
|
92 set_wrapped_tls 0 |
|
93 set_port 110 |
|
94 // |
|
95 // Any of the following No can be used to access this server |
|
96 // +358 3 3617 770 |
|
97 // +358 3 31520 444 |
|
98 // +358 3 31520 111 |
|
99 // +358 3 31520 999 |
|
100 // ***************************************** |
|
101 |
|
102 |
|
103 |
|
104 |
|
105 |