#
#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'
#MACHINE='wxp0113'
#  Screen Constants
MACHINE = 'loordv01'
#MACHINE = '195.228.69.35'
#DAD='eftnomfat'
DAD= 'pls/apex'
#DAD= 'eftnom'
#DAD= 'pls/eftnomkingdonj'
#PROTOCOL = 'https://'
PROTOCOL = 'http://'
APPLICATIONID = '102'

#
# Default Screen urls
#
DEBUG=':::NO'
START_URL = PROTOCOL+MACHINE+'/'+DAD+'/f?p='+APPLICATIONID+':1::::::'
LOGIN = PROTOCOL+MACHINE+'/'+DAD+'/f?p='+APPLICATIONID+':101'+DEBUG
EXPORT_DATA = PROTOCOL+MACHINE+'/'+DAD+'/f?p='+APPLICATIONID+':5'+DEBUG
ENQUIRY = PROTOCOL+MACHINE+'/'+DAD+'/f?p='+APPLICATIONID+':32'+DEBUG
BASE = PROTOCOL+MACHINE+'/'+DAD+'/f?p='+APPLICATIONID+':50'+DEBUG
HOUSING = PROTOCOL+MACHINE+'/'+DAD+'/f?p='+APPLICATIONID+':54'+DEBUG
MODULE = PROTOCOL+MACHINE+'/'+DAD+'/f?p='+APPLICATIONID+':56'+DEBUG
TRIPARTITE = PROTOCOL+MACHINE+'/'+DAD+'/f?p='+APPLICATIONID+':90'+DEBUG
#URLs for party management screens
MANAGE_PARTIES = PROTOCOL+MACHINE+'/'+DAD+'/f?p=' +APPLICATIONID+ ':60'+DEBUG
CREATE_PARTY = PROTOCOL+MACHINE+'/'+DAD+'/f?p=' +APPLICATIONID+ ':61'+DEBUG
ASSIGN_PARTY_ROLE = PROTOCOL+MACHINE+'/'+DAD+'/f?p=' +APPLICATIONID+ ':62'+DEBUG
PARTY_CONTACT_DETAILS = PROTOCOL+MACHINE+'/'+DAD+'/f?p=' +APPLICATIONID+ ':63'+DEBUG
PARTY_HOME_ADDR = PROTOCOL+MACHINE+'/'+DAD+'/f?p=' +APPLICATIONID+ ':64'+DEBUG
EDIT_PARTIES = PROTOCOL+MACHINE+'/'+DAD+'/f?p=' +APPLICATIONID+ ':65'+DEBUG
EDIT_PARTY = PROTOCOL+MACHINE+'/'+DAD+'/f?p=' +APPLICATIONID+ ':66'+DEBUG
ADDON = PROTOCOL+MACHINE+'/'+DAD+'/f?p=' +APPLICATIONID+ ':23'+DEBUG

#
# Users required for the script
# may need to add more as the integration tests grow
#
DEFAULT = 'advantica'
DEFAULT_PWD = 'password'
JAMIE = 'priestj'
JAMIE_PWD = 'password'
DK = 'kanagasabapathy'
DK_PWD = 'Pa$$w0rd'
AGENT = 'agent1'
AGENT_PWD = 'password'
SUPPADMIN = 'supplieradmin'
SUPPADMIN_PWD = 'password'
MIPADMIN = 'advantica'
MIPADMIN_PWD = 'password'
ICU = 'ic1'
ICU_PWD = 'password'
CS = 'cs1'
CS_PWD = 'password'
SA = 'sa1'
SA_PWD = 'password' 

#Addresses
ADDRESSA=["SubBuilding A",
          "Building A",
          "Street A",
          "City A",
          "NN4 6AA"]
ADDRESSB=["SubBuilding B",
          "Building B",
          "Street B",
          "City B",
          "NN4 6BB"]
ADDRESSC=["SubBuilding C",
          "Building C",
          "Street C",
          "City C",
          "NN4 6CC"]     
#set working directory for uploading files etc.
#backup 1 directory
#Dir.chdir('..')
Dir.chdir('..')
#we're in windows, so replace the forwards with the backs
WORKINGDIR = Dir.getwd.to_s.gsub!('/','\\')               