-
How to check if any error has been added to a Salesforce record?
Hii All,
I have created a method which is being called through a trigger. I am adding error to a record if it is a duplicate one using 'addError()' method.
Now , I want to cover this method in my test class. How Can I check that on which records , error has been added?
Log In to reply.
Popular Salesforce Blogs
Explore the Benefits of Salesforce for Small Businesses
Salesforce is a CRM that brings companies and clients together. In today’s world when the technology has been so advanced, every business needs a platform…
How A Salesforce CRM Call Center Can Be Setup And Call Center Users Can Be Managed?
The third party CTI systems can be integrated seamlessly with Salesforce with the help of a Salesforce CRM Call Center. In the Salesforce console footer or…
Popular Salesforce Videos
Which Objects are in the Salesforce Sales Cloud and Service Cloud?
Salesforce comes with a large number of standard objects that are integral to Salesforce, but you can also create custom objects. We’ve compiled a list…
Marketing Cloud Connect: Syncing Data Back to Sales and Service Cloud
We demo how to expand the capabilities of Marketing Cloud Connect to automatically sync any data from Marketing Cloud over to Sales and Services Cloud.…
4 Benefits Of Customized Salesforce Services
Salesforce is a fantastic CRM, but the truth is that the off-the-shelf version is nothing compared to the power of Salesforce once you customize it.…