Welcome back! I hope you are enjoying this Salesforce testing series. In our first lecture, we discussed what Salesforce is and how it helps businesses manage engagements, impressions, revenue, and marketing. In this second lecture, we will dive into the foundational base of Salesforce testing: Salesforce core components.
To make these easy to understand, we can segment Salesforce data into three main concepts:
Objects: What type of data we are storing.
Records: Whose data is being stored.
Fields: Which specific details we are storing.
Let's break these down with a simple, real-life analogy. Think of a school register. You might have a student register, a teacher register, and a class register. Each physical register acts like an Object, as each one has a different objective. The student register stores student details, while the class register tracks attendance.
In Salesforce, standard objects include Accounts (which store company information), Contacts (which store customer or people information), and Opportunities (which store sales deal information). You can think of an object as a table or a category.
Next, a Record represents a single entry or a single row within that object. In our school register analogy, an individual student's entry—such as "Gandharv, Class 10, Roll Number 7"—is one record. Another entry for "Tushar, Class 7, Roll Number 8" is a separate record. In Salesforce, if you have an Account object, you might have individual records for different companies like TCS, Infosys, or Amazon. Each company has its own unique account record.
Finally, a Field represents the specific columns or individual data points stored for each record. In our student register, the columns for Name, Class, Roll Number, and Age are fields. In Salesforce, an Account object will have fields like Account Name, Phone, Industry, and Billing City. In short, fields are the data points or columns.
Let's see how these look in a live Salesforce org. In the navigation bar, you can see tabs like Leads, Contacts, Accounts, and Opportunities. These tabs represent different Objects.
If we navigate to the Leads object and click "New," we can create a new lead. We select a salutation, enter a first name ("Gandharv"), a last name, a company ("SDG"), and set the lead status to "New". When we click save, we create a new Record within the Lead object.
Every record in Salesforce is assigned a completely unique ID, which you can see in the browser's URL. This record houses all the specific Fields containing the details we entered, such as phone number, email, created by, and last modified by.
As a Salesforce tester, you will be validating standard objects, custom objects, unique record creations, and field inputs. Understanding these three core concepts is vital for your testing success. Thank you for watching, and happy testing!
Quiz
The quiz for this chapter can be found in 1.5.