SalesForce Testing Beginner’s Guide

Here is an in-depth tutorial on salesforce testing. It will tell you how to perform SalesForce testing along with its benefits and other features in simple terms for your easy understanding. We will also learn why it is the perfect choice for organizations globally.

Introduction to SalesForce Testing: is one of the most widely used Customer Relationship Management (CRM) tools. It was founded by Marc Benioff and is currently headquartered in San Francisco, US.

The primary purpose of a CRM tool is to sustain the relationship of an organization with its customers once the product is delivered to customers. Over time, along with providing CRM services, SalesForce also offered cloud storage as well, thereby reducing the hassle of maintaining physical servers for data storage of web applications.

Also, cloud-based storage does not require a user to install any additional hardware or software for using the application. It allows organizations to reduce the development cost and build applications within a short time frame.

Salesforce Testing

SalesForce Testing

Benefits of Using SalesForce

Mentioned below are the various benefits that are derived through Salesforce testing:

  • More than 82,000 companies use the SalesForce platform worldwide.
  • Helps to maintain a positive relationship with the customers.
  • Enhanced communication between customers and organizations.
  • Automation of daily tasks.
  • The productivity of the developers would be increased as SalesForce provides inbuilt objects to reduce the development effort.
  • No additional software is required to use SalesForce.
  • Developers can reuse existing applications through the built-in SalesForce app store called App Exchange. SalesForce also allows the developers to build their own custom applications.
  • Inbuilt reporting mechanism.
  • SalesForce administrators can create internal users within the SalesForce platform.

SalesForce will show graphical representation of the number of users logged in, tasks assigned to each user and information added to SalesForce.

The image below is a representation of how dashboard screen will look like.


The image below shows the types of inbuilt reports that can be generated on the SalesForce platform.


Recommended Salesforce CRM Testing Service Providers

#1) QASource: Full-service QA testing services company specializing in SalesForce Testing

Best for the companies that need full-time QA testing engineers to augment their team’s resources or manage the entire QA function.


QASource is a leading software engineering and QA services company providing dedicated, full-time testing engineers and a full suite of QA testing services to help you release better software faster.

The reason I recommend it – They specialize in Salesforce testing, automation and optimization services to help your business maximize your investment. With a team of over 800 engineering experts located in both offshore and nearshore locations, it has been providing software testing services to help Fortune 500 companies and startups since 2002.

QASource is headquartered in Silicon Valley with testing teams and state-of-the-art testing facilities in India and Mexico. A few clients of QASource include Ford, Oracle, Prudential, eBay, Target, Facebook and IBM.

Other Core Services: Automation Testing, API Testing, Functional Testing, Mobile Testing, Salesforce Testing, DevOps services, and dedicated full-time engineering teams.

#2) ACCELQ for Salesforce: Salesforce no-code test automation on the cloud.

ACCELQ for Salesforce

Continuous Testing & Automation on Salesforce. ACCELQ is the Official Salesforce ISV partner and on Salesforce App Exchange. What makes us the Leader in Salesforce Test Automation is being an ISV partner,

Why I like it – ACCELQ is aligned to Salesforce releases to ensure smooth Salesforce upgrades with robust Automation testing. Our AI-driven no-code test automation platform on the cloud is optimized for Salesforce-specific Dynamic technology.

ACCELQ provides seamless support for the Salesforce Technology stack and is proven to speed up automation development by 3 times and bring down the maintenance 70% that translates over 50% of the cost savings and enables alignment with Continuous Delivery.

Other Core Services: ACCELQ Web, ACCELQ API, ACCELQ Mobile, ACCELQ Manual, and ACCELQ Unified.

#3) ScienceSoft: Testing Services for High-Performing CRM

Best for companies looking for a reliable and trustworthy CRM testing partner.

ScienceSoft - Salesforce Testing

ScienceSoft is an IT consulting and software development company with 31 years of experience in software testing services and 12 years in CRM development.

The reason I recommend it – As a Salesforce consulting partner, ScienceSoft provides Salesforce testing services leveraging your expertise in CRM specifics, best testing practices, proven testing quality standards, and test automation tools.

