As a Salesforce tester, if you’re unfamiliar with visual testing—don’t worry, you’re in the right place! This blog will walk you through everything from the basics of visual testing to practical Salesforce-specific examples. You’ll learn how to catch visual bugs that can break user trust and impact experience. By the end, you’ll be confident in applying visual testing to your Salesforce QA projects.
Let’s begin.
Real Examples of Visual Bugs in Salesforce
Consider this Scenario
You are working on a team and have just deployed a great feature. The developer is happy with how it turned out, and the project manager is satisfied with the delivery. As a QA, you gave the green signal after testing—everything looked perfect. And the best part? The entire process went smoothly, without any escalations or last-minute issues.
That’s what successful teamwork looks like: the developer built it right the first time, the tester confirmed, and the client exclaimed, ‘This is great!’ It’s rare that things go so smoothly every single time.
Is everything really this easy? In practice, the real world likes to surprise us…
A Real World Scenario
The deployment happened on Friday, and on Monday morning, you and your team received an email. In that email, the surprises begin to unfold. One by one, the bug reports start coming in.
Someone points out a couple of issues:
The first issue: the “Add to Cart” and “Configure” buttons overlap in the Salesforce CPQ cart, making it difficult for users to interact with them properly.

The second issue: a user reports that transparent PNG images do not display correctly on mobile devices when the ‘Optimize Images for Mobile’ setting is enabled in Communities.

