Blogs
-
An Overview of Apex Unit Tests | Developer’s Guide
In this blog, we will study test classes in apex, the best practices of test classes, and how to implement them. So, let’s begin with an introduction. Advantages of Apex Unit Testing Code Coverage Mandate for Deployment Points to Remember Syntax of Test Methods Test Class Containing a Test Method We can incorporate multiple test methods…
-
Accessing custom labels dynamically in Apex
Goals Upon reading this blog, you will gain the ability to: Apex Script to Access Custom Labels Dynamically Salesforce has released following option: To access the Developer Console, click on Setup, and then select “Developer Console.” In the Developer Console, I will utilize the “Execute Anonymous Apex” tool to run the Apex code. An “anonymous…
-
Run Assignment Rule While Creating Lead or Case
With help of “Database.DMLOptions” standard class, we can achieve the requirement as below: Lead Example Case Example