testRigor & Salesforce
  • NO-CODE UI TESTING: Guide for testRigor & Salesforce
  • Getting Started
    • Get a Salesforce Hands-On Playground Org (free)
    • Get testRigor (free) and create a Test Suite
    • Create Test Case (T00001)
    • Navigation in Salesforce
    • Navigation in testRigor
  • BASIC TEST CASES
    • Record, edit and play a Test Case (T00002)
    • Create and convert a Lead (T00003)
    • Create more records (T00004)
    • Check Account Validation Rule (T00005)
  • ADVANCED TEST CASES
    • Account Action and List View Button (T00006)
    • Validate Field Value Using REST API (T00007)
    • E2E: Lead entry (Titan) ➔ Salesforce ➔ Email
  • OTHER TEST SCENARIOS
    • Submit a Test Lead
    • TH: Opportunity Won THEN Create Contract
    • Monitor data in your website
    • Monitoring in Production
  • FLOW TEST CASES
    • Screen Flow: Update Email Address
  • E-BIKES SAMPLE APP
    • E-Bikes sample app description
    • testRigor version of the UTAM TEST (EBIKES-00001)
    • Product Explorer - Electra X3 (EBIKES-00002)
    • Reseller Order - Create (EBIKES-00003)
    • Case - Create (EBIKES-00004)
  • LWC RECIPES SAMPLE APP
    • LWC Recipes sample app description
    • Test Case for LWC Recipes (LWC-00001)
  • CORAL CLOUDS SAMPLE APP
    • Coral Clouds sample app description
    • Experience - Generate Description using AI (CC-00001)
    • Experience - Generate Reviews Summary using AI (CC-00002)
  • MORE INFORMATION
    • About testing
    • About testing in Salesforce 🤔
    • About test automation
    • About Test-Driven Development (TDD)
    • About testRigor
    • About using testRigor
    • About other solutions
  • FEEDBACK
    • Questions? - Comments!
Powered by GitBook
On this page
  • Preparation in Salesforce
  • Add and run a new Test Case
  • Highlights from testRigor Test Case Run Screenshots
  1. ADVANCED TEST CASES

Account Action and List View Button (T00006)

  • Salesforce configuration skills needed here


Preparation in Salesforce

  • Create a List View Button "MASS SET SITE"

  • Add it to Account - List View Button Layout

  • Test the button manually in Salesforce


Add and run a new Test Case

  • Description: "T00006 - Account Action and List VIew Button"

  • Steps: Copy-paste from below

  • Click "Add and Run"

  • Observe Test Run progress and results

login

click "Accounts" 
click "slds-icon-utility-down slds-icon_container" 
click "All Accounts" 
check that page contains "All Accounts"
check that page contains "Burlington Textiles"

// SELECT ACCOUNTS IN THE LIST VIEW
click the first checkbox within the context of first table at row containing "Dickenson plc" 
click the first checkbox within the context of first table at row containing "GenePoint" 
click "MASS SET SITE"

enter "Moonbase ALFA" into "Account Site" above "Fields to update"
click "Save"
click "OK"

check that page contains "Moonbase ALFA" to the right of "Dickenson plc"
check that page contains "Moonbase ALFA" to the right of "GenePoint"
check that page doesn't contain "Moonbase ALFA" to the right of "Burlington Textiles"

DONE!

Now you know how to test an Action in a List View


Highlights from testRigor Test Case Run Screenshots

PreviousCheck Account Validation Rule (T00005)NextValidate Field Value Using REST API (T00007)

Last updated 5 months ago

testRigor selects Accounts in List View
testRigor launches an Action via List View Button
testRigor checks that changes were made to two Accounts and not made to one Account