From aab27144a09468ec92063373605891355e97ffd9 Mon Sep 17 00:00:00 2001 From: hardya Date: Thu, 21 Feb 2008 17:56:52 +0000 Subject: [PATCH] Remove timestamp from output of mip_friendly_messages.pck Add constraint to regi_enqu_exclusions to prevent both enquiry and additional items being recorded on the same row. Allow schema to be passed to apex_auto_install.rb. git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3666 248e525c-4dfb-0310-94bc-949c084e9493 --- Data/Seed/comsg.ctl | 225 +++++++++++++++--------------- Data/Test/apex_auto_install.rb | 127 ++++++++++------- InstallMIP.cmd | 8 +- Modules/mip_friendly_messages.pck | 3 +- Schema/mip.con | 59 ++++---- Schema/mip.ind | 2 +- Schema/mip.sql | 2 +- Schema/mip.sqs | 2 +- Schema/mip.tab | 2 +- tests/addontests.rb | 36 ++--- tests/basestests.rb | 126 ++++++++--------- 11 files changed, 315 insertions(+), 277 deletions(-) diff --git a/Data/Seed/comsg.ctl b/Data/Seed/comsg.ctl index 823bf93..bb7e95d 100644 --- a/Data/Seed/comsg.ctl +++ b/Data/Seed/comsg.ctl @@ -13,175 +13,176 @@ ADDR_PK|Attempting to create a duplicate Addresses entry ADIT_PK|Attempting to create a duplicate Additional_Items entry ALTY_PK|Attempting to create a duplicate Asset_Location_Types entry AUTH_PK|Attempting to create a duplicate Apex_Authorization entry -AUTH_RT_FK|Application Error: Attempting to violate foreign key constraint AUTH_RT_FK. Please report -BAS_DRWG_FK|Application Error: Attempting to violate foreign key constraint BAS_DRWG_FK. Please repo +AUTH_RT_FK|Application Error: Attempting to violate foreign key constraint AUTH_RT_FK. Please report this error to Advantica. +BAS_DRWG_FK|Application Error: Attempting to violate foreign key constraint BAS_DRWG_FK. Please report this error to Advantica. BAS_PK|Attempting to create a duplicate Bases entry -BUILDING_OR_SUBBUILDING_REQ|Application Error: Attempting to violate check constraint BUILDING_OR_SU +BUILDING_OR_SUBBUILDING_REQ|Application Error: Attempting to violate check constraint BUILDING_OR_SUBBUILDING_REQ. Please report this error to Advantica. BYRE_PK|Attempting to create a duplicate Bypass_Reasons entry CACA_PK|Attempting to create a duplicate Care_Categories entry -CATE_ENTY_FK|Application Error: Attempting to violate foreign key constraint CATE_ENTY_FK. Please re -CATE_METY_FK|Application Error: Attempting to violate foreign key constraint CATE_METY_FK. Please re +CATE_ENTY_FK|Application Error: Attempting to violate foreign key constraint CATE_ENTY_FK. Please report this error to Advantica. +CATE_METY_FK|Application Error: Attempting to violate foreign key constraint CATE_METY_FK. Please report this error to Advantica. CATE_PK|Attempting to create a duplicate Caveat_Texts entry -CATE_SVCPT_FK|Application Error: Attempting to violate foreign key constraint CATE_SVCPT_FK. Please +CATE_SVCPT_FK|Application Error: Attempting to violate foreign key constraint CATE_SVCPT_FK. Please report this error to Advantica. CNOR_PK|Attempting to create a duplicate Connection_Orientations entry CNTY_PK|Attempting to create a duplicate Connection_Types entry -COME_COMT_FK|Application Error: Attempting to violate foreign key constraint COME_COMT_FK. Please re +COME_COMT_FK|Application Error: Attempting to violate foreign key constraint COME_COMT_FK. Please report this error to Advantica. COME_PK|Attempting to create a duplicate Contact_Mechanisms entry COMSG_PK|Attempting to create a duplicate Constraint_Messages entry COMT_PK|Attempting to create a duplicate Contact_Mechanism_Types entry -COST_ADIT_FK|Application Error: Attempting to violate foreign key constraint COST_ADIT_FK. Please re -COST_BAS_FK|Application Error: Attempting to violate foreign key constraint COST_BAS_FK. Please repo -COST_ENTY_FK|Application Error: Attempting to violate foreign key constraint COST_ENTY_FK. Please re -COST_HOU_FK|Application Error: Attempting to violate foreign key constraint COST_HOU_FK. Please repo -COST_MESC_FK|Application Error: Attempting to violate foreign key constraint COST_MESC_FK. Please re -COST_METR_FK|Application Error: Attempting to violate foreign key constraint COST_METR_FK. Please re -COST_METY_FK|Application Error: Attempting to violate foreign key constraint COST_METY_FK. Please re -COST_MODU_FK|Application Error: Attempting to violate foreign key constraint COST_MODU_FK. Please re +COST_ADIT_FK|Application Error: Attempting to violate foreign key constraint COST_ADIT_FK. Please report this error to Advantica. +COST_BAS_FK|Application Error: Attempting to violate foreign key constraint COST_BAS_FK. Please report this error to Advantica. +COST_ENTY_FK|Application Error: Attempting to violate foreign key constraint COST_ENTY_FK. Please report this error to Advantica. +COST_HOU_FK|Application Error: Attempting to violate foreign key constraint COST_HOU_FK. Please report this error to Advantica. +COST_MESC_FK|Application Error: Attempting to violate foreign key constraint COST_MESC_FK. Please report this error to Advantica. +COST_METR_FK|Application Error: Attempting to violate foreign key constraint COST_METR_FK. Please report this error to Advantica. +COST_METY_FK|Application Error: Attempting to violate foreign key constraint COST_METY_FK. Please report this error to Advantica. +COST_MODU_FK|Application Error: Attempting to violate foreign key constraint COST_MODU_FK. Please report this error to Advantica. COST_PK|Attempting to create a duplicate Costs entry -COST_REGI_FK|Application Error: Attempting to violate foreign key constraint COST_REGI_FK. Please re -COST_SVCPT_FK|Application Error: Attempting to violate foreign key constraint COST_SVCPT_FK. Please -COST_UK|Attempting to create a duplicate Costs entry.
Labour costs should be unique across enqui -DIR_ENTY_FK|Application Error: Attempting to violate foreign key constraint DIR_ENTY_FK. Please repo +COST_REGI_FK|Application Error: Attempting to violate foreign key constraint COST_REGI_FK. Please report this error to Advantica. +COST_SVCPT_FK|Application Error: Attempting to violate foreign key constraint COST_SVCPT_FK. Please report this error to Advantica. +COST_UK|Attempting to create a duplicate Costs entry.
Labour costs should be unique across enquiry type, service pressure, meter size, meter type, valid from and region.
Costs for modules, housings, bases and additional items should be unique across valid from and region. +DIR_ENTY_FK|Application Error: Attempting to violate foreign key constraint DIR_ENTY_FK. Please report this error to Advantica. DIR_PK|Attempting to create a duplicate Data_Item_Roles entry DOCU_PK|Attempting to create a duplicate Documents entry -DOEV_DOCU_FK|Application Error: Attempting to violate foreign key constraint DOEV_DOCU_FK. Please re -DOEV_DOST_FK|Application Error: Attempting to violate foreign key constraint DOEV_DOST_FK. Please re +DOEV_DOCU_FK|Application Error: Attempting to violate foreign key constraint DOEV_DOCU_FK. Please report this error to Advantica. +DOEV_DOST_FK|Application Error: Attempting to violate foreign key constraint DOEV_DOST_FK. Please report this error to Advantica. DOEV_PK|Attempting to create a duplicate Document_Events entry -DORO_CK|Application Error: Attempting to violate check constraint DORO_CK. Please report this error -DORO_DOCU_FK|Application Error: Attempting to violate foreign key constraint DORO_DOCU_FK. Please re -DORO_DORO_UK|Attempting to enter a duplicate value (defined by unique constraintDORO_DORO_UK). -DORO_DRWG_FK|Application Error: Attempting to violate foreign key constraint DORO_DRWG_FK. Please re -DORO_ENQU_FK|Application Error: Attempting to violate foreign key constraint DORO_ENQU_FK. Please re +DORO_CK|Application Error: Attempting to violate check constraint DORO_CK. Please report this error to Advantica. +DORO_DOCU_FK|Application Error: Attempting to violate foreign key constraint DORO_DOCU_FK. Please report this error to Advantica. +DORO_DORO_UK|Attempting to enter a duplicate value (defined by unique constraint DORO_DORO_UK). +DORO_DRWG_FK|Application Error: Attempting to violate foreign key constraint DORO_DRWG_FK. Please report this error to Advantica. +DORO_ENQU_FK|Application Error: Attempting to violate foreign key constraint DORO_ENQU_FK. Please report this error to Advantica. DORO_PK|Attempting to create a duplicate Document_Roles entry -DORO_QUTE_FK|Application Error: Attempting to violate foreign key constraint DORO_QUTE_FK. Please re -DORO_RT_FK|Application Error: Attempting to violate foreign key constraint DORO_RT_FK. Please report +DORO_QUTE_FK|Application Error: Attempting to violate foreign key constraint DORO_QUTE_FK. Please report this error to Advantica. +DORO_RT_FK|Application Error: Attempting to violate foreign key constraint DORO_RT_FK. Please report this error to Advantica. DOST_PK|Attempting to create a duplicate Document_Status_Types entry DRWG_PK|Attempting to create a duplicate Drawings entry -ENEV_ENQU_FK|Application Error: Attempting to violate foreign key constraint ENEV_ENQU_FK. Please re -ENEV_ENST_FK|Application Error: Attempting to violate foreign key constraint ENEV_ENST_FK. Please re +ENEV_ENQU_FK|Application Error: Attempting to violate foreign key constraint ENEV_ENQU_FK. Please report this error to Advantica. +ENEV_ENST_FK|Application Error: Attempting to violate foreign key constraint ENEV_ENST_FK. Please report this error to Advantica. ENEV_PK|Attempting to create a duplicate Enquiry_Events entry -ENQU_ALTY_FK|Application Error: Attempting to violate foreign key constraint ENQU_ALTY_FK. Please re -ENQU_CACA_FK|Application Error: Attempting to violate foreign key constraint ENQU_CACA_FK. Please re -ENQU_COMT_AGENT_FK|Application Error: Attempting to violate foreign key constraint ENQU_COMT_AGENT_F -ENQU_ENTY_FK|Application Error: Attempting to violate foreign key constraint ENQU_ENTY_FK. Please re -QUIT_MODU_FK|Application Error: Attempting to violate foreign key constraint QUIT_MODU_FK. Please re +ENQU_ALTY_FK|Application Error: Attempting to violate foreign key constraint ENQU_ALTY_FK. Please report this error to Advantica. +ENQU_CACA_FK|Application Error: Attempting to violate foreign key constraint ENQU_CACA_FK. Please report this error to Advantica. +ENQU_COMT_AGENT_FK|Application Error: Attempting to violate foreign key constraint ENQU_COMT_AGENT_FK. Please report this error to Advantica. +ENQU_ENTY_FK|Application Error: Attempting to violate foreign key constraint ENQU_ENTY_FK. Please report this error to Advantica. +QUIT_MODU_FK|Application Error: Attempting to violate foreign key constraint QUIT_MODU_FK. Please report this error to Advantica. QUIT_PK|Attempting to create a duplicate Quote_Items entry -QUIT_QUTE_FK|Application Error: Attempting to violate foreign key constraint QUIT_QUTE_FK. Please re -QUIT_SVCPT_FK|Application Error: Attempting to violate foreign key constraint QUIT_SVCPT_FK. Please -QURE_ENQU_FK|Application Error: Attempting to violate foreign key constraint QURE_ENQU_FK. Please re +QUIT_QUTE_FK|Application Error: Attempting to violate foreign key constraint QUIT_QUTE_FK. Please report this error to Advantica. +QUIT_SVCPT_FK|Application Error: Attempting to violate foreign key constraint QUIT_SVCPT_FK. Please report this error to Advantica. +QURE_ENQU_FK|Application Error: Attempting to violate foreign key constraint QURE_ENQU_FK. Please report this error to Advantica. QURE_PK|Attempting to create a duplicate Quote_Reasoning entry QURO_PK|Attempting to create a duplicate Quote_Roles entry -QURO_PRTY_FK|Application Error: Attempting to violate foreign key constraint QURO_PRTY_FK. Please re -QURO_QUTE_FK|Application Error: Attempting to violate foreign key constraint QURO_QUTE_FK. Please re -QURO_RT_FK|Application Error: Attempting to violate foreign key constraint QURO_RT_FK. Please report +QURO_PRTY_FK|Application Error: Attempting to violate foreign key constraint QURO_PRTY_FK. Please report this error to Advantica. +QURO_QUTE_FK|Application Error: Attempting to violate foreign key constraint QURO_QUTE_FK. Please report this error to Advantica. +QURO_RT_FK|Application Error: Attempting to violate foreign key constraint QURO_RT_FK. Please report this error to Advantica. QUST_PK|Attempting to create a duplicate Quote_Statuses entry -QUTE_ENQU_FK|Application Error: Attempting to violate foreign key constraint QUTE_ENQU_FK. Please re +QUTE_ENQU_FK|Application Error: Attempting to violate foreign key constraint QUTE_ENQU_FK. Please report this error to Advantica. QUTE_PK|Attempting to create a duplicate Quotes entry -REEX_ADIT_FK|Application Error: Attempting to violate foreign key constraint REEX_ADIT_FK. Please re -REEX_ENTY_FK|Application Error: Attempting to violate foreign key constraint REEX_ENTY_FK. Please re +REEX_ADIT_FK|Application Error: Attempting to violate foreign key constraint REEX_ADIT_FK. Please report this error to Advantica. +REEX_ENTY_FK|Application Error: Attempting to violate foreign key constraint REEX_ENTY_FK. Please report this error to Advantica. REEX_PK|Attempting to create a duplicate Regi_Enqu_Exclusions entry -REEX_REEX_UK|Attempting to enter a duplicate value (defined by unique constraintREEX_REEX_UK). -REEX_REGI_FK|Application Error: Attempting to violate foreign key constraint REEX_REGI_FK. Please re +REEX_REEX_UK|This Non-Tripartite Exclusion has already been defined +REEX_REGI_FK|Application Error: Attempting to violate foreign key constraint REEX_REGI_FK. Please report this error to Advantica. REGI_PK|Attempting to create a duplicate Regions entry REGU_PK|Attempting to create a duplicate Regulators entry -REGU_RETY_FK|Application Error: Attempting to violate foreign key constraint REGU_RETY_FK. Please re +REGU_RETY_FK|Application Error: Attempting to violate foreign key constraint REGU_RETY_FK. Please report this error to Advantica. RETY_PK|Attempting to create a duplicate Regulator_Types entry REVA_PK|Attempting to create a duplicate Relief_Valves entry -REVA_RVTY_FK|Application Error: Attempting to violate foreign key constraint REVA_RVTY_FK. Please re +REVA_RVTY_FK|Application Error: Attempting to violate foreign key constraint REVA_RVTY_FK. Please report this error to Advantica. RT_PK|Attempting to create a duplicate Role_Types entry RVTY_PK|Attempting to create a duplicate Relief_Valve_Types entry SLTY_PK|Attempting to create a duplicate Slamshut_Types entry SLVA_PK|Attempting to create a duplicate Slamshut_Valves entry -SLVA_SLTY_FK|Application Error: Attempting to violate foreign key constraint SLVA_SLTY_FK. Please re +SLVA_SLTY_FK|Application Error: Attempting to violate foreign key constraint SLVA_SLTY_FK. Please report this error to Advantica. SVCPT_PK|Attempting to create a duplicate Service_Pressure_Types entry SVCP_PK|Attempting to create a duplicate Service_Pressures entry -SVCP_SVCPT_FK|Application Error: Attempting to violate foreign key constraint SVCP_SVCPT_FK. Please +SVCP_SVCPT_FK|Application Error: Attempting to violate foreign key constraint SVCP_SVCPT_FK. Please report this error to Advantica. SYCO_PK|Attempting to create a duplicate System_Configuration entry -PREL_PARL_FROM_FK|Application Error: Attempting to violate foreign key constraint PREL_PARL_FROM_FK. -PREL_PARL_TO_FK|Application Error: Attempting to violate foreign key constraint PREL_PARL_TO_FK. Ple +PREL_PARL_FROM_FK|Application Error: Attempting to violate foreign key constraint PREL_PARL_FROM_FK. Please report this error to Advantica. +PREL_PARL_TO_FK|Application Error: Attempting to violate foreign key constraint PREL_PARL_TO_FK. Please report this error to Advantica. PREL_PK|Attempting to create a duplicate Party_Relationships entry -PREL_PRTP_FK|Application Error: Attempting to violate foreign key constraint PREL_PRTP_FK. Please re +PREL_PRTP_FK|Application Error: Attempting to violate foreign key constraint PREL_PRTP_FK. Please report this error to Advantica. PRTP_PK|Attempting to create a duplicate Party_Relationship_Types entry -PRTP_RT_FK|Application Error: Attempting to violate foreign key constraint PRTP_RT_FK. Please report -PRTP_RT_FROM_FK|Application Error: Attempting to violate foreign key constraint PRTP_RT_FROM_FK. Ple -PRTY_MANU_MANU_REF_UK|Attempting to enter a duplicate value (defined by unique constraintPRTY_MANU_M -PRTY_MKTP_MKTP_REF_UK|Attempting to enter a duplicate value (defined by unique constraintPRTY_MKTP_M +PRTP_RT_FK|Application Error: Attempting to violate foreign key constraint PRTP_RT_FK. Please report this error to Advantica. +PRTP_RT_FROM_FK|Application Error: Attempting to violate foreign key constraint PRTP_RT_FROM_FK. Please report this error to Advantica. +PRTY_MANU_MANU_REF_UK|Attempting to enter a duplicate value (defined by unique constraint PRTY_MANU_MANU_REF_UK). +PRTY_MKTP_MKTP_REF_UK|Attempting to enter a duplicate value (defined by unique constraint PRTY_MKTP_MKTP_REF_UK). PRTY_PK|Attempting to create a duplicate Parties entry PWD_PK|Attempting to create a duplicate Passwords entry -PWD_PRTY_FK|Application Error: Attempting to violate foreign key constraint PWD_PRTY_FK. Please repo +PWD_PRTY_FK|Application Error: Attempting to violate foreign key constraint PWD_PRTY_FK. Please report this error to Advantica. QUEV_PK|Attempting to create a duplicate Quote_Events entry -QUEV_QUST_FK|Application Error: Attempting to violate foreign key constraint QUEV_QUST_FK. Please re -QUEV_QUTE_FK|Application Error: Attempting to violate foreign key constraint QUEV_QUTE_FK. Please re -QUIT_ADIT_FK|Application Error: Attempting to violate foreign key constraint QUIT_ADIT_FK. Please re -QUIT_BAS_FK|Application Error: Attempting to violate foreign key constraint QUIT_BAS_FK. Please repo -QUIT_ENTY_FK|Application Error: Attempting to violate foreign key constraint QUIT_ENTY_FK. Please re -QUIT_HOU_FK|Application Error: Attempting to violate foreign key constraint QUIT_HOU_FK. Please repo -QUIT_MESC_FK|Application Error: Attempting to violate foreign key constraint QUIT_MESC_FK. Please re -QUIT_METY_FK|Application Error: Attempting to violate foreign key constraint QUIT_METY_FK. Please re -ENQU_MESC_EXISTING_FK|Application Error: Attempting to violate foreign key constraint ENQU_MESC_EXIS -ENQU_MESC_REQUIRED_FK|Application Error: Attempting to violate foreign key constraint ENQU_MESC_REQU -ENQU_METY_FK|Application Error: Attempting to violate foreign key constraint ENQU_METY_FK. Please re +QUEV_QUST_FK|Application Error: Attempting to violate foreign key constraint QUEV_QUST_FK. Please report this error to Advantica. +QUEV_QUTE_FK|Application Error: Attempting to violate foreign key constraint QUEV_QUTE_FK. Please report this error to Advantica. +QUIT_ADIT_FK|Application Error: Attempting to violate foreign key constraint QUIT_ADIT_FK. Please report this error to Advantica. +QUIT_BAS_FK|Application Error: Attempting to violate foreign key constraint QUIT_BAS_FK. Please report this error to Advantica. +QUIT_ENTY_FK|Application Error: Attempting to violate foreign key constraint QUIT_ENTY_FK. Please report this error to Advantica. +QUIT_HOU_FK|Application Error: Attempting to violate foreign key constraint QUIT_HOU_FK. Please report this error to Advantica. +QUIT_MESC_FK|Application Error: Attempting to violate foreign key constraint QUIT_MESC_FK. Please report this error to Advantica. +QUIT_METY_FK|Application Error: Attempting to violate foreign key constraint QUIT_METY_FK. Please report this error to Advantica. +ENQU_MESC_EXISTING_FK|Application Error: Attempting to violate foreign key constraint ENQU_MESC_EXISTING_FK. Please report this error to Advantica. +ENQU_MESC_REQUIRED_FK|Application Error: Attempting to violate foreign key constraint ENQU_MESC_REQUIRED_FK. Please report this error to Advantica. +ENQU_METY_FK|Application Error: Attempting to violate foreign key constraint ENQU_METY_FK. Please report this error to Advantica. ENQU_PK|Attempting to create a duplicate Enquiries entry -ENQU_SVCP_REQUIRED_FK|Application Error: Attempting to violate foreign key constraint ENQU_SVCP_REQU -ENRO_ENQU_FK|Application Error: Attempting to violate foreign key constraint ENRO_ENQU_FK. Please re +ENQU_SVCP_REQUIRED_FK|Application Error: Attempting to violate foreign key constraint ENQU_SVCP_REQUIRED_FK. Please report this error to Advantica. +ENRO_ENQU_FK|Application Error: Attempting to violate foreign key constraint ENRO_ENQU_FK. Please report this error to Advantica. ENRO_PK|Attempting to create a duplicate Enquiry_Roles entry -ENRO_PRTY_FK|Application Error: Attempting to violate foreign key constraint ENRO_PRTY_FK. Please re -ENRO_RT_FK|Application Error: Attempting to violate foreign key constraint ENRO_RT_FK. Please report +ENRO_PRTY_FK|Application Error: Attempting to violate foreign key constraint ENRO_PRTY_FK. Please report this error to Advantica. +ENRO_RT_FK|Application Error: Attempting to violate foreign key constraint ENRO_RT_FK. Please report this error to Advantica. ENST_PK|Attempting to create a duplicate Enquiry_Status_Types entry +ENTY_ADIT_MUTEX|Must enter EITHER enquiry type OR additional item ENTY_PK|Attempting to create a duplicate Enquiry_Types entry ERLO_PK|Attempting to create a duplicate Error_Logs entry EXME_PK|Attempting to create a duplicate Exception_Messages entry FITY_PK|Attempting to create a duplicate Filter_Types entry -FLTR_FITY_FK|Application Error: Attempting to violate foreign key constraint FLTR_FITY_FK. Please re +FLTR_FITY_FK|Application Error: Attempting to violate foreign key constraint FLTR_FITY_FK. Please report this error to Advantica. FLTR_PK|Attempting to create a duplicate Filters entry HOTY_PK|Attempting to create a duplicate Housing_Types entry -HOU_DRWG_FK|Application Error: Attempting to violate foreign key constraint HOU_DRWG_FK. Please repo -HOU_HOTY_FK|Application Error: Attempting to violate foreign key constraint HOU_HOTY_FK. Please repo +HOU_DRWG_FK|Application Error: Attempting to violate foreign key constraint HOU_DRWG_FK. Please report this error to Advantica. +HOU_HOTY_FK|Application Error: Attempting to violate foreign key constraint HOU_HOTY_FK. Please report this error to Advantica. HOU_PK|Attempting to create a duplicate Housings entry -HOU_PRTY_FK|Application Error: Attempting to violate foreign key constraint HOU_PRTY_FK. Please repo -LETI_ENTY_FK|Application Error: Attempting to violate foreign key constraint LETI_ENTY_FK. Please re -LETI_MESC_FK|Application Error: Attempting to violate foreign key constraint LETI_MESC_FK. Please re -LETI_METY_FK|Application Error: Attempting to violate foreign key constraint LETI_METY_FK. Please re +HOU_PRTY_FK|Application Error: Attempting to violate foreign key constraint HOU_PRTY_FK. Please report this error to Advantica. +LETI_ENTY_FK|Application Error: Attempting to violate foreign key constraint LETI_ENTY_FK. Please report this error to Advantica. +LETI_MESC_FK|Application Error: Attempting to violate foreign key constraint LETI_MESC_FK. Please report this error to Advantica. +LETI_METY_FK|Application Error: Attempting to violate foreign key constraint LETI_METY_FK. Please report this error to Advantica. LETI_PK|Attempting to create a duplicate Lead_Times entry -LETI_SVCPT_FK|Application Error: Attempting to violate foreign key constraint LETI_SVCPT_FK. Please +LETI_SVCPT_FK|Application Error: Attempting to violate foreign key constraint LETI_SVCPT_FK. Please report this error to Advantica. MESC_PK|Attempting to create a duplicate Meter_Size_Codes entry -METR_DRWG_FK|Application Error: Attempting to violate foreign key constraint METR_DRWG_FK. Please re -METR_METY_FK|Application Error: Attempting to violate foreign key constraint METR_METY_FK. Please re +METR_DRWG_FK|Application Error: Attempting to violate foreign key constraint METR_DRWG_FK. Please report this error to Advantica. +METR_METY_FK|Application Error: Attempting to violate foreign key constraint METR_METY_FK. Please report this error to Advantica. METR_PK|Attempting to create a duplicate Meters entry -METR_PRTY_FK|Application Error: Attempting to violate foreign key constraint METR_PRTY_FK. Please re +METR_PRTY_FK|Application Error: Attempting to violate foreign key constraint METR_PRTY_FK. Please report this error to Advantica. METY_PK|Attempting to create a duplicate Meter_Types entry -MODU_BAS_FK|Application Error: Attempting to violate foreign key constraint MODU_BAS_FK. Please repo -MODU_CNOR_INLET_FK|Application Error: Attempting to violate foreign key constraint MODU_CNOR_INLET_F -MODU_CNOR_OUTLET_FK|Application Error: Attempting to violate foreign key constraint MODU_CNOR_OUTLET -MODU_CNTY_INLET_FK|Application Error: Attempting to violate foreign key constraint MODU_CNTY_INLET_F -MODU_CNTY_OUTLET_FK|Application Error: Attempting to violate foreign key constraint MODU_CNTY_OUTLET -MODU_DRWG_FK|Application Error: Attempting to violate foreign key constraint MODU_DRWG_FK. Please re -MODU_FLTR_FK|Application Error: Attempting to violate foreign key constraint MODU_FLTR_FK. Please re -MODU_HOU_FK|Application Error: Attempting to violate foreign key constraint MODU_HOU_FK. Please repo -MODU_METR_FK|Application Error: Attempting to violate foreign key constraint MODU_METR_FK. Please re +MODU_BAS_FK|Application Error: Attempting to violate foreign key constraint MODU_BAS_FK. Please report this error to Advantica. +MODU_CNOR_INLET_FK|Application Error: Attempting to violate foreign key constraint MODU_CNOR_INLET_FK. Please report this error to Advantica. +MODU_CNOR_OUTLET_FK|Application Error: Attempting to violate foreign key constraint MODU_CNOR_OUTLET_FK. Please report this error to Advantica. +MODU_CNTY_INLET_FK|Application Error: Attempting to violate foreign key constraint MODU_CNTY_INLET_FK. Please report this error to Advantica. +MODU_CNTY_OUTLET_FK|Application Error: Attempting to violate foreign key constraint MODU_CNTY_OUTLET_FK. Please report this error to Advantica. +MODU_DRWG_FK|Application Error: Attempting to violate foreign key constraint MODU_DRWG_FK. Please report this error to Advantica. +MODU_FLTR_FK|Application Error: Attempting to violate foreign key constraint MODU_FLTR_FK. Please report this error to Advantica. +MODU_HOU_FK|Application Error: Attempting to violate foreign key constraint MODU_HOU_FK. Please report this error to Advantica. +MODU_METR_FK|Application Error: Attempting to violate foreign key constraint MODU_METR_FK. Please report this error to Advantica. MODU_PK|Attempting to create a duplicate Modules entry -MODU_PRTY_FK|Application Error: Attempting to violate foreign key constraint MODU_PRTY_FK. Please re -MODU_REGU_FK|Application Error: Attempting to violate foreign key constraint MODU_REGU_FK. Please re -MODU_REVA_FK|Application Error: Attempting to violate foreign key constraint MODU_REVA_FK. Please re -MODU_SLVA_FK|Application Error: Attempting to violate foreign key constraint MODU_SLVA_FK. Please re -MODU_SVCP_FK|Application Error: Attempting to violate foreign key constraint MODU_SVCP_FK. Please re -PADDR_ADDR_FK|Application Error: Attempting to violate foreign key constraint PADDR_ADDR_FK. Please +MODU_PRTY_FK|Application Error: Attempting to violate foreign key constraint MODU_PRTY_FK. Please report this error to Advantica. +MODU_REGU_FK|Application Error: Attempting to violate foreign key constraint MODU_REGU_FK. Please report this error to Advantica. +MODU_REVA_FK|Application Error: Attempting to violate foreign key constraint MODU_REVA_FK. Please report this error to Advantica. +MODU_SLVA_FK|Application Error: Attempting to violate foreign key constraint MODU_SLVA_FK. Please report this error to Advantica. +MODU_SVCP_FK|Application Error: Attempting to violate foreign key constraint MODU_SVCP_FK. Please report this error to Advantica. +PADDR_ADDR_FK|Application Error: Attempting to violate foreign key constraint PADDR_ADDR_FK. Please report this error to Advantica. PADDR_PK|Attempting to create a duplicate Party_Addresses entry -PADDR_PRTY_FK|Application Error: Attempting to violate foreign key constraint PADDR_PRTY_FK. Please +PADDR_PRTY_FK|Application Error: Attempting to violate foreign key constraint PADDR_PRTY_FK. Please report this error to Advantica. PARL_PK|Attempting to create a duplicate Party_Roles entry -PARL_PRTP_MISMATCH|Application Error: Attempting to violate check constraint PARL_PRTP_MISMATCH. Ple -PARL_PRTY_FK|Application Error: Attempting to violate foreign key constraint PARL_PRTY_FK. Please re -PARL_RT_FK|Application Error: Attempting to violate foreign key constraint PARL_RT_FK. Please report -PAR_PADDR_FK|Application Error: Attempting to violate foreign key constraint PAR_PADDR_FK. Please re +PARL_PRTP_MISMATCH|Application Error: Attempting to violate check constraint PARL_PRTP_MISMATCH. Please report this error to Advantica. +PARL_PRTY_FK|Application Error: Attempting to violate foreign key constraint PARL_PRTY_FK. Please report this error to Advantica. +PARL_RT_FK|Application Error: Attempting to violate foreign key constraint PARL_RT_FK. Please report this error to Advantica. +PAR_PADDR_FK|Application Error: Attempting to violate foreign key constraint PAR_PADDR_FK. Please report this error to Advantica. PAR_PK|Attempting to create a duplicate Party_Address_Roles entry -PAR_RT_FK|Application Error: Attempting to violate foreign key constraint PAR_RT_FK. Please report t -PCMR_PCM_FK|Application Error: Attempting to violate foreign key constraint PCMR_PCM_FK. Please repo +PAR_RT_FK|Application Error: Attempting to violate foreign key constraint PAR_RT_FK. Please report this error to Advantica. +PCMR_PCM_FK|Application Error: Attempting to violate foreign key constraint PCMR_PCM_FK. Please report this error to Advantica. PCMR_PK|Attempting to create a duplicate Party_Contact_Mechanism_Roles entry -PCMR_RT_FK|Application Error: Attempting to violate foreign key constraint PCMR_RT_FK. Please report -PCM_COME_FK|Application Error: Attempting to violate foreign key constraint PCM_COME_FK. Please repo -PCM_PADDR_FK|Application Error: Attempting to violate foreign key constraint PCM_PADDR_FK. Please re +PCMR_RT_FK|Application Error: Attempting to violate foreign key constraint PCMR_RT_FK. Please report this error to Advantica. +PCM_COME_FK|Application Error: Attempting to violate foreign key constraint PCM_COME_FK. Please report this error to Advantica. +PCM_PADDR_FK|Application Error: Attempting to violate foreign key constraint PCM_PADDR_FK. Please report this error to Advantica. PCM_PK|Attempting to create a duplicate Party_Contact_Mechanisms entry -PCM_PRTY_FK|Application Error: Attempting to violate foreign key constraint PCM_PRTY_FK. Please repo +PCM_PRTY_FK|Application Error: Attempting to violate foreign key constraint PCM_PRTY_FK. Please report this error to Advantica. POCO_PK|Attempting to create a duplicate Postcodes entry -POCO_POCO_UK|Attempting to enter a duplicate value (defined by unique constraintPOCO_POCO_UK). -POCO_REGI_FK|Application Error: Attempting to violate foreign key constraint POCO_REGI_FK. Please re +POCO_POCO_UK|Attempting to create a duplicate Postcodes entry +POCO_REGI_FK|Application Error: Attempting to violate foreign key constraint POCO_REGI_FK. Please report this error to Advantica. diff --git a/Data/Test/apex_auto_install.rb b/Data/Test/apex_auto_install.rb index 2606b25..f63423a 100644 --- a/Data/Test/apex_auto_install.rb +++ b/Data/Test/apex_auto_install.rb @@ -1,18 +1,18 @@ -#requires +# #requires require 'watir' -#email stuff +# #email stuff require 'net/smtp' -#used to handle javascript popups +# #used to handle javascript popups require 'watir/contrib/enabled_popup' require 'watir/WindowHelper' -# +# # Method to handle javascript popups. -# +# require 'thread' -# +# require 'win32ole' -# +# def startClicker( button , waitTime = 3) w = WinClicker.new longName = @@ie.dir.gsub("/" , "\\" ) @@ -26,32 +26,43 @@ end -#includes +# #includes include Watir @@ie = IE.new -@@ie.visible= false -#set the speed of watir +@@ie.visible= true +# #set the speed of watir @@ie.speed = :fast -#backup 2 directories +# #backup 2 directories Dir.chdir('..') Dir.chdir('..') -#we're in windows, so replace the forwards with the backs +# #we're in windows, so replace the forwards with the backs workingdir = Dir.getwd.to_s.gsub!('/','\\') -#Set constants for import +# #Set constants for import ORIGINAL_APP_ID = '155' NEW_APP_ID = '102' -SCHEMA = 'MIP_TEST' +SCHEMA = ARGV[0].upcase if ARGV[0] +SCHEMA = 'MIP_TEST' if !ARGV[0] APEX_EXPORT_SCRIPTS_DIR = workingdir +'\\Screens\\' APPLICATION_SCRIPT = 'f155.sql' CSS_SCRIPT = 'css.sql' IMAGES_SCRIPT = 'f155_img.sql' THEME_SCRIPT = 'f155_theme_101.sql' ADID = '4550' #APEX admin identifier -WORKSPACE = 'MIP_TEST' +WORKSPACE = ARGV[1].upcase if ARGV[1] +WORKSPACE = 'MIP_TEST' if !ARGV[1] USER = 'ADMIN' PASSWORD = 'password' DELETE_PREVIOUS_IMPORTS = false - +# +def login(p_workspace, p_user, p_password) + @@ie.goto("http://loordv01/pls/apex/f?p=#{ADID}:1") + @@ie.text_field(:id, "F#{ADID}_P1_COMPANY").set(p_workspace) + @@ie.text_field(:id, "F#{ADID}_P1_USERNAME").set(p_user) + @@ie.text_field(:id, "F#{ADID}_P1_PASSWORD").set(p_password) + @@ie.button(:value, 'Login').click + @@ie.wait +end + def importpageone (p_file, p_file_type, p_charset) @@ie.link(:title, 'Application Builder').click @@ie.wait @@ -66,19 +77,39 @@ def importpageone (p_file, p_file_type, p_charset) @@ie.wait end -begin - #Login - @@ie.goto("http://loordv01/pls/apex/f?p=#{ADID}:1") - @@ie.text_field(:id, "F#{ADID}_P1_COMPANY").set(WORKSPACE) - @@ie.text_field(:id, "F#{ADID}_P1_USERNAME").set(USER) - @@ie.text_field(:id, "F#{ADID}_P1_PASSWORD").set(PASSWORD) - @@ie.button(:value, 'Login').click +# +# this doesn't work as the P107_COMPANY is a javascript screen pop up thingy +def associateschema(p_workspace, p_schema) + login('INTERNAL','ADMIN','password') + @@ie.link(:title,'Manage Workspaces').click @@ie.wait - #Import Application export file + @@ie.link(:title,'Manage Workspace to Schema Assignments').click + @@ie.button(:value, 'Create >').click + @@ie.wait + @@ie.radio(:id, 'P105_NEW_0' ).set + @@ie.wait + @@ie.button(:value, 'Next >').click + @@ie.wait + @@ie.text_field(:id, "P107_COMPANY" ).set(p_workspace) + @@ie.button(:value, 'Next >').click + @@ie.wait + @@ie.select_list(:id, "P106_SCHEMA").select p_schema + @@ie.wait + @@ie.button(:value, "Add Schema").click + @@ie.wait + @@ie.link('Logout').click +end + +begin + # #Firstly, associate the schema with the workspace + # associateschema(WORKSPACE, SCHEMA) + # #Login + login(WORKSPACE, USER, PASSWORD) + # #Import Application export file importpageone(APEX_EXPORT_SCRIPTS_DIR+APPLICATION_SCRIPT, - 'Application, Page or Component Export', - 'Western European Windows 1252') - #parse page + 'Application, Page or Component Export', + 'Western European Windows 1252') + # #parse page @@ie.select_list(:id, "P49_PARSE_AS" ).select(SCHEMA) @@ie.select_list(:id, "P49_BUILD_STATUS" ).select 'Run and Build Application' @@ie.radio(:id, "P49_NEW_FLOW_OPT_2" ).set @@ -86,53 +117,53 @@ begin @@ie.text_field(:id, "P49_NEW_FLOW_ID").set(NEW_APP_ID) @@ie.button(:value, 'Install').click @@ie.wait - #This button won't appear the first time the import occurs + # #This button won't appear the first time the import occurs if @@ie.button(:value, 'Replace Existing Application '+NEW_APP_ID).exists? @@ie.button(:value, 'Replace Existing Application '+NEW_APP_ID).click @@ie.wait end - #Install Supporting objects + # #Install Supporting objects @@ie.radio(:id, "P2100_ACTION_0" ).set @@ie.button(:value, 'Next >').click @@ie.wait @@ie.button(:value, 'Install').click @@ie.wait - #Install CSS + # #Install CSS - #Need to delete the existing CSS file before installing a new one - #have decided to just install the application for the moment. - #back to install page start + # #Need to delete the existing CSS file before installing a new one #have + # decided to just install the application for the moment. #back to install + # page start - #importpageone(APEX_EXPORT_SCRIPTS_DIR+CSS_SCRIPT, + # #importpageone(APEX_EXPORT_SCRIPTS_DIR+CSS_SCRIPT, # 'CSS Export', # 'Western European Windows 1252') if DELETE_PREVIOUS_IMPORTS - #er this code does not work from the Loordv001 box - #it will run on JP's machine if this code is run from a - #dos prompt - it's an issue with ruby trying to spawn a - #new thead to look for the open dialogue box + # #er this code does not work from the Loordv001 box #it will run on JP's + # machine if this code is run from a #dos prompt - it's an issue with ruby + # trying to spawn a #new thead to look for the open dialogue box @@ie.link(:title, 'Manage Export Repository').click @@ie.wait @@ie.checkboxes.each { |c| c.set } - #Click the annoying are you sure button that pops up + # #Click the annoying are you sure button that pops up startClicker("OK", 1) @@ie.button(:value, 'Delete Checked').click @@ie.wait end + @@ie.close rescue StandardError => anyerror -#Hopefully we never get here but, we'll try and send an email if the -#script errors so we can fix it -#don't leave memory hungry instances of ie running if we get an error -@@ie.close + # #Hopefully we never get here but, we'll try and send an email if the #script + # errors so we can fix it #don't leave memory hungry instances of ie running + # if we get an error + @@ie.close -#build the email -from_addr = 'jamie.priest@advantica.com' -to_addr = 'jamie.priest@advanticagroup.com' -project = 'webMIP test build process' -emailtext = < To: Jamie Priest <#{to_addr}> Subject: #{project} automated test failure diff --git a/InstallMIP.cmd b/InstallMIP.cmd index 73ed498..e39a671 100644 --- a/InstallMIP.cmd +++ b/InstallMIP.cmd @@ -49,7 +49,7 @@ cd Data\test call InstallData %3/%4@%5 @echo Installed Test data @echo Installing Test application in APEX... -ruby apex_auto_install.rb +ruby apex_auto_install.rb %3 cd ..\.. @echo Test Complete @@ -62,7 +62,7 @@ cd Data\fat call InstallData %3/%4@%5 @echo Installed fat data @echo Installing fat application in APEX... -ruby apex_auto_install.rb +ruby apex_auto_install.rb %3 cd ..\.. @echo fat install Complete @@ -75,7 +75,7 @@ cd Data\sat call InstallData %3/%4@%5 @echo Installed sat data @echo Installing sat application in APEX... -ruby apex_auto_install.rb +ruby apex_auto_install.rb %3 cd ..\.. @echo sat install Complete @@ -103,7 +103,7 @@ cd Data\live call InstallData %3/%4@%5 @echo Installed live data @echo Installing live application in APEX... -ruby apex_auto_install.rb +ruby apex_auto_install.rb %3 cd ..\.. @echo live install Complete diff --git a/Modules/mip_friendly_messages.pck b/Modules/mip_friendly_messages.pck index 40f46b3..35037be 100644 --- a/Modules/mip_friendly_messages.pck +++ b/Modules/mip_friendly_messages.pck @@ -92,8 +92,7 @@ CREATE OR REPLACE PACKAGE BODY mip_friendly_messages IS l_msg := l_ora_msg; END IF; - htp.prn(to_char(SYSDATE - ,'hh24:mi:ss') || ' ' || l_msg); + htp.prn(l_msg); END get_friendly_message; END mip_friendly_messages; diff --git a/Schema/mip.con b/Schema/mip.con index 6349681..e9f1792 100644 --- a/Schema/mip.con +++ b/Schema/mip.con @@ -1,6 +1,6 @@ -- C:\Andy\svn\WEBMIP\Schema\mip.con -- --- Generated for Oracle 10g on Wed Feb 20 16:23:35 2008 by Server Generator 10.1.2.6.18 +-- Generated for Oracle 10g on Thu Feb 21 11:43:47 2008 by Server Generator 10.1.2.6.18 PROMPT Creating Primary Key on 'SYSTEM_CONFIGURATION' ALTER TABLE SYSTEM_CONFIGURATION @@ -501,28 +501,28 @@ ALTER TABLE REGI_ENQU_EXCLUSIONS PROMPT Creating Check Constraint on 'METER_SIZE_CODES' ALTER TABLE METER_SIZE_CODES - ADD (CONSTRAINT AVCON_1203524614_VALID_000 CHECK (VALID_FOR_EXISTING_METER IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_VALID_000 CHECK (VALID_FOR_EXISTING_METER IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'METER_SIZE_CODES' ALTER TABLE METER_SIZE_CODES - ADD (CONSTRAINT AVCON_1203524614_VALID_001 CHECK (VALID_FOR_NEW_METER IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_VALID_001 CHECK (VALID_FOR_NEW_METER IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'COSTS' ALTER TABLE COSTS - ADD (CONSTRAINT AVCON_1203524614_COST__000 CHECK (COST_TYPE + ADD (CONSTRAINT AVCON_1203594226_COST__000 CHECK (COST_TYPE IN ('LACO', 'BACO', 'MOCO', 'MECO', 'AICO', 'HOCO', 'COST'))) / PROMPT Creating Check Constraint on 'DOCUMENTS' ALTER TABLE DOCUMENTS - ADD (CONSTRAINT AVCON_1203524614_DOCU__000 CHECK (DOCU_TYPE IN ('DOCU', 'INDO', 'EXDO', 'FIDO'))) + ADD (CONSTRAINT AVCON_1203594226_DOCU__000 CHECK (DOCU_TYPE IN ('DOCU', 'INDO', 'EXDO', 'FIDO'))) / PROMPT Creating Check Constraint on 'QUOTES' ALTER TABLE QUOTES - ADD (CONSTRAINT AVCON_1203524614_QUTE__000 CHECK (QUTE_TYPE IN ('AQ', 'MQ', 'QUTE'))) + ADD (CONSTRAINT AVCON_1203594226_QUTE__000 CHECK (QUTE_TYPE IN ('AQ', 'MQ', 'QUTE'))) / PROMPT Creating Check Constraint on 'PARTY_RELATIONSHIPS' @@ -534,17 +534,17 @@ to_parl_rt_code = to_prtp_rt_code)) PROMPT Creating Check Constraint on 'PARTIES' ALTER TABLE PARTIES - ADD (CONSTRAINT AVCON_1203524614_TRIPA_000 CHECK (TRIPARTITE_MEMBER IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_TRIPA_000 CHECK (TRIPARTITE_MEMBER IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'PARTIES' ALTER TABLE PARTIES - ADD (CONSTRAINT AVCON_1203524614_STATU_000 CHECK (STATUS IN ('OPEN', 'EXPIRED', 'LOCKED'))) + ADD (CONSTRAINT AVCON_1203594226_STATU_000 CHECK (STATUS IN ('OPEN', 'EXPIRED', 'LOCKED'))) / PROMPT Creating Check Constraint on 'PARTIES' ALTER TABLE PARTIES - ADD (CONSTRAINT AVCON_1203524614_PRTY__000 CHECK (PRTY_TYPE + ADD (CONSTRAINT AVCON_1203594226_PRTY__000 CHECK (PRTY_TYPE IN ('PRTY', 'IO', 'EO', 'MKTP', 'PERS', 'MANU', 'NEMP', 'EMP', 'ORG' ))) / @@ -562,84 +562,91 @@ OR PROMPT Creating Check Constraint on 'DOCUMENT_ROLES' ALTER TABLE DOCUMENT_ROLES - ADD (CONSTRAINT AVCON_1203524614_DORO__000 CHECK (DORO_TYPE IN ('DRRO', 'DORO', 'ENDO', 'QUDO'))) + ADD (CONSTRAINT AVCON_1203594226_DORO__000 CHECK (DORO_TYPE IN ('DRRO', 'DORO', 'ENDO', 'QUDO'))) / PROMPT Creating Check Constraint on 'QUOTE_ITEMS' ALTER TABLE QUOTE_ITEMS - ADD (CONSTRAINT AVCON_1203524614_QUIT__000 CHECK (QUIT_TYPE IN ('LQI', 'AQI', 'BQI', 'MQI', 'QUIT', 'HQI'))) + ADD (CONSTRAINT AVCON_1203594226_QUIT__000 CHECK (QUIT_TYPE IN ('LQI', 'AQI', 'BQI', 'MQI', 'QUIT', 'HQI'))) / PROMPT Creating Check Constraint on 'ROLE_TYPES' ALTER TABLE ROLE_TYPES - ADD (CONSTRAINT AVCON_1203524614_RT_TY_000 CHECK (RT_TYPE IN ('DORT', 'PART', 'RT', 'PCMRT', 'QURT', 'ENRT', 'PRT'))) + ADD (CONSTRAINT AVCON_1203594226_RT_TY_000 CHECK (RT_TYPE IN ('DORT', 'PART', 'RT', 'PCMRT', 'QURT', 'ENRT', 'PRT'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_DOWNS_000 CHECK (DOWNSTREAM_BOOSTER_OR_COMPRESS IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_DOWNS_000 CHECK (DOWNSTREAM_BOOSTER_OR_COMPRESS IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_INDIC_000 CHECK (INDICATIVE_TIME IN ('DY', 'AM', 'PM'))) + ADD (CONSTRAINT AVCON_1203594226_INDIC_000 CHECK (INDICATIVE_TIME IN ('DY', 'AM', 'PM'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_HOUSI_000 CHECK (HOUSING_REQUIRED IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_HOUSI_000 CHECK (HOUSING_REQUIRED IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_BASE__000 CHECK (BASE_REQUIRED IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_BASE__000 CHECK (BASE_REQUIRED IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_CONVE_000 CHECK (CONVERTOR_REQUIRED IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_CONVE_000 CHECK (CONVERTOR_REQUIRED IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_AMR_R_000 CHECK (AMR_REQUIRED IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_AMR_R_000 CHECK (AMR_REQUIRED IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_EMS_R_000 CHECK (EMS_REQUIRED IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_EMS_R_000 CHECK (EMS_REQUIRED IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_TWIN__000 CHECK (TWIN_STREAM_REQUIRED IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_TWIN__000 CHECK (TWIN_STREAM_REQUIRED IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_EXIST_000 CHECK (EXISTING_LOGGER IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_EXIST_000 CHECK (EXISTING_LOGGER IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_LOAD__000 CHECK (LOAD_CONTROL_TYPE IN ('Constant', 'On/Off', 'Modulating'))) + ADD (CONSTRAINT AVCON_1203594226_LOAD__000 CHECK (LOAD_CONTROL_TYPE IN ('Constant', 'On/Off', 'Modulating'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_EXIST_001 CHECK (EXISTING_METER_OWNER IN ('S', 'T', 'C'))) + ADD (CONSTRAINT AVCON_1203594226_EXIST_001 CHECK (EXISTING_METER_OWNER IN ('S', 'T', 'C'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_EXIST_002 CHECK (EXISTING_CONVERTOR IN ('YES', 'NO'))) + ADD (CONSTRAINT AVCON_1203594226_EXIST_002 CHECK (EXISTING_CONVERTOR IN ('YES', 'NO'))) / PROMPT Creating Check Constraint on 'ENQUIRIES' ALTER TABLE ENQUIRIES - ADD (CONSTRAINT AVCON_1203524614_MARKE_000 CHECK (MARKET_SECTOR_CODE IN ('I', 'D'))) + ADD (CONSTRAINT AVCON_1203594226_MARKE_000 CHECK (MARKET_SECTOR_CODE IN ('I', 'D'))) / - + +PROMPT Creating Check Constraint on 'REGI_ENQU_EXCLUSIONS' +ALTER TABLE REGI_ENQU_EXCLUSIONS + ADD (CONSTRAINT ENTY_ADIT_MUTEX CHECK ((enty_code is null +and adit_code is not null) OR (enty_code is not null +and adit_code is null))) +/ + PROMPT Creating Check Constraint on 'ADDRESSES' ALTER TABLE ADDRESSES ADD (CONSTRAINT BUILDING_OR_SUBBUILDING_REQ CHECK (not (building is null and sub_building is null))) diff --git a/Schema/mip.ind b/Schema/mip.ind index 28e0fc7..bc83c62 100644 --- a/Schema/mip.ind +++ b/Schema/mip.ind @@ -1,6 +1,6 @@ -- C:\Andy\svn\WEBMIP\Schema\mip.ind -- --- Generated for Oracle 10g on Wed Feb 20 16:23:35 2008 by Server Generator 10.1.2.6.18 +-- Generated for Oracle 10g on Thu Feb 21 11:43:47 2008 by Server Generator 10.1.2.6.18 PROMPT Creating Index 'REGU_RETY_FK_I' diff --git a/Schema/mip.sql b/Schema/mip.sql index 2f153fc..bacb7fe 100644 --- a/Schema/mip.sql +++ b/Schema/mip.sql @@ -1,6 +1,6 @@ -- C:\Andy\svn\WEBMIP\Schema\mip.sql -- --- Generated for Oracle 10g on Wed Feb 20 16:23:35 2008 by Server Generator 10.1.2.6.18 +-- Generated for Oracle 10g on Thu Feb 21 11:43:47 2008 by Server Generator 10.1.2.6.18 SPOOL mip.lst diff --git a/Schema/mip.sqs b/Schema/mip.sqs index ad2a631..e19697d 100644 --- a/Schema/mip.sqs +++ b/Schema/mip.sqs @@ -1,6 +1,6 @@ -- C:\Andy\svn\WEBMIP\Schema\mip.sqs -- --- Generated for Oracle 10g on Wed Feb 20 16:23:35 2008 by Server Generator 10.1.2.6.18 +-- Generated for Oracle 10g on Thu Feb 21 11:43:47 2008 by Server Generator 10.1.2.6.18 PROMPT Creating Sequence 'FLTR_SEQ' CREATE SEQUENCE FLTR_SEQ diff --git a/Schema/mip.tab b/Schema/mip.tab index a02fe14..2dad1d5 100644 --- a/Schema/mip.tab +++ b/Schema/mip.tab @@ -1,6 +1,6 @@ -- C:\Andy\svn\WEBMIP\Schema\mip.tab -- --- Generated for Oracle 10g on Wed Feb 20 16:23:34 2008 by Server Generator 10.1.2.6.18 +-- Generated for Oracle 10g on Thu Feb 21 11:43:46 2008 by Server Generator 10.1.2.6.18 diff --git a/tests/addontests.rb b/tests/addontests.rb index b342189..e24ab37 100644 --- a/tests/addontests.rb +++ b/tests/addontests.rb @@ -152,15 +152,15 @@ class Test_06_addon_screen < Test::Unit::TestCase #~ assert(@@ie.contains_text('Create/Edit Base'),'The Create/Edit Base screen did not appear') #~ assert(@@ie.text_field(:id, 'P19_CODE').exists?,'The additional item code field is not available') #~ assert(@@ie.text_field(:id, 'P19_DESCRIPTION').exists?,'The additional item description field is not available') - #~ assert(@@ie.text_field(:id, 'P19_DIM_A').exists?,'The dimension A field is not available') - #~ assert(@@ie.text_field(:id, 'P19_DIM_B').exists?,'The dimension B field is not available') - #~ assert(@@ie.text_field(:id, 'P19_DIM_C').exists?,'The dimension C field is not available') - #~ assert(@@ie.text_field(:id, 'P19_DIM_D').exists?,'The dimension D field is not available') - #~ assert(@@ie.text_field(:id, 'P19_DIM_E').exists?,'The dimension E field is not available') - #~ assert(@@ie.text_field(:id, 'P19_DIM_F').exists?,'The dimension F field is not available') - #~ assert(@@ie.text_field(:id, 'P19_DIM_G').exists?,'The dimension G field is not available') - #~ assert(@@ie.text_field(:id, 'P19_DIM_H').exists?,'The dimension H field is not available') - #~ assert(@@ie.text_field(:id, 'P19_DIM_I').exists?,'The dimension I field is not available') + #~ assert(@@ie.text_field(:id, 'P19_DIM_A').exists?,'The Dim A field is not available') + #~ assert(@@ie.text_field(:id, 'P19_DIM_B').exists?,'The Dim B field is not available') + #~ assert(@@ie.text_field(:id, 'P19_DIM_C').exists?,'The Dim C field is not available') + #~ assert(@@ie.text_field(:id, 'P19_DIM_D').exists?,'The Dim D field is not available') + #~ assert(@@ie.text_field(:id, 'P19_DIM_E').exists?,'The Dim E field is not available') + #~ assert(@@ie.text_field(:id, 'P19_DIM_F').exists?,'The Dim F field is not available') + #~ assert(@@ie.text_field(:id, 'P19_DIM_G').exists?,'The Dim G field is not available') + #~ assert(@@ie.text_field(:id, 'P19_DIM_H').exists?,'The Dim H field is not available') + #~ assert(@@ie.text_field(:id, 'P19_DIM_I').exists?,'The Dim I field is not available') #~ assert(@@ie.select_list(:id, 'P19_DRWG_CODE').exists?,'The drawing code field is not available') #~ assert(@@ie.button(:id, 'create').exists?,'The create button was not available') #~ assert(@@ie.button(:id, 'cancel').exists?,'The cancel button was not available') @@ -181,15 +181,15 @@ class Test_06_addon_screen < Test::Unit::TestCase #~ assert_nil(@@ie.contains_text('Bases'),'The additional item screen did appear') #~ assert_nil(@@ie.contains_text('1765BH1'),'The new record with additional item code 1765BH1 did appear') #~ assert_nil(@@ie.contains_text('Base for meters'),'The description Base for meters did appear') - #~ assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dimension A did appear') - #~ assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dimension B did appear') - #~ assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dimension C did appear') - #~ assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dimension D did appear') - #~ assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dimension E did appear') - #~ assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dimension F did appear') - #~ assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dimension G did appear') - #~ assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dimension H did appear') - #~ assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dimension I did appear') + #~ assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dim A did appear') + #~ assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dim B did appear') + #~ assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dim C did appear') + #~ assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dim D did appear') + #~ assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dim E did appear') + #~ assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dim F did appear') + #~ assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dim G did appear') + #~ assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dim H did appear') + #~ assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dim I did appear') #~ assert_nil(@@ie.contains_text('WI'),'The new record with drawing code WI did appear') #~ assert(@@ie.contains_text('Error'),'An error was not generated') diff --git a/tests/basestests.rb b/tests/basestests.rb index 8b562bd..b42609a 100644 --- a/tests/basestests.rb +++ b/tests/basestests.rb @@ -13,15 +13,15 @@ class Test_05_base_screen < Test::Unit::TestCase assert(@@ie.contains_text('Bases'),'The bases screen did not appear') assert(@@ie.contains_text('Base Description'),'The base description column did not appear') assert(@@ie.contains_text('Depth'),'The Depth column did not appear') - assert(@@ie.contains_text('Dimension A'),'The Dimension A column did not appear') - assert(@@ie.contains_text('Dimension B'),'The Dimension B column did not appear') - assert(@@ie.contains_text('Dimension C'),'The Dimension C column did not appear') - assert(@@ie.contains_text('Dimension D'),'The Dimension D column did not appear') - assert(@@ie.contains_text('Dimension E'),'The Dimension E column did not appear') - assert(@@ie.contains_text('Dimension F'),'The Dimension F column did not appear') - assert(@@ie.contains_text('Dimension G'),'The Dimension G column did not appear') - assert(@@ie.contains_text('Dimension H'),'The Dimension H column did not appear') - assert(@@ie.contains_text('Dimension I'),'The Dimension I column did not appear') + assert(@@ie.contains_text('Dim A'),'The Dim A column did not appear') + assert(@@ie.contains_text('Dim B'),'The Dim B column did not appear') + assert(@@ie.contains_text('Dim C'),'The Dim C column did not appear') + assert(@@ie.contains_text('Dim D'),'The Dim D column did not appear') + assert(@@ie.contains_text('Dim E'),'The Dim E column did not appear') + assert(@@ie.contains_text('Dim F'),'The Dim F column did not appear') + assert(@@ie.contains_text('Dim G'),'The Dim G column did not appear') + assert(@@ie.contains_text('Dim H'),'The Dim H column did not appear') + assert(@@ie.contains_text('Dim I'),'The Dim I column did not appear') assert(@@ie.contains_text('Drawing Code'),'The drawing code column did not appear') assert(@@ie.button(:id, 'create').exists?,'The create button was not available') end @@ -36,15 +36,15 @@ class Test_05_base_screen < Test::Unit::TestCase assert(@@ie.text_field(:id, 'P51_CODE').exists?,'The base code field is not available') assert(@@ie.text_field(:id, 'P51_DESCRIPTION').exists?,'The base description field is not available') assert(@@ie.text_field(:id, 'P51_DEPTH').exists?,'The depth field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_A').exists?,'The dimension A field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_B').exists?,'The dimension B field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_C').exists?,'The dimension C field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_D').exists?,'The dimension D field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_E').exists?,'The dimension E field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_F').exists?,'The dimension F field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_G').exists?,'The dimension G field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_H').exists?,'The dimension H field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_I').exists?,'The dimension I field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_A').exists?,'The Dim A field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_B').exists?,'The Dim B field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_C').exists?,'The Dim C field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_D').exists?,'The Dim D field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_E').exists?,'The Dim E field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_F').exists?,'The Dim F field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_G').exists?,'The Dim G field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_H').exists?,'The Dim H field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_I').exists?,'The Dim I field is not available') assert(@@ie.select_list(:id, 'P51_DRWG_CODE').exists?,'The drawing code field is not available') assert(@@ie.button(:id, 'create').exists?,'The create button was not available') assert(@@ie.button(:id, 'cancel').exists?,'The cancel button was not available') @@ -82,15 +82,15 @@ class Test_05_base_screen < Test::Unit::TestCase assert(@@ie.contains_text('Bases'),'The base screen did not appear') assert(@@ie.contains_text('1766BH1'),'The new record with base code 1766BH1 did not appear') assert(@@ie.contains_text('3800'),'The value 3800 for Depth did not appear') - assert(@@ie.contains_text('3800'),'The value 3800 for Dimension A did not appear') - assert(@@ie.contains_text('1400'),'The value 1400 for Dimension B did not appear') - assert(@@ie.contains_text('2400'),'The value 2400 for Dimension C did not appear') - assert(@@ie.contains_text('3800'),'The value 3800 for Dimension D did not appear') - assert(@@ie.contains_text('1400'),'The value 1400 for Dimension E did not appear') - assert(@@ie.contains_text('2400'),'The value 2400 for Dimension F did not appear') - assert(@@ie.contains_text('3800'),'The value 3800 for Dimension G did not appear') - assert(@@ie.contains_text('1400'),'The value 1400 for Dimension H did not appear') - assert(@@ie.contains_text('2400'),'The value 2400 for Dimension I did not appear') + assert(@@ie.contains_text('3800'),'The value 3800 for Dim A did not appear') + assert(@@ie.contains_text('1400'),'The value 1400 for Dim B did not appear') + assert(@@ie.contains_text('2400'),'The value 2400 for Dim C did not appear') + assert(@@ie.contains_text('3800'),'The value 3800 for Dim D did not appear') + assert(@@ie.contains_text('1400'),'The value 1400 for Dim E did not appear') + assert(@@ie.contains_text('2400'),'The value 2400 for Dim F did not appear') + assert(@@ie.contains_text('3800'),'The value 3800 for Dim G did not appear') + assert(@@ie.contains_text('1400'),'The value 1400 for Dim H did not appear') + assert(@@ie.contains_text('2400'),'The value 2400 for Dim I did not appear') assert(@@ie.contains_text('WI'),'The new record with drawing code WI did not appear') @@ie.button(:id, 'create').click @@ie.wait @@ -112,15 +112,15 @@ class Test_05_base_screen < Test::Unit::TestCase assert(@@ie.contains_text('Bases'),'The base screen did not appear') assert(@@ie.contains_text('1766BH2'),'The new record with base code 1766BH2 did not appear') assert(@@ie.contains_text('3800'),'The value 3800 for Depth did not appear') - assert(@@ie.contains_text('3800'),'The value 3800 for Dimension A did not appear') - assert(@@ie.contains_text('1400'),'The value 1400 for Dimension B did not appear') - assert(@@ie.contains_text('2400'),'The value 2400 for Dimension C did not appear') - assert(@@ie.contains_text('3800'),'The value 3800 for Dimension D did not appear') - assert(@@ie.contains_text('1400'),'The value 1400 for Dimension E did not appear') - assert(@@ie.contains_text('2400'),'The value 2400 for Dimension F did not appear') - assert(@@ie.contains_text('3800'),'The value 3800 for Dimension G did not appear') - assert(@@ie.contains_text('1400'),'The value 1400 for Dimension H did not appear') - assert(@@ie.contains_text('2400'),'The value 2400 for Dimension I did not appear') + assert(@@ie.contains_text('3800'),'The value 3800 for Dim A did not appear') + assert(@@ie.contains_text('1400'),'The value 1400 for Dim B did not appear') + assert(@@ie.contains_text('2400'),'The value 2400 for Dim C did not appear') + assert(@@ie.contains_text('3800'),'The value 3800 for Dim D did not appear') + assert(@@ie.contains_text('1400'),'The value 1400 for Dim E did not appear') + assert(@@ie.contains_text('2400'),'The value 2400 for Dim F did not appear') + assert(@@ie.contains_text('3800'),'The value 3800 for Dim G did not appear') + assert(@@ie.contains_text('1400'),'The value 1400 for Dim H did not appear') + assert(@@ie.contains_text('2400'),'The value 2400 for Dim I did not appear') assert(@@ie.contains_text('D1'),'The new record with drawing code D1 did not appear') end # @@ -153,15 +153,15 @@ class Test_05_base_screen < Test::Unit::TestCase assert(@@ie.contains_text('Bases'),'The base screen did not appear') assert(@@ie.contains_text('1766BH1'),'The new record with base code 1766BH1 did not appear') assert(@@ie.contains_text('3800'),'The value 3800 for Depth did not appear') - assert(@@ie.contains_text('3800'),'The value 3800 for Dimension A did not appear') - assert(@@ie.contains_text('1400'),'The value 1400 for Dimension B did not appear') - assert(@@ie.contains_text('2400'),'The value 2400 for Dimension C did not appear') - assert(@@ie.contains_text('3800'),'The value 3800 for Dimension D did not appear') - assert(@@ie.contains_text('1400'),'The value 1400 for Dimension E did not appear') - assert(@@ie.contains_text('2400'),'The value 2400 for Dimension F did not appear') - assert(@@ie.contains_text('3800'),'The value 3800 for Dimension G did not appear') - assert(@@ie.contains_text('1400'),'The value 1400 for Dimension H did not appear') - assert(@@ie.contains_text('2400'),'The value 2400 for Dimension I did not appear') + assert(@@ie.contains_text('3800'),'The value 3800 for Dim A did not appear') + assert(@@ie.contains_text('1400'),'The value 1400 for Dim B did not appear') + assert(@@ie.contains_text('2400'),'The value 2400 for Dim C did not appear') + assert(@@ie.contains_text('3800'),'The value 3800 for Dim D did not appear') + assert(@@ie.contains_text('1400'),'The value 1400 for Dim E did not appear') + assert(@@ie.contains_text('2400'),'The value 2400 for Dim F did not appear') + assert(@@ie.contains_text('3800'),'The value 3800 for Dim G did not appear') + assert(@@ie.contains_text('1400'),'The value 1400 for Dim H did not appear') + assert(@@ie.contains_text('2400'),'The value 2400 for Dim I did not appear') assert(@@ie.contains_text('WI'),'The new record with drawing code WI did not appear') end # @@ -255,15 +255,15 @@ class Test_05_base_screen < Test::Unit::TestCase assert(@@ie.contains_text('Create/Edit Base'),'The Create/Edit Base screen did not appear') assert(@@ie.text_field(:id, 'P51_CODE').exists?,'The base code field is not available') assert(@@ie.text_field(:id, 'P51_DESCRIPTION').exists?,'The base description field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_A').exists?,'The dimension A field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_B').exists?,'The dimension B field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_C').exists?,'The dimension C field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_D').exists?,'The dimension D field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_E').exists?,'The dimension E field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_F').exists?,'The dimension F field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_G').exists?,'The dimension G field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_H').exists?,'The dimension H field is not available') - assert(@@ie.text_field(:id, 'P51_DIM_I').exists?,'The dimension I field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_A').exists?,'The Dim A field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_B').exists?,'The Dim B field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_C').exists?,'The Dim C field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_D').exists?,'The Dim D field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_E').exists?,'The Dim E field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_F').exists?,'The Dim F field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_G').exists?,'The Dim G field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_H').exists?,'The Dim H field is not available') + assert(@@ie.text_field(:id, 'P51_DIM_I').exists?,'The Dim I field is not available') assert(@@ie.select_list(:id, 'P51_DRWG_CODE').exists?,'The drawing code field is not available') assert(@@ie.button(:id, 'create').exists?,'The create button was not available') assert(@@ie.button(:id, 'cancel').exists?,'The cancel button was not available') @@ -284,15 +284,15 @@ class Test_05_base_screen < Test::Unit::TestCase assert_nil(@@ie.contains_text('Bases'),'The base screen did appear') assert_nil(@@ie.contains_text('1765BH1'),'The new record with base code 1765BH1 did appear') assert_nil(@@ie.contains_text('Base for meters'),'The description Base for meters did appear') - assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dimension A did appear') - assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dimension B did appear') - assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dimension C did appear') - assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dimension D did appear') - assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dimension E did appear') - assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dimension F did appear') - assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dimension G did appear') - assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dimension H did appear') - assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dimension I did appear') + assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dim A did appear') + assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dim B did appear') + assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dim C did appear') + assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dim D did appear') + assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dim E did appear') + assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dim F did appear') + assert_nil(@@ie.contains_text('3800'),'The value 3800 for Dim G did appear') + assert_nil(@@ie.contains_text('1400'),'The value 1400 for Dim H did appear') + assert_nil(@@ie.contains_text('2400'),'The value 2400 for Dim I did appear') assert_nil(@@ie.contains_text('WI'),'The new record with drawing code WI did appear') assert(@@ie.contains_text('Error'),'An error was not generated') @@ie.link(:text, 'OK').click