git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@50874 248e525c-4dfb-0310-94bc-949c084e9493

This commit is contained in:
andrew.gilmore
2012-03-19 11:57:19 +00:00
parent 2a0f4900c3
commit 0e9ca75d77
1587 changed files with 500863 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
##//////////////////////////////////////////////////////////////////////////////
##
## Watir script recorded by WatirMaker.
##
##//////////////////////////////////////////////////////////////////////////////
#requires
require 'watir'
#require the test unit library
require 'test/unit'
#require our constants
require 'constants'
#require our useful helper methods
require 'default_methods.rb'
#includes
include Watir
@@ie = IE.new
@@ie.maximize
#set the speed of watir, we'd also set the speed of light but that's supposed to be a constant
@@ie.speed = :fast
# Run the remove test data via the browser
@@ie.goto( PROTOCOL+MACHINE+'/'+DAD+'/cleanup_testdata' )
@@ie.wait
#This should probably be a constant, but we're going to the home page
@@ie.goto( PROTOCOL+MACHINE+'/'+DAD+'/home' )
#
# Setup default config
#
# Remove the test data
#
#dosql('begin cleanup_testdata; commit; end;')
#
# Set the system submission deadline
#
#dosql('begin UPDATE system_configuration SET value = \'20:00\'
# WHERE parameter = \'G_SUBMISSION_DEADLINE\'; commit; end; ')
#
#Set up our contracts before we start serious testing
#
require 'setup_contracts'
#
#Get our fat tests
#
#require 'fat005'
require 'fat006'
#@@ie.goto(LOGOUT)
#@@ie.wait
#@@ie.close