July 14, 2022
•
4 min
 read

Salesforce from the manual tester’s perspective – practice

In my previous article, Salesforce from the manual tester's perspective – theory, I focused on theory and described what Salesforce is.

Mateusz Wydmański
Craftware
Share this post
Salesforce manual testing best practice

Today, I would like to focus on its practical use. Do you want to get to know some real-life examples? Keep reading!

In the rapidly evolving Customer Relationship Management (CRM) platforms landscape, Salesforce has emerged as a dominant force, empowering businesses to manage customer interactions, streamline processes, and drive growth. As organizations increasingly rely on Salesforce's robust features and customizable solutions, meticulous testing becomes paramount to ensure seamless functionality and user satisfaction. While automated testing tools have gained popularity, manual testing remains an indispensable component of the quality assurance process, mainly when dealing with complex customizations and user experience nuances.

Understanding Salesforce manual testing best practices is crucial for testers aiming to deliver high-quality applications that meet business and user expectations. Manual testing allows testers to simulate real-world user interactions, uncovering defects that automated scripts might overlook. It provides a hands-on approach to validating workflows, integrations, and custom functionalities unique to each Salesforce implementation.

This article delves into the world of Salesforce from a manual tester's perspective, offering practical insights and strategies to enhance your testing efforts. We'll explore how to effectively plan and execute test cases, the importance of thorough requirement analysis, and techniques for efficient defect reporting and tracking. By embracing these best practices, testers can improve the quality and reliability of Salesforce applications and contribute to smoother deployments and increased stakeholder confidence.

Whether you're a seasoned quality assurance professional or new to the Salesforce ecosystem, adopting Salesforce manual testing best practices will equip you with the tools and knowledge to tackle common challenges. From understanding the intricacies of Salesforce's customizable environment to navigating its unique testing requirements, this guide aims to empower testers to excel in their roles. Join us as we uncover the essential practices that drive successful manual testing in Salesforce, ultimately leading to enhanced user experiences and optimized business operations.

In my previous article, Salesforce from the manual tester’s perspective – theory, I focused on theory and described what Salesforce is. Today, I would like to focus on its practical use. Do you want to get to know some real-life examples? Keep reading!

Master-Detail vs. Lookup

Understanding different data relationships that occur in Salesforce is crucial for effective testing. Master-detail and lookup relationships are the most common types.

Salesforce from the manual tester’s perspective – practice

?It is possible to convert a master-detail relationship into a lookup and vice versa :)

There are also other types of data relationships between objects, for example:

a) Many-to-Many – this type of relationship was developed to make junction objects easier to deal with. It is possible to link each record of one object with many records of another object and vice versa. For example, if we have 2 objects – Accounts and Contacts, we can link the Account record with multiple Contact records of different Accounts and the Contact record can be related to multiple Account records.

?Junction object = object with two master-detail fields. It can be a standard object (e.g. PriceBookEntry → PricebookId + ProductId) or a custom object.

b) Self – this is another example of a lookup relationship where an object has a lookup field linked to itself. For example, we have an Accounts object, and we create a lookup field called 'Related Accounts' linked to Accounts. In the Related Accounts field, you can select from a list one of the records of the Accounts object.

c) External Lookup – can be created from the level of standard, custom, and external objects. You can create a relationship with an external object whose data is stored outside Salesforce org. I am going to use the Salesforce technical documentation to present an example of such a relationship.

Business_Partner record

(1)  an external object can contain two lists of child objects: Accounts and Sales_Orders,

(2)  a standard object,

(3)  an external object. In this way, a user can access data from inside and outside Salesforce org on a single page.

Picture 1. Image from Salesforce technical documentation – External Object Relationships\External Lookup Relationship Fields on External Objects

?External object = custom object whose data is stored in external data sources outside Salesforce org.

d) Indirect Lookup – this type of relationship can only be created from the level of an external object. It allows you to create a relationship to a unique external field ID from a standard or custom object.

?Unique external ID field = field that has the following options selected: unique (does not allow duplicate values) and external ID (field as a unique identifier from an external system).

e) Hierarchical – a special kind of self-relationship found only in the user object. You can use the lookup field to link one user to another to create a hierarchy of users. The simplest example of this relationship is the manager field on the user object.

relationships in salesforce

Tools in practice

Salesforce Logins  – this is a plugin for the Google Chrome browser only. It allows fast logging into https://test.salesforce.com/ without entering credentials manually.

Let's focus on the practical application of this tool:

  • adding a group

Obszar kompozycji

  • adding credentials

Obszar kompozycji

  • Salesforce org types (each type has a different color of the cloud icon, which makes them easier to recognize ?)

Tester manualny grafika

  •  useful features

Obszar kompozycji

An example of application for a tester:

Salesforce from the manual tester’s perspective – practice

Salesforce Inspector

The most useful feature of this plugin for a manual tester is:

  • logging in to different users (it allows quick login switching between users)

Obszar kompozycji

?We can also open Salesforce Inspector using the Alt + I keyboard shortcut

  • advanced data preview on a record

Obszar kompozycji

?The number of fields displayed in Salesforce Inspector can vary depending on the object from which the record comes. Three fields are always visible: Name, Label, and Id.

Obszar kompozycji

?If you double-click on the value in the Value column, you can quickly edit the data in the fields.

? It is possible to change the displayed data according to the permission sets of the selected user.

  • exporting data

Obszar kompozycji

  • importing data

Obszar kompozycji

?When feeding data into Salesforce from Excel, you need to indicate columns that correspond to the field names required to create a record in the object.

Obszar kompozycji

Obszar kompozycji

Certifications

In Salesforce, you can obtain certificates that confirm your skills and knowledge. For a manual tester, I recommend the following path:

  • Salesforce Certified Administrator – it confirms your understanding of configuration tasks, knowledge of the security system, and ways of sharing data with users. It is a basic certificate that opens possibilities to expand your knowledge of Salesforce technology further.
  • Salesforce Platform App Builder – it allows you to gain knowledge on how to design, build, and deploy custom solutions and applications. As a result, you are able to understand the operation of SFDC applications better and create more advanced test cases for features, such as reports or dashboards showing a summary of selected reports.

The number of certificates in Salesforce is wide. This allows you to broaden your knowledge of this technology depending on your individual career aspirations and project needs. It is also an opportunity to organize the knowledge you already have.

Salesforce (SFDC), like any technology, has its intricacies that you need to know to be an effective tester. I hope my articles in the series “Salesforce from a manual tester's perspective” have introduced you to this technology and encouraged you to use it actively.

Practical guide

Turn the insight into
a next step.

Keep exploring

More thinking for the next decision