Professional Documents
Culture Documents
Subject
Status
Step
Name
Test Scenario
UTC1
CLM_DISTRB\ DDL_01
DDL
Umashankar
Ready
Step 1
UTC2
CLM_DISTRB\ DDL_02
DDL
Umashankar
Ready
Step 1
UTC3
CLM_DISTRB\ DDL_03
DDL
Umashankar
Ready
Step 1
Validate target
table is present in
all the 6 databases.
UTC4
Ready
Step 1
UTC5
Ready
Step 1
UTC6
Ready
Step 1
Validate Unique
Key(clm_id, strt_dt
and strt_tm)
UTC7
Ready
Step 1
Validate
Nullability(clm_id,
strt_dt and strt_tm)
UTC8
Ready
Step 1
Validate data
loaded correctly
-----------strt_dt,strt_
tm,end_dt,end_tm
UTC9
Ready
Step 1
Validate
clm_id,pmnt_rls_dt
and pmnt_mthd_cd
columns are loaded
correctly -------target minus
source ,direct move
column
UTC11
CLM_DISTRB\ Null_Check
Run01
Umashankar
Ready
Step 1
UTC12
Ready
Step 1
Validate that
correct sum value
is moved to the
target columns
-----ncgs_prmpt_pay_int
_amt,
ncgs_prmpt_pay_int
_day_cnt,
tltgtn_int_amt,
tltgtn_int_day_cnt,
its_accs_fee_amt,
its_admn_fee_amt
------ target minus
source
UTC13
Ready
Step 1
Validate that
correct sum value
is moved to the
target columns
-----ncgs_prmpt_pay_int
_amt,
ncgs_prmpt_pay_int
_day_cnt,
tltgtn_int_amt,
tltgtn_int_day_cnt,
its_accs_fee_amt,
its_admn_fee_amt
------ source minus
target
UTC14
Ready
Step 1
UTC15
CLM_DISTRB\
Mapping &
Transformati
on
CLM_DISTRB\ Umashankar
Mapping &
Transformatio
n
Ready
Step 1
UTC16
CLM_DISTRB\
Mapping &
Transformati
on
CLM_DISTRB\ Umashankar
Mapping &
Transformatio
n
Ready
Step 1
Validate
sys_of_rec_id
column values
correctly populated
from
source.source
minus target
UTC17
CLM_DISTRB\
Mapping &
Transformati
on
CLM_DISTRB\ Umashankar
Mapping &
Transformatio
n
Ready
Step 1
Validate
sys_of_rec_id
column values
correctly populated
from
source.target
minus source
UTC18
Ready
Step 1
Source/
Identifier
/* SOURCE DATABASE */
SHOW TABLE PRV1_EDW_STG_TAB.CDW_CLM_LINE_WORK;
/* TARGET DATABASE */
SHOW TABLE PRV1_EDW_BASE1_TAB. CLM_DISTRB; -- Target table database
SHOW VIEW PRV1_EDW_BASE.CLM_DISTRB; -- View created on top of target table
SELECT *
FROM PRV1_EDW_BASE1_TAB.CLM_DISTRB
WHERE strt_dt<> DATE '1970-01-01'
OR strt_tm<>'00:00:00'
OR end_dt<> DATE '9999-12-31'
OR end_tm<>'23:59:59';
select
ncgs_prmpt_pay_int_amt,ncgs_prmpt_pay_int_day_cnt,tltgtn_int_amt,tltgtn_int_day_cnt,its_accs_fee_amt,its_a
dmn_fee_amt from PRV1_EDW_BASE1_TAB.CLM_DISTRB minus select
clm_id,sum(ncgs_interest_amt),sum(ncgs_accumulated_interest_days),sum(tl_interest_amt),sum(tl_accumulat
ed_interest_days),sum(access_fee_amt),sum(administrative_fee_amt) from STAGE.CDW_CLM_LINE_WORK
group by clm_id having PROCESS_DT BETWEEN DATE '2011-02-01' AND DATE '2011-07-31'
select
sum(ncgs_interest_amt),sum(ncgs_accumulated_interest_days),sum(tl_interest_amt),sum(tl_accumulated_int
erest_days),sum(access_fee_amt),sum(administrative_fee_amt) from STAGE.CDW_CLM_LINE_WORK where
encounter_service_nbr = 1 and PROCESS_DT BETWEEN DATE '2011-02-01' AND DATE '2011-07-31' minus
select
ncgs_prmpt_pay_int_amt,ncgs_prmpt_pay_int_day_cnt,tltgtn_int_amt,tltgtn_int_day_cnt,its_accs_fee_amt,its_a
dmn_fee_amt from PRV1_EDW_BASE1_TAB.CLM_DISTRB
SEL clm_id,
ncgs_prmpt_pay_int_prcs_dt,
tltgtn_int_prcs_dt,
int_adj_reqst_dt,
int_ovrrd_strt_dt
FROM PRV1_EDW_BASE1_TAB.CLM_DISTRB
MINUS
SEL clm_id,
MAX (ncgs_interest_processed_dt),
MAX(tl_interest_processed_dt),
MAX(adjusted_request_dt),
MAX(start_interest_override_dt)
FROM PRV1_EDW_STG_TAB.CDW_CLM_LINE_WORK
WHERE encounter_service_nbr = 1
GROUP BY 1
SEL clm_id,
MAX (ncgs_interest_processed_dt),
MAX(tl_interest_processed_dt),
MAX(adjusted_request_dt),
MAX(start_interest_override_dt)
FROM PRV1_EDW_STG_TAB.CDW_CLM_LINE_WORK
WHERE encounter_service_nbr = 1
GROUP BY 1 minus SEL clm_id,
ncgs_prmpt_pay_int_prcs_dt,
tltgtn_int_prcs_dt,
int_adj_reqst_dt,
int_ovrrd_strt_dt
FROM PRV1_EDW_BASE1_TAB.CLM_DISTRB
select clm_id,case origin_cd = '08' then 6 else case origin_cd = '12' then 18 else case source_system_cd in
('01', '02') then 2 else case source_system_cd = '03' then 6 end end end end as sys_of_rec_id where
process_dt between date minus select sys_of_rec_id from PRV1_EDW_BASE1_TAB.CLM_DISTRB
select sys_of_rec_id from PRV1_EDW_BASE1_TAB.CLM_DISTRB minus select clm_id,case origin_cd = '08' then
6 else case origin_cd = '12' then 18 else case source_system_cd in ('01', '02') then 2 else case
source_system_cd = '03' then 6 end end end end as sys_of_rec_id where process_dt between date minus
SELECT Rec_status_id
FROM PRV1_EDW_BASE1_TAB.CLM_DISTRB
WHERE REC_STATUS_ID <> 1
Expected
Results
Design
Scenario
DDL Validation
Manual
Expected 0 rows
DDL Validation
Manual
DDL validation
Manual
Job should be
executed
successfully
To validate
Control-M job
execution
Manual
Job Check
Count of source
and targer should
be equal
Record count
check
System test
Expected 0 rows
To validate
unique key for
the table
System Test
Expected 0 rows
To validate
primary key is
not null for the
table
System Test
Expected 0 rows
To validate
Manual
whether the
target columns
are loaded
correctly with the
derived values
Expected 0 rows
To validate the
Manual
records from
source tables are
loaded into the
target table
Expected 0 rows
Validate the
target column
has null value
Manual
Expected 0 rows
To validate the
Manual
records from
source tables are
loaded into the
target table
Expected 0 rows
To validate the
Manual
records from
source tables are
loaded into the
target table
Expected 0 rows
To validate the
Manual
records from
source tables are
loaded into the
target table
Expected 0 rows
To validate the
Manual
records from
source tables are
loaded into the
target table
Expected 0 rows
To validate the
Manual
records from
source tables are
loaded into the
target table
Expected 0 rows
To validate the
Manual
records from
source tables are
loaded into the
target table
Expected 0 rows
To validate that
this column
contains the
value 1
System Test