Validating Salesforce's standard features and out-of-the-box objects provides a strong baseline for any QA engineer. Standard objects represent the core data structures of the Salesforce CRM ecosystem. Understanding how these objects interact and testing their out-of-the-box validation rules is essential before testing custom business logic.
| Object | Platform Definition | Real-World Example |
|---|---|---|
| Lead | A potential customer who has shown interest in your service or product but is not yet qualified. | Someone filling out a website contact form or exchanging business cards at an event. |
| Account | An organization, business entity, or individual customer with whom you do business. | Corporate clients or enterprise accounts (e.g., Applitools, Amazon, Infosys). |
| Contact | An individual person associated with a specific Account. | An HR manager, developer, or primary point of contact working at a target Account. |
| Opportunity | A qualified business deal or potential sale associated with an Account where revenue is involved. | A pending software implementation project or service contract deal. |
| Case | A customer support request, complaint, or reported issue. | A customer opening a ticket for a broken login page or cart checkout error. |
When validating Lead creation, verify required fields such as Last Name and Company. Upon saving, the Lead defaults to an initial status such as Open - Not Contacted. QA engineers should verify that the record detail page accurately records the Lead Owner, timestamps, and status updates (such as updating the status to Working - Contacted).
Field validation rules ensure data integrity during record creation. For example, when attempting to save a Case record with the Status field explicitly set to None, Salesforce prevents record creation and fires a standard field validation error. Testing these boundary conditions ensures required picklist constraints behave properly.
Converting a qualified Lead executes a multi-object transaction that simultaneously generates three interconnected records: an Account, a Contact, and an Opportunity.
| Step | Action Taken | Expected System Behavior & Validation |
|---|---|---|
| 1 | Attempt Lead Conversion without an Email address populated. | System throws a validation error: "Validation error on contact: Email is required. Please enter an email address." |
| 2 | Edit Lead record and populate a valid Email address. | Validation check clears and Lead conversion proceeds. |
| 3 | Click Convert. | Lead status updates to Converted; Account, Contact, and Opportunity records are successfully created. |
Validating these standard features equips QA engineers to catch data flow issues early and ensure core CRM functionality remains intact.