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
  • Scenario
  • Solution
  • Test Case 1: CONTACT - Update New Email Address - Positive
  • Test Case: CONTACT - Update New Email Address - Negative
  1. FLOW TEST CASES

Screen Flow: Update Email Address

PreviousMonitoring in ProductionNextE-Bikes sample app description

Last updated 5 months ago

Scenario

  • Your boss, Mr. Pointyhaired, is worried about data quality in Salesforce.

  • He came up with an ingenious idea:

    • Make users type in the email address three times.

    • Only if the same email address is entered three times then the email address will be updated.


Solution

  • Create and activate a Screen Flow.

    • User enters the email address to three email address fields

    • User clicks "Next".

    • If the same email address was entered three times then Update the Contact Email

  • Create an Action for your Screen Flow.

  • Add your action to the Contact Page Layout.


Test Case 1: CONTACT - Update New Email Address - Positive

login
click "Search..."
enter "Avi Green"
click "Contact" above "Show more results for"

click "Update Email Address"
check that page contains "Enter new email address. In order to ensure data quality, enter it three times."

generate unique email, then save it as "generated_Email"
enter stored value "generated_Email" into "Email 1"
enter stored value "generated_Email" into "Email 2"
enter stored value "generated_Email" into "Email 3"
click "Next"

check that page contains stored value "generated_Email" under "Email"

Test Case: CONTACT - Update New Email Address - Negative

login
click "Search..."
enter "Avi Green"
click "Contact" above "Show more results for"

click "Update Email Address"
check that page contains "Enter new email address. In order to ensure data quality, enter it three times."

generate unique email, then save it as "generated_Email_1"
generate unique email, then save it as "generated_Email_2"
generate unique email, then save it as "generated_Email_3"
enter stored value "generated_Email_1" into "Email 1"
enter stored value "generated_Email_2" into "Email 2"
enter stored value "generated_Email_3" into "Email 3"
check that page contains "EMAILS ARE NOT OK"
click "Next"
check that page contains "EMAILS ARE NOT OK" // LOOPED TO THE SAME SCREEN IN FLOW
click "Close"

check that page doesn't contain stored value "generated_Email_1" under "Email"
check that page doesn't contain stored value "generated_Email_2" under "Email"
check that page doesn't contain stored value "generated_Email_3" under "Email"
1MB
CONTACT_-_Update_New_Email_Address_-_Positive_Built-in_Ubuntu_Chrome_202412191042_ee6cdd72-a511-4029-a82b-c667087e7bd7.pdf
pdf
Positive Test Case Run
1MB
CONTACT_-_Update_New_Email_Address_-_Negative_Built-in_Ubuntu_Chrome_202412191134_8d7b3f88-259b-4f40-8a93-6aa472b93429.pdf
pdf
Negative Test Case Run