Sei sulla pagina 1di 6

JIRA ID Scenario ID test caseid test case name

JIRA101 1 1 Target table availablity

JIRA102 1 2 Source table availablity

JIRA103 2 3 Metadata Validations for target

Metadata Validations
JIRA104 2 4 for source

Row count of the target


JIRA105 3 5 before the migration

row count of the source


JIRA106 3 6 before the migration

check the soruce hire date to round the date


JIRA108 4 8 with applying the transformations
missing data validiaon
JIRA109 5 9 between the source and target

Duplicate data validation in the target


JIRA110 6 10 HR.EMP_TOTSAL_TRG

Null data validation in the all column of


JIRA111 7 11 HR.EMP_TOTSAL_TRG

MAPPAINMAPPAING SHEET-2
test case description Test case actions|Test Script input expected output

HR.EM
select * from user_Tables P_TOT
where table_name = SAL_T
Check the target table HR.EMP_TOTSAL_TRG 'HR.EMP_TOTSAL_TRG RG
is available in the HR user or not '; one row selection

select * from user_Tables


where table_name
Check the HR.EMPLOYEES in( 'HR.EMPLOYEES
table availablity in the source HR user ');

select * from
user_tab_columns
where table_name
='HR.EMP_TOTSAL_TRG HR.EM
'; P_TOT
Check the data type and data length of the OR SAL_T
target table HR.EMP_TOTSAL_TRG Desc HR.EMP_TOTSAL_TRG RG
as per the mapping sheet or not ;

select * from
user_tab_columns
where table_name in
('HR.EMPLOYEES
')
Check the data type and data length of the OR
target table HR.EMPLOYEES Desc HR.EMPLOYEES ;
as per the mapping sheet or not

HR.EM
P_TOT
Check the row count of the table select count(*) From SAL_T
HR.EMP_TOTSAL_TRG HR.EMP_TOTSAL_TRG RG
before the migration ;

HR.EM
Check the row count of the source table select count(*) From PLOYE
employees and departments before the HR.EMPLOYEES ; ES
migration

select round((sysdate-
to_date(HIRE_DT))/365,2)
Year,round(MONTHS_BETWE
EN(sysdate,to_date
(HIRE_DT)),2)
Months,round(sysdate
check the soruce hire date to round the date - to_date (HIRE_DT),2) days
with applying the transformations from dual
validate the data which are in the source and select * from table name
not in the target HR.EMP_TOTSAL_TRG after Minus
applying the business rules select * from table

select department_id,
department_name
from emp_Data
group by department_id ,
department_name
Check the department_id and department having count (*) >1
name column is not having any duplicates no rows expected

select *
from HR.EMP_TOTSAL_TRG
where department_id is null
or department_name is null
check the null exsistance of any of column in or emp_count is null
HR.EMP_TOTSAL_TRG or tot_salary is null no rows expected
Actual Output Result

one row selectedPASS chnge the table name

2 rows selected PASS

Result as expect PASs

Result as expect PASs

As Expected PASS

As Expected PASS

As Expected PASS
0 PASS

As Expected PASS

As Expected PASS

Potrebbero piacerti anche