Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn how to write Salesforce Trigger and Test Class
Rating: 5.0 out of 5(2 ratings)
3 students

Learn how to write Salesforce Trigger and Test Class

Salesforce development, Apex programming language, Lightning Web Components (LWC), Visualforce pages, Salesforce APIs
Created byDhirender Rawat
Last updated 8/2026
English
English [Auto],Spanish [Auto],

What you'll learn

  • Get better than 90% Salesforce Developer
  • Salesforce Full-Stack Development
  • Writing Triggers in Apex
  • Salesforce Lightning Design System (SLDS)
  • Code Bulkification
  • Array and its Use case
  • Wrapper Class
  • Async Apex - Batch Apex, Queueable Apex, Schedule Apex, Future Methods
  • SOQL & SOSL
  • Triggers best Practices
  • Test Class and its Use Case
  • VisualForce Programming
  • Deployment Changeset
  • Salesforce Development

Course content

6 sections • 14 lectures • 16h 11m total length
  • Trigger Overview1:26:04

    Explore how Salesforce triggers auto-execute business logic on before and after insert, update, delete, and undelete events. Understand trigger context, events, and how triggers compare with workflows and validation rules.

  • Trigger Events1:22:35

    Explore Salesforce trigger events, including before insert, before update, before delete, after insert, after update, after delete, and after undelete, and apply validations, deduplication, permissions checks, and trigger context variables.

  • Trigger Context Variables1:11:30

    Learn to use Salesforce trigger context variables to identify the current trigger event and status (before or after) for insert, update, and delete, and route logic within a single trigger.

  • Trigger Context Variables_Use Case1:23:58

    Learn how to write Salesforce triggers and test classes, using trigger context variables, before insert and before update events, and bulk processing with Trigger.new and Trigger.old.

  • Trigger_Use Case PART 11:13:58

    Learn how to implement Salesforce triggers and test classes, including before insert and before update events, to auto populate annual revenue from industry and enforce validations.

  • Trigger_Use Case PART 21:06:35

    Master practical Salesforce trigger techniques, including lookup relationships, before delete, and before update events, to preserve or break associations and synchronize account and contact data with bulk-ready triggers.

Requirements

  • Basics of OOP(Object Oriented Programming) or Java

Description

Enroll in the NEW Pro Salesforce Development Course : Beginner to Advanced Course

Why Specialize in Salesforce Development?

According to Glassdoor, the national average yearly salary for Salesforce Developers is roughly $22,000 higher than web developers. This course is built for students who would like to learn the development side of Salesforce.


A course designed for all who aspire to become a Salesforce Developer.

If you are new to the programming world and doesn't speak technology, take this course. If you are someone experienced and looking to skill up, take this course. If you are a student or a recent graduate or a Salesforce admin or an IT professional, take this course. This is:

ONE COURSE TO RULE THEM ALL


The course is designed for all experience levels. You will start from ground 0 and in no time, you will summit the very peak of Salesforce Development.

You will learn all the nasty backend stuff (Apex Development) and all the cool frontend stuff (Lightning Development).

It is the biggest course in terms of watch hours on Udemy. It's impossible to put all offering of this course into words here, but below are some major highlights:

  • Web Application Architecture

  • Apex Programming Fundamentals

  • Salesforce Lightning Fundamentals

  • Advanced/Dynamic Apex Development

  • Apex Triggers

  • Async Apex Development

  • Apex Unit Testing / Apex Tests

  • Salesforce Lightning Development (Aura Framework) with 2 big Projects

  • SOQL - Salesforce Object Query Language

  • Database Manipulation in Salesforce

  • Exception Handling in Apex

  • Code Bulkification in Salesforce

  • Order Of Execution in Salesforce

  • Salesforce Apex Governor Limits

  • Object-Oriented Programming System

  • Different Tools to Write Salesforce Code

  • Salesforce Lightning Design System (SLDS)

Who this course is for:

  • Salesforce Admins & Developers
  • Java Developers
  • Salesforce Platform Developer 1 Certification Aspirant
  • Salesforce Platform Developer 2 Certification Aspirant
  • Engineering Freshers and Graduate Students
  • All Salesforce Development Aspirants