What looked like a smooth and successful deployment is now showing signs of trouble.
Why Salesforce QA Teams Should Prioritize Visual Testing
As a Salesforce tester, visual testing means checking how the UI looks and behaves—not just whether it works.
You’re not just checking if buttons work or forms get submitted. As a Salesforce tester, you’re also making sure:
- The layout looks good on both desktop and mobile
- Fields show up correctly based on user roles and permissions
- Lightning components display well in different browsers
- Page layouts and themes don’t break the design
- Third-party apps don’t affect the visual appearance
- What you saw in UAT looks exactly the same in Production
This is especially crucial in Salesforce, where small changes in configuration or access can lead to big differences in what users see.
We all know that Salesforce is a robust platform where a lot of emphasis is placed on configuration, customization, personalization, and a user-centric approach. Specifically, when we talk about Lightning Components and Experience Cloud, the UI can vary based on several criteria, such as:
- Profile permissions
- Screen resolution
- Browser type
- And many other factors…
As a Salesforce QA team member, you may write and update many test cases, and everything might seem to be running smoothly in terms of functionality. However, unless you check how it actually renders, you’re missing a huge part of the user experience.
At this point, we can’t afford to ignore visual testing or say we’ll deal with it later. It has become a necessity to ensure usability.
How to Implement Visual Testing in Salesforce Projects
- It all starts with awareness and education—helping your engineering team build the mindset to treat visual diffs just like code diffs, reviewing and approving them with the same seriousness.
- Start small by choosing high-impact pages like the CPQ cart, lead detail, and dashboards. These are user-critical areas where even minor visual issues can hurt usability and trust.
- Focus on consistently monitoring visual test results with every release and pull request. This helps catch unexpected UI changes early and maintain visual consistency.
- Make visual testing part of your testing culture—ensure your team treats visual bugs with the same importance as functional bugs. It might be a bit challenging initially, but once this habit is established, it will bring strong results in the long run.
- Take clear screenshots of important pages to set a visual starting point. Later, these baseline screenshots are used to spot any unexpected UI changes during testing.
How Visual Testing Improves UI Consistency in Salesforce
Here are some hard-learned reasons why Salesforce QA teams must take visual testing seriously:
- Brand Image and Customer Confidence: In Experience Cloud or partner portals, maintaining visual consistency is key to your brand’s identity. A broken UI leads to a broken reputation—what users see is what they’ll believe.
- Totally Unpredictable UI: You’re not just testing code. You’re testing flows, field visibility, and permission-based rendering, all of which affect the layout. With three releases every year, each bringing new updates and sometimes removing existing features, the UI can become unpredictable.
- High Deployment Frequency: With frequent changes in CI/CD pipelines, even small style updates can lead to visual mismatches. In real life, you might notice that something looks one way in UAT but appears differently in Production after deployment.
- Functional Tests Don’t Catch UI Issues: All your test scripts have passed—congratulations! But the point is, a poor layout can still disrupt the user experience. That’s exactly when visual testing comes into the picture.
- UI Changes Based on User Roles: Different users may see different screens or fields—visual testing helps make sure everything looks right for everyone.
Valuable Takeaways for Salesforce QA Teams
Whether you’re testing Sales Cloud, Service Cloud, or an extensively customized Experience Cloud portal, these key principles apply:
- Start Small with High-Impact Pages
Begin with pages that matter most—such as CPQ carts, lead detail views, or dashboards. These are user-critical zones where even minor UI issues can impact adoption. - Create Visual Baselines
Take clear screenshots of important pages during UAT. Use them as reference points for future deployments to catch unexpected changes. - Automate Screenshot Comparisons
Don’t rely on manual ‘look and feel’ reviews. Use tools like Applitools to automate visual checks, test across browsers and devices, and ensure UI integrity on every release. - Involve the Whole Team
Encourage developers, testers, and product owners to review visual diffs during pull requests. It reinforces a culture where UI quality is everyone’s responsibility.
Don’t underestimate visual appeal as part of user experience—in Salesforce, a flawless UI through visual testing can be the difference between closing or losing a deal.
Wrapping Up: The Business Case for Visual Testing in Salesforce
Visual testing is super helpful when it comes to making sure your Salesforce app not only works well but also looks right on different browsers, devices, and for different users.
In Salesforce, things like profile permissions, Lightning page setups, and screen sizes can change how components appear. That’s why visual testing is important—it helps you catch UI issues early.
It might seem tricky at first, but Salesforce testing with Applitools makes it easier. This blog gave you a basic idea of why visual testing matters to Salesforce QA teams and how you can get started. Now you’re ready to explore more and improve your testing process.
Quick Answers
Salesforce QA teams can begin with visual testing by:
– Focusing on high-impact pages like CPQ carts or dashboards.
– Creating visual baselines by taking screenshots of key pages during UAT (User Acceptance Testing).
– Automating screenshot comparisons using tools like Applitools to detect UI discrepancies with each release.
– Involving the whole team in reviewing visual differences during pull requests.
– Educating the team on the importance of treating visual bugs with the same seriousness as functional bugs.
Common visual bugs in Salesforce deployments include:
– Overlapping buttons or elements.
– Incorrect display of images, especially on mobile devices.
– Layout issues due to variations in screen resolution or browser type.
– Incorrect field visibility based on user roles and permissions.
– Differences in UI between UAT and Production environments.
– Inconsistencies caused by third-party app integrations or Lightning component customizations.
While functional tests ensure that features work as expected, they don’t verify the visual presentation of the application. In Salesforce, UI can be highly dynamic and personalized, with elements appearing or disappearing based on configurations.
Functional tests alone might pass even if the layout is broken or if elements are not displayed correctly. Visual testing complements functional testing by ensuring the UI is both functional and visually appealing, leading to a better user experience.
Salesforce has a regular release schedule with three major updates per year. These updates often include UI changes, new features that can impact existing layouts, and sometimes the removal of older features, all of which can lead to unpredictable UI behavior.
This high frequency of updates makes visual testing essential. Without it, issues like layout shifts, unexpected field visibility, and broken components can easily slip into the production environment. Visual testing ensures that these changes are reviewed and verified, helping maintain UI consistency despite the ongoing updates.
Salesforce has three major releases per year, each potentially introducing UI changes, new features that impact layout, and sometimes the removal of existing features. This makes the UI unpredictable.
Applitools helps by automatically detecting visual differences between releases, ensuring that any unintended changes are caught before reaching production. This is especially useful because functional tests might pass even if the UI layout is broken or if elements are not displayed correctly. Applitools provides a safety net, validating that the UI looks right and functions correctly, regardless of Salesforce’s frequent updates.