// *****************************************
//  Test Script 
//  
//  Author:	Kashif Nadeem
//  Date:	08/02/02
//
// Performence Test Script for Case 3
// TO run t_email for Case 3 performance testing
// rename this file to script.txt and copy it 
// to c:\msgtest\emailsmoke
//
// Make sure that you have 800 emails in the inbox
//
// If you want to use secure connection (using SSL/TLS) 
// for your email, you have to do the following.
// 1) In the email settings, set secure conection (SSL) to 'True'.
// 2) Get the strong version of cryptalg.dll (it's security 
//    component that ssl uses) from perforce 
//    security\cryptalg\import\bin\arm4\urel\ and copy the 
//    file crypt256.dll to cryptalg.dll in the arm4 dir 
//    replacing the one that's there.
// 3) Re build the ROM IMAGE to include the new file
// *****************************************
[main]
email_client_test email

[email]
pop3_client_test initialise_tests
pop3_client_test Test_POP3_Case3

// 
// Initialise the Tests (ie Clean the Msg Server, start Session & create Accounts)
// 
[initialise_tests]
//--------------------------------------
//  Clean Message Server & Start Session
//--------------------------------------
clean_message_folder
start_client_session
//--------------------------------------
// Create the Services
//--------------------------------------
pop3_client_test create_pop_service


// *******************************************************************
// Use case Case3_sync: Sync to InBox with 800 emails
// *******************************************************************
[Test_POP3_Case3]
//
// Use case Case3_sync: sync to 800 emails
//
add_comment *** Connect to POP service ***
select_root_folder
select_folder Pop3_service
add_comment
add_comment <Time: Start> Sync folder with 800 emails (POP3 test case 3)
connect
add_comment <Time: Stop>  Sync folder with 800 emails
add_comment
count_children
disconnect
check_pop3_error 0
select_root_folder
select_folder local
select_folder inbox
select_all_messages
check_selection_count 800


// ****************************************************************
//  Create Pop Service 
// ****************************************************************
[create_pop_service]
add_comment Creating Pop Service
select_root_folder
pop3_service Pop_service


// *****************************************
//  POP3 Service Settings 			
// *****************************************
[Pop_service]
set_name Pop3_Service
set_server trmai02.it.cellulardata.com
set_user mendonca
set_pass keiSym
set_tls 1
//
// Any of the following No can be used to access this server
// +358 3 3617 770
// +358 3 31520 444
// +358 3 31520 111
// +358 3 31520 999
// *****************************************