Other Core Services: Functional Testing, Integration Testing, Performance Testing, Security Testing, Data Warehouse Testing, Usability Testing.

SalesForce Terminology

SalesForce contains terminology that is required to be understood by both the developers and testers in order to work with the SalesForce applications.

Below mentioned are some of the terms that are most widely used in SalesForce:

#1) Opportunity:

An opportunity is a potential sales deal that an organization wants to keep track of. It is the responsibility of any organization to make the opportunities available to the general public.

Example: A customer approaching a bank salesperson in need of a personal loan. In this case, a personal loan would be an opportunity.

#2) Lead:

A lead is a person who expresses interest in an opportunity. Caller to the organization for further information on the opportunity.

Example: A customer approaching a bank salesperson in need of a personal loan. In this case, the customer would be the lead and personal loan would be the opportunity.

#3) Account:

An account corresponds to any company that you want to manage including its customers, vendors, partners, and prospects.

#4) Contact:

The contact is the person who works for the account. Contact could be an employee of the account.

#5) Tasks and Events:

Tasks and events correspond to all activities involved in the association to the particular opportunity, contact or account.

#6) Reporting:

SalesForce provides built-in reporting mechanisms to keep track of real-time data and report the daily progress of each task.

The image below shows the terminology used in SalesForce. Each term has an icon associated with it as listed below.


Below is a snapshot of how Accounts and Opportunities are represented on the SalesForce platform.


SalesForce Testing Guide

What is SalesForce Testing

SalesForce testing requires the use of complex test methodologies as most of the features in SalesForce are built-in features that are customizable. When an issue is observed, the tester needs to make sure that he is testing the code that has been customized rather than testing the built-in salesforce functionality.

Salesforce is built on a platform development language named APEX. The language provides built-in unit test cases for developers to test their own code. The standard rule of SalesForce requires a developer to achieve 75% of code coverage with unit test cases.

From a tester’s perspective, we should always aim for 100% code coverage within each test cycle.

Salesforce Testing Process

The salesforce testing process would be the same as that of testing a normal web-based application. However, a tester needs to have a clear perspective of the customizable features that are being built so that during the testing process, a tester can focus on those features alone rather than the built-in Salesforce features.

Testing Salesforce applications requires a production-like environment called SandBox. Developers and testers need to use the Sandbox environment for each of their purposes.

Once the code is deployed in a Sandbox environment and approved to be ready for release, the code will be moved to production from the Sandbox environment. Assuming that the tester has basic knowledge of all the terms used in Salesforce before proceeding with testing.

Salesforce Testing Tips

Salesforce testing must include the following features:

  • Testing must include UI testing, functional testing, regression testing, integration testing, system testing and system integration testing.
  • Automation testing can also be enforced on SalesForce using tools like HP Unified Functional Testing (UFT ) and Selenium.
  • Testers need to be cautious during UI testing as most of the web pages on the Salesforce platform are Visual Force pages. The dynamic nature of visual force pages needs to be paid special attention as all the elements of a webpage may not be loaded in one go.
  • Testers need to create functional flows including positive and negative flows to cover the entire functionality of an application.
  • Workflows using various user roles must be constructed and tested.
  • Test cases need to be documented using a test management tool like HP ALM.
  • Test Data needs to be prepared to validate the report functionality.

What are the roles and responsibilities of a Salesforce Tester

Testers involved in SalesForce are often referred to as Quality Engineers, as opposed to Quality Assurance, people as SalesForce testing requires the testers to build complex test frameworks, understanding the functionality of an application in depth and the ability to work with the developers and project stakeholders.

Please note that some of the default functionalities provided by SalesForce cannot be removed, although your organization may not use them. Testers need to ignore the default functionality and focus on the customized functionality built by the organization.

Given below are some of the major roles and responsibilities of a Salesforce tester.

  • Testers need to have clear communication with the development team to understand the customizable features that are being built into SalesForce.
  • The tester needs to coordinate with the business whenever required as the requirement document for Salesforce is usually complex to understand and requires a lot of effort to be understandable by the testers.
  • The tester needs to make sure that the code coverage does not go below 75% as per the standard Salesforce rule.
  • The tester needs to conduct role-based testing to ensure the consistency of data in various user roles.
  • The tester needs to perform compatibility testing of third-party applications integrated with SalesForce, if any.
  • Testers need to be familiar with load testing tools such as JMeter to validate complex flows that produce inconsistent results in Salesforce.
  • The tester needs to be familiar with multiple application flows.

