## GT0128 Hurricane WAP
## WSP Protocol Handler
#######################
## Ref. SGL.GT0128.aaa.bbb WSP Protocol Handler Unit Tests
## Unit test 2.6.1.1
## Driver chat script
#
# Test Synopsis
# * Make a secure (WTLS class 2) connection  

# Expected Result
# * Expected result: connect successfully made


SCRIPT UnitTestDriver2.6.1.1 

#
# Sleep before start, allows stub time to start up and initialise.
#
	SLEEP 500
#
# Set the secure proxy info
#
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\setsecureproxyinfo_driver.txt"

#
# Get the session connected
#
	SEND
		INVOKE SessionConnectL
		ENDINVOKE
	ENDSEND
#
# Wait for Authentication handshake OK event
#
	EXPECT
		INVOCATION SessionRunL
			VALIDATE aEvent EAuthenticatedOK
		ENDINVOCATION
	ENDEXPECT
#
# Wait for the cnf - this is given by EConnectedOK event
#
	EXPECT
		INVOCATION SessionRunL
			VALIDATE aEvent EConnectedOK
		ENDINVOCATION
	ENDEXPECT
#
# Ask for disconnect
# 
	SLEEP 500
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\do_clientdisconnect_driver.txt"
#
# Give the stub a chance to finish before exiting
#
	SLEEP 500
#
# Done!
#

ENDSCRIPT


	