Skip to main content

Salesforce testing

Note:

This integration provides assistance for certain user-specific use cases, but it is not officially supported. Compatibility with all user requirements is not guaranteed.

This tutorial illustrates how Katalon Studio facilitates the automation of Salesforce applications, covering test cases for lead, case, and account management. Additionally, the dashboard management test cases include an example involving an iframe.

Use cases for Salesforce testing

Use CaseActions
Lead managementLog in - Create a new lead - Change status - Change owner - Search and delete a lead - Close application
Case managementLog in - Create a new case - Edit and change status - Search and delete by ID - Close application
Account managementLog in - Create an account - Close application
Dashboard managementLog in - Create a dashboard - Add components and reports - Create filter - Delete dashboard - Close application

Automate Salesforce test cases

  1. Go to Project > Settings > Test Design > Web UI and change the priority of Xpath Locators.
    change Xpath Locators priority in Katalon Studio project settings
  2. Add Desired Capability to handle Popup (Show Notification). See Manage Desired Capabilities in Katalon Studio.
  3. Record test script via Katalon Recorder and save test objects and test cases. See Record web utility in Katalon Studio.
  4. Update the application URL, username, and password inside the Default profile.Update URL, username, password in Default profile
  5. Run the test execution. You can refer to Execute tests with Katalon Studio overview.
  6. Verify the test execution result. You can refer to View test runs and execution logs.
If the test execution fails because of "Element not interactable" exception, you can change the keyword Click to Enhanced Click.KS enhanced click
Was this page helpful?