SalesForce Exploratory Testing

Exploratory Testing in Salesforce would involve the following best practices:

  • Testing should involve validating the consistency of data across multiple screens.
  • UI Testing must involve documented test cases as per the required document.
  • Testing should involve negative test flows, such as deleting the default data generated and validating the behavior of an application.
  • Testing should involve user input validation in the form fields.
  • Cross browser compatibility testing needs to be performed to ensure that the rendering of data is correct across multiple browsers.
  • Testing must include Maximum length validation for each of the editable input fields along with invalid data validation.
  • Testing must also include error message validation when invalid data is passed onto the applications.
  • Amount field validation on banking applications using Boundary Value Analysis technique needs to be performed with proper diligence.
  • Reports and dashboard testing need to be paid special attention to various test data parameters.
  • Testing should include the entire application flow, along with individual functional flows.
  • Multiple permutations and combinations of functional flows can be tested for positive and negative testing.
  • API testing for integrated third-party applications needs to be performed.
  • Identify the default Salesforce functionalities that come in the way of customized features and coordinate with the developers.

SalesForce Test Automation

Automated functional testing of SalesForce is a challenging one as most of the web pages are dynamic in nature on the SalesForce platform. Hence, SalesForce demands that automation testers build a robust automation framework to sustain in the future. Also, there can be frequent updates to the applications as they are on cloud applications.

Test Automation in Salesforce can be achieved using any of the following tools:

  • Selenium Web Driver
  • HP Unified Functional Testing (UFT)
  • Testing Frameworks, such as Cucumber
  • Provar

Salesforce Load Testing

Load testing involves testing the behavior of an application under varying loads. is a highly scalable platform built to handle a large number of users. is tested by the platform developers themselves for performance bottlenecks.

However, load testing becomes essential when a newly introduced piece of code yields performance bottlenecks that have to be addressed. Load Testing on Salesforce platform can be performed using performance testing tools such as HP LoadRunner and Apache JMeter.

Below are some of the Salesforce load testing strategies that can be implemented:

  • Validating the behavior of an application under a maximum number of users.
  • Load Testing needs to be carried out in the Sandbox environment rather than the actual production environment.
  • Important business processes need to be identified and test scripts need to be prepared.
  • Test scripts need to be executed and key metrics such as Transactions Per Second (TPS), Response Time and Bytes throughput overtime must be derived.
  • Once all the metrics are collected, the application needs to be assessed for any performance bottlenecks.
  • If there are multiple teams working in the same environment, be sure to inform the other teams of the time within which load testing is being carried out.

Salesforce Security Testing

Security testing on the Salesforce platform is usually done by the SalesForce development team. Before placing a request for a security test, it is best to review the “Application and Network Vulnerability Assessment Summaries” provided by Salesforce.

After reviewing the summary, if a security test is still required, then a Security Assessment Test can be scheduled with the Salesforce team.

Given below is the list of security testing tools that are offered by SalesForce: Security Source Scanner:

The security source scanner is an on-demand static code analysis tool provided by SalesForce. The tool scans the source code that is provided as input and yields a summary report with a list of potential security vulnerabilities. A security source scanner requires a license to be used.

The tool can be accessed from here. Secure Coding Library:

This is a standard library provided by SalesForce that helps the developers to enforce the best coding practices in terms of security. Usage of this library helps the developers to reduce the risk of developing high-risk applications with security vulnerabilities.

The library can be accessed from here.


SalesForce has a dedicated community of developers and testers whom one can connect to in an hour of need.

It can be used using a web browser without the need to install additional hardware or software, which makes it the ideal choice for a number of organizations worldwide. The career growth aspects for SalesForce platform testers are very rapid.

Testers can opt for administration certification or developer certification and improvise their career on the SalesForce platform.

Also Read => What is CPQ in SalesForce?

Do you have experience in SalesForce Testing? We would be glad to hear from you. Please provide your feedback in the comments section below.

Recommended Reading

33 thoughts on “SalesForce Testing Beginner’s Guide”

  1. Useful tutorial. Can you post test cases for Salesforce integration testing?

  2. Hai I dont have Experience in Salesforce Tetsing but i am keen to learn.

    • Pls contact Govind : +91 888 676 5959 . i will help you

      • Hi i need help in salesforce testing

  3. Hi, I have 5 years of experience in testing the Salesforce platforms. I am also a certified administrator. Overall I have 11 years of experience. This article is very informative. May be we should have a series on Salesforce testing.

    • i need online sfdc testing trainer if you know please give me contact number

      • Hello all,

        I am planning to start Salesforce testing full course if any one interested plz contact
        on 89830278748


    • Need Salesforce Testing training please help out if you can.


    • can you please help me out, i have an interview tomorrow

  4. Hi,Thanks to author for giving a good overview about salesforce testing,Been 1 year of exp I didn’t know about few terms in SF testing ,but this could be helpful to know about terms and approaches of SFDC-Testing. It would be helpful if you continue some more topics.

  5. Salesforce which domain used ?

  6. Hi, Thank you very useful to learn about the salesforce testing and scope.

  7. what is the scope for performance testing in salesforce.

  8. i need sfdctesting online trainer can any one know the trainer please give me details

  9. Thank you.Interesting and very much USEFUL.

  10. Hi, I have a question about SalesForce with Selenium
    I try login to Salesforce whit this script, but it launches
    the page of verification of identity. The user and password
    are working, so how can I avoid the verification page?

    • Hi Rodrigo,
      You need to add your computer’s IP address to the ‘Trusted IP Ranges’. You can do this by navigating following these steps:
      1. Click on Setup
      2. Type ‘Network’ in the Quick Find box
      3. Click on Network Access
      4. Click ‘New’ on ‘Trusted IP Ranges’ and add your IP address
      5. Click on Save

      Hope this will solve your problem.

      P.S. I have 2 years of experience as a Salesforce Quality Engineer and overall 6 years of experience as a QA. I am also a certified Salesforce Administrator.

      • Hi, i have 4 year of expereince in testing now i want to learn sales force testing plz guide….also i know automation.

  11. Hi,
    This is an excellent post. Thank you for sharing this informative and helpful post related to salesforce testing guide. This article is really very useful for me. Keep sharing new posts.

  12. Nice Information. Thank you for sharing.

  13. Hey,
    This article is pretty detailed and very well emphasizes on Salesforce application testing.

    I am a SFDC Certified Admin and also, a trainer. We can connect in case you still need a salesforce QA trainer.

    • Hi anubhav

      i need your help to learn salesforce qa.
      Please connect.


    • hi can you please help me out, i have an interview tommorow

    • Hi Anubhav, I need some information regarding salesforce. Please connect

  14. Would it be wrong to say that a Contact is someone an Account manager will contact for a sale, sale follow-up, upgrading for the product or service, renewal of product or service, etc…?


  15. Hello How can i automate in selenium by copying all Salesforce health check by copying from website into excel ?

  16. thanks for sharing this informative article about Salesforce testing really very helpful. All the required aspects are clearly defined like terms used in salesforce testing process and tips.

  17. Very informative and insight information about Software Testing.

  18. Way too may ads in the video. I can understand a few but when you are trying to learn something, the ads make the whole process useless.

  19. Very Good article. How much of Apex, Visual force & LWC development knowledge is required for Salesforce Tester?

  20. Are Salesforce Testers are expected to validate Apex Triggers, Batch classes, Future method or aura components etc? Or just validate the UI component considering all the possible combinations?

  21. Very Informative..

  22. Quite informative. A more advanced article(s) would be great on these topics:
    1- What are the absolute best proven automation test frameworks/tools for end-to-end flows, for SF Lightning at the UI/user level and also for other integrated apps that consumes their data from SF?
    Selenium is okay for UI testing, but due to slowness, it’s not good enough for heavy end-to-end testing.

    2- How to handle the challenges of creating test data in a test sandbox for end-to-end automation testing when that data originated from a Production org and you can only refresh the org once a month?

    3- Load testing: proven best framework for load testing


Leave a Comment