added initial watir test scripts, initially to check the export data screen on my application, rough and ready but a start for the unit tests

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2866 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2007-11-16 18:24:07 +00:00
parent b736bb6136
commit 4c31f7e3e0
4 changed files with 521 additions and 0 deletions

53
tests/constants.rb Normal file
View File

@@ -0,0 +1,53 @@
#
#This file contains all the constants required for all tests
#require this file if you are writing a standalone test.
#
#Database Constants
#DBUSERNAME='eft_nom_kingdonj'
#DBPASSWORD='eft_nom_kingdonj'
DBUSERNAME='mip_dev_e'
DBPASSWORD='mip_dev_e'
#DATABASE='dev10g'
# Screen Constants
#MACHINE='wxp0113'
MACHINE = 'loordv01'
#MACHINE = '195.228.69.35'
#DAD='eftnomfat'
DAD= 'pls/apex'
#DAD= 'eftnom'
#DAD= 'pls/eftnomkingdonj'
#PROTOCOL = 'https://'
PROTOCOL = 'http://'
#
# Default Screen urls
#
START_URL = PROTOCOL+MACHINE+'/'+DAD+'/f?p=156:1:380279258624897:::::'
LOGIN = PROTOCOL+MACHINE+'/'+DAD+'/f?p=156:1'
EXPORT_DATA = PROTOCOL+MACHINE+'/'+DAD+'/f?p=156:5'
#
# Users required for the script
# may need to add more as the integration tests grow
#
JAMIE = 'priestj'
JAMIE_PWD = 'password'
AGENT = 'testagent'
AGENT_PWD = 'testagent'
SUPP = 'testagent'
SUPP_PWD = 'testagent'
SUPPADMIN = 'testagent'
SUPPADMIN_PWD = 'testagent'
MIPADMIN = 'testagent'
MIPADMIN_PWD = 'testagent'
ICU = 'testagent'
ICU_PWD = 'testagent'
CS = 'testagent'
CS_PWD = 'testagent'
INORG = 'testagent'
INORG_PWD = 'testagent'
EXTORG = 'testagent'
EXTORG_PWD = 'testagent'
MEMBER = 'testagent'
MEMBER_PWD = 'testagent'