20
S.No Area Title 1 CRM Boundary Value Testing for CRM table 2 CRM Data Integrity Testing:Duplicate Che

Test Cases _CRM

Embed Size (px)

Citation preview

Page 1: Test Cases _CRM

S.No Area Title Details

1 CRM Boundary Value Testing for CRM table. VSTF ID:22209

2 CRM Data Integrity Testing:Duplicate Check VSTF ID:22211

Page 2: Test Cases _CRM

3 CRM VSTF ID:22210

4 CRM VSTF ID:22217

Data Integrity Testing:Record Counts Validation

Referential Integrity Testing:Data Validation

Page 3: Test Cases _CRM

5 CRM VSTF ID:22221

6 CRM VSTF ID:22881

Scenario Based Testing:Checking for data in the fields StgCreateDate and StgUpdateDate

Scenario Based Testing:Checking for Delta load of the data

Page 4: Test Cases _CRM

7 CRM VSTF ID:23175

8 CRM VSTF ID:22218

9 CRM VSTF ID:22219

Scenario Based Testing:Checking for full load of the data

Scenario Based Testing:Testing for insertion of a record.

Scenario Based Testing:Testing for updating a record.

Page 5: Test Cases _CRM

Tested By State

Rajyalakshmi Tested

Rajyalakshmi Tested

Page 6: Test Cases _CRM

Rajyalakshmi Tested

Rajyalakshmi Tested

Page 7: Test Cases _CRM

Rajyalakshmi Tested

Rajyalakshmi Tested

Page 8: Test Cases _CRM

Rajyalakshmi Tested

Rajyalakshmi Tested

Rajyalakshmi Tested

Page 9: Test Cases _CRM

Server Details

Source server/database : (MBSCRMDEV03)/ (MBSIT_MSCRM) Target server /database : (GMOSTG01)/(CRMONLINE).

Source server/database : (MBSCRMDEV03)/ (MBSIT_MSCRM) Target server /database : (GMOSTG01)/(CRMONLINE).

Page 10: Test Cases _CRM

Source server/database : (MBSCRMDEV03)/ (MBSIT_MSCRM) Target server /database : (GMOSTG01)/(CRMONLINE).

Source server/database : (MBSCRMDEV03)/ (MBSIT_MSCRM) Target server /database : (GMOSTG01)/(CRMONLINE test ).

Page 11: Test Cases _CRM

Source server/database : (MBSCRMDEV03)/ (MBSIT_MSCRM) Target server /database : (GMOSTG01)/(CRMONLINE).

Source server/database : (MBSCRMDEV03)/ (MBSIT_MSCRM) Target server /database : (GMOSTG01)/(CRMONLINE test).

Queries_CRM.docx

Page 12: Test Cases _CRM

Source server/database : (MBSCRMDEV03)/ (MBSIT_MSCRM) Target server /database : (GMOSTG01)/(CRMONLINE).

Source server/database : (MBSCRMDEV03)/ (MBSIT_MSCRM) Target server /database : (GMOSTG01)/(CRMONLINE).

Source server/database : (MBSCRMDEV03)/ (MBSIT_MSCRM) Target server /database : (GMOSTG01)/(CRMONLINE).

Page 13: Test Cases _CRM

SQL Query Expected Results

Manual Testing

Duplicate records should not exist

The tables should be created with the required specifications.

select Leadid from leadgroup by Leadid having COUNT(*) > 1select AccountId from Accountgroup by AccountId having COUNT (*) > 1select ContactId from Contactgroup by ContactId having COUNT (*) > 1select OrganizationID from CRMBIVIEWgroup by OrganizationID having COUNT (*) > 1select Dst1_livesubscriptionId from [Dst1_livesubscription]group by Dst1_livesubscriptionId having COUNT (*) > 1select OpportunityId from Opportunitygroup by OpportunityId having COUNT (*) > 1

Page 14: Test Cases _CRM

Manual Testing

Source:select count(*) from Account--121416select count(*) from Contact--439084select count(*) from [Dst1_livesubscription]--172720select count(*) from Opportunity--16159select count(*) from CRMBIVIEW_EMPCOUNT--270580select count(*) from Lead--221035select count(*) from CRMBIVIEW--109409select count(*) from CRMBIVIEW_MANAGED_TRIAL_LEAD--62329select count(*) from CRMBIVIEW_UNMANAGED_TRIAL_LEAD--49853 Target:select count(*) from Account--121416select count(*) from Contact--439084select count(*) from [Dst1_livesubscription]--172720select count(*) from Opportunity--16159select count(*) from CRMBIVIEW_EMPCOUNT--270580select count(*) from Lead--221035select count(*) from CRMBIVIEW--109409select count(*) from CRMBIVIEW_MANAGED_TRIAL_LEAD--62329select count(*) from CRMBIVIEW_UNMANAGED_TRIAL_LEAD--49853

Record count should match with source and target.

All the records present in the source tables should be presnt in target table and vice versa

Page 15: Test Cases _CRM

(StageCreateDate = 0)select StageEndDate from Opportunity where StageEndDate is null or (StageEndDate = '') or (StageEndDate = 0) select StageCreateDate from CRMBIVIEW_EMPCOUNT where StageCreateDate is null or (StageCreateDate = '') or (StageCreateDate = 0)select StageEndDate from CRMBIVIEW_EMPCOUNT where StageEndDate is null or (StageEndDate = '') or (StageEndDate = 0) select StageCreateDate from CRMBIVIEW where StageCreateDate is null or (StageCreateDate = '') or (StageCreateDate = 0)select StageEndDate from CRMBIVIEW where StageEndDate is null or (StageEndDate = '') or (StageEndDate = 0) select StageCreateDate from CRMBIVIEW_MANAGED_TRIAL_LEAD where StageCreateDate is null or (StageCreateDate = '') or (StageCreateDate = 0)select StageEndDate from CRMBIVIEW_MANAGED_TRIAL_LEAD where StageEndDate is null or (StageEndDate = '') or (StageEndDate = 0) select StageCreateDate from CRMBIVIEW_UNMANAGED_TRIAL_LEAD where StageCreateDate is null or (StageCreateDate = '') or (StageCreateDate = 0)select StageEndDate from CRMBIVIEW_UNMANAGED_TRIAL_LEAD where StageEndDate is null or (StageEndDate = '') or (StageEndDate = 0)

The columns StgCreateDate and StgUpdateDate should not be blank or zero.

Only Delta load should be done on the above mentioned 5 tables.

Queries_CRM.docx

Page 16: Test Cases _CRM

Refer to attachments at row 7 above. (G7)

Refer to attachments at row 7 above. (G7)

SQL's Used :select * from Account where currentmember = 0select * from contact where currentmember = 0select * from [Dst1_livesubscription] where currentmember = 0select * from lead where currentmember = 0select * from opportunity where currentmember = 0select * from CRMBIVIEW where Currentmember = 0 select * from CRMBIVIEW_EMPCOUNT where Currentmember = 0select * from CRMBIVIEW_MANAGED_TRIAL_LEAD where Currentmember = 0select * from CRMBIVIEW_UNMANAGED_TRIAL_LEAD where Currentmember = 0

Only full load should be done on the above mentioned last 4 tables, for the top 5 tables first load will be a full load and later delta load.

It should match the requirement specified in the purpose.

Every updated record in the source is loaded into the target table with currentmember = 1 and making the previous record with currentmember = 0

Page 17: Test Cases _CRM

Actual Results Final Status Bug

Succesfully tested N/A

No duplicates are existingSuccesfully tested N/A

The tables are created with the required specifications.

Page 18: Test Cases _CRM

Succesfully tested N/A

Succesfully tested N/A

The record count is matching.

Did sample test for few records , refer to the attached excel sheet

Page 19: Test Cases _CRM

Succesfully tested N/A

Succesfully tested N/A

The columns StgCreateDate and StgUpdateDate are possessing valid date time values.

Only Delta load is performed on the above mentioned 5 tables.

Page 20: Test Cases _CRM

Succesfully tested N/A

Succesfully tested N/A

Succesfully tested N/A

same as expected.

Every new record inserted in the source is loaded into the target with Currentmember = 1

It should match the requirement specified in the purpose.