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
  • Create a Salesforce Trailhead account
  • Login to your Salesforce Trailhead account
  • Create a new Hands-On/Playground Org
  • Fine-tune your Salesforce Org
  • Setup > Allow OAuth Username-Password Flows
  • Set "Sales" as first App in App Launcher
  • Set the Display Density to "Compact"
  • Uncheck: Make Setup My Default Landing Page
  • Bypass "Verify Your Identity"
  • Get Salesforce login credentials
  • APPENDIX:
  • Record these details of your Salesforce Hands-On Playground Org
  1. Getting Started

Get a Salesforce Hands-On Playground Org (free)

PreviousNO-CODE UI TESTING: Guide for testRigor & SalesforceNextGet testRigor (free) and create a Test Suite

Last updated 3 months ago

Org locale settings might get "inherited" from the Country that your Trailhead account is set up with. The examples here are created and tested for locale: Finland.

  • If your date format is not DD.MM.YYYY then you might need to change f.ex. the Opportunity Close Date in the test cases provided later in this gitbook to your format (it could be sth like MM/DD/YYYY).

Create a Salesforce Trailhead account

  • (only if you don't have it already)

  • Navigate to:

  • Click: "Sign Up"

  • Suggestion: Click: "View more options" > LinkedIn


Login to your Salesforce Trailhead account

  • Click: "Login"

  • Click: "Trailhead"


Create a new Hands-On/Playground Org

  • Click on your profile picture (upper-right)

  • Click: "Hands-on Orgs"

  • Click: "Create Playground"

  • Enter Name: "testRigor_2024_12_08"

  • Click: "Create"

  • Wait a couple of minutes

  • Observe details of your Hands-On Org

  • Click "Launch"

  • Record the Salesforce URL for logging into Salesforce, sth like

    • https://creative-wolf-opuabe-dev-ed.trailblaze.lightning.force.com

      • cut off the end part "/lightning/......."


Fine-tune your Salesforce Org

Setup > Allow OAuth Username-Password Flows

  • click cog > "Setup"

  • enter to Quick Search: "identity"

  • click: "OAuth and OpenID Connect Settings"

  • turn on: "Allow OAuth Username-Password Flows"


Set "Sales" as first App in App Launcher

  • Click App Launcher

  • Click "View All"

  • Grab "Sales" and drag it to the upper left hand corner

  • Click "X" to close the dialog


Set the Display Density to "Compact"

  • Click Profile pic

  • Click "Compact"


Uncheck: Make Setup My Default Landing Page

  • Click: Profile pic

  • Click: "Settings"

  • Click "Display & Layout"

  • Click: "Customize My Pages"

  • Uncheck: "Make Setup My Default Landing Page"

  • Click: "Save"


Set "Sales" as default App

  • Click Setup

  • Enter: "Profiles"

  • Click "Profiles"

  • Click: "S"

  • Click "System Administrator"

  • Click "Edit"

  • Check the "Default" checkbox next to "Sales (standard__LightningSales)"

  • Click: "Save"


Bypass "Verify Your Identity"

This is an admin trick that should not be done in "production" Salesforce Orgs.

In Salesforce Hands-On/Playground Orgs it's OK.

From security point of view, there are risks in installing installing Chrome Extensions. Follow the guidelines of your InfoSec team. Always proceed with caution.

  • Install Chrome Extension: "Whitelist All IPs for Salesforce"

  • Then in Salesforce

    • Switch to Salesforce Classic

    • Navigate: Setup > Network Access

    • Click: "Whitelist All IPs"

    • Read the warning and click: "OK"

    • Wait that all IPs get whitelisted

    • Click "Switch to Lightning Experience"

  • Then in Chrome

    • Deactivate or Uninstall the "Whitelist ..." Chrome Extension


Get Salesforce login credentials

  • in Salesforce Playground Starter App:

    • Click "Get Your Login Credentials" (tab)

    • record of your username

    • Click "Reset My Password"

    • Click "Ok"

  • In your inbox

    • Locate Email from Salesforce with this subject:

      • "Finish resetting your Your Developer Edition password"

    • Click the long link

    • Click "Reset Password"

    • Enter, confirm and record your password

    • Click "Change Password"

  • In Salesforce

    • Click: Profile pic (upper-right)

    • Click "Log Out"

  • In Salesforce Login

    • Enter your Username

    • Enter your Password

    • Click "Log In"

    • Click "I Don't Want to Register My Phone"


DONE!

  • Now you have a working Salesforce Hands-On Playground Org.


APPENDIX:

Record these details of your Salesforce Hands-On Playground Org

For logging in as User in Salesforce UI

DETAIL
VALUE
DESCRIPTION

Trailhead account registered email

_______

If you used email address to create your Trailhead account

Hands-On Org name

_______

f.ex. "testRigor_2024_12_08"

Hands-On Org URL

_______

  • for navigating to Salesforce

  • to be stored in testRigor Test Suite

  • to be stored in a global variable in testRigor

Hands-On Org Username

_______

  • for logging in

  • to be stored in testRigor Test Suite

Password

_______

  • for logging in

  • to be stored in testRigor Test Suite


Navigate to:

Navigate to:

sth like:

https://trailhead.salesforce.com
https://trailhead.salesforce.com
https://chromewebstore.google.com/detail/whitelist-all-ips-for-sal/nnlnikmkkbpgioojghgojoejgcheilic?hl=en
lassila.juha.k@creative-wolf-opuabe.com
https://trailhead.salesforce.com