Testing Salesforce Data Before and After Migration

Correct and accurate data is the most crucial part of an effective Salesforce application. The cost of mishandling the migration of data is high. But the business risk associated with incorrect data like lost revenue and lost opportunities can be enormous. In Salesforce CRM, organizations often face large and complex data migrations. Testing is a key phase in the migration process that uncovers issues before they become a costly headache. To mitigate the risks such as data corruption, missing data, loss of data, and application performance issues involved in data migration, it is important to use a thorough and effective testing strategy.

The Test startegy should encompasses testing by functional area before and after migartion.The floowing lists show what can be examined at both stages of the process.

LIst of Functional Testing Areas to consider prior to data Migration:  
  • Make sure  that all the objects, custom fields, and custom apps are setup correctly before the data migration
  • Validate the organization-wide defaults(OWD) and profiles are setup correctly in the target system
  • Validate that all workflow assessments, approval rules and email templates are migrated
  • Validate that all the page layouts and mapping of page layouts to profiles are setup properly for all the record types
  • Validate that SSO logins are working correctly
  • Validate that all tabs are displayed correctly
  •  
 List of Functional Testing Areas to consider after data Migration:  
  • First test on a small sample of data to check whether the data mapping is implemented correctly or not
  • Validate that all the users are associated with the correct profile
  • Validate that relationships between accounts, contacts, and opportunities have been set up correctly
  • Create a new record to check for required fields, read-only fields, and any validation rules on a particular field 
  • Use sample data to test the approval processes.
  • Validate that workflow scenarios are being triggered and email notifications are being sent via workflow.
  • Validate that search is returning correct records.
  • Check for duplicate data (i.e., duplicate contacts, accounts, and opportunities).
  • Test the records of different objects by logging into Salesforce as different users. Compare these same records manually with the legacy system.
  • Perform basic SOL queries in the developer console to retrieve information like total number of account in a record type, number of accounts with multiple contacts, etc.
  • Validate that site pages are displaying properly.
  • Validate that naming conventions remain the same in the target system.
  • Create custom reports to retrieve the data in target systems and compare with the legacy system.
  • Test for broken attachments and links
  • Validate on records that CreatedBy, CreatedDate, LastModifiedByID, and LastModifiedDate are the same as they are in the legacy system.
  • Monitor the load time carefully and raise issues to avoid bottlenecks.
  • Check that the migrated dashboard and reports are running and displaying the correct records.

  •  

Comments

Popular posts from this blog

How to calculate maximum number of concurrent users using littile law formula

How to develop a security test strategy

Singleton Design Pattern using Page Factory