Test automation (testRigor), anyone?
I stumbled upon https://testrigor.com/
Looks like test cases can be run in Salesforce UI, which might enable us doing two things:
TDD/shift-left in config/lowcode dev
Automatic regression testing
In case you are interested then might want to have a look at some of the unpolished stuff I’m working on:
A: Test Case “T0004 - Create Account, Opportunity”
Navigate to https://app.testrigor.com/public/8uo2pp7rLx3Qsg3rD
Click “Test Cases”
Enter T0004
Click “Apply”
Click Caret Down
Click a screenshot twice in order to see the images in full screen
Note that the bottom-left hand corner shows the actions taken on that screen
For some reason the Test Case details cannot be viewed. Therefore, I paste it here:
UTIL-0001 - Set DATETIME_NOW_LOCAL for Helsinki, Finland
login
// CREATE ACCOUNT //
open URL from string with parameters "${URL_SALESFORCE_HOME}/lightning/o/Account/new"
click on "Accounts"
click on "New"
generate from template by string with parameters "!TEST ACCOUNT - ${DATETIME_NOW_LOCAL} - %%%-%%", then enter into "Account Name" and save as "AccountGenerated"
enter "TEST-ACCOUNT-NUMBER" into "Account Number"
select "Utilities" from "Industry"
click on "Save"
grab url and save it as "URL_Account"
check that page contains stored value "AccountGenerated"
// CREATE CONTACT FOR ACCOUNT //
open URL from string with parameters "${URL_Account}"
click "Contacts ("
click "New"
generate from template by string with parameters "First - %%%-%%", then enter into "First Name" and save as "ContactFirstNameGenerated"
generate from template by string with parameters "Last - ${DATETIME_NOW_LOCAL} - %%%-%%", then enter into "Last Name" and save as "ContactLastNameGenerated"
enter "!TEST CONTACT" into "TITLE"
click "Save"
click from string with parameters "${ContactFirstNameGenerated}"
grab url and save it as "URL_Contact"
check that page contains stored value "ContactFirstNameGenerated"
check that page contains stored value "ContactLastNameGenerated"
// CREATE OPPORTUNITY FOR ACCOUNT AND CONTACT//
open URL from string with parameters "${URL_Account}"
click "Opportunities ("
click "New"
generate from template by string with parameters "!TEST OPPORTUNITY - ${DATETIME_NOW_LOCAL} - %%%-%%", then enter into "Opportunity Name" and save as "OpportunityGenerated"
select "Qualification" from "Stage"
enter "1.1.2025" into "CloseDate"
enter "1.23" into "Amount"
enter from string with parameters "${ContactLastNameGenerated}" into "Primary Contact"
click from string with parameters "${ContactFirstNameGenerated}"
click on "Save"
click from string with parameters "${OpportunityGenerated}"
grab url and save it as "URL_Opportunity"
check that page contains stored value "OpportunityGenerated"B: Steps for setting up Salesforce and testRigor
EDIT: now in Gitbook: https://juhalassila.gitbook.io/testrigor-and-salesforce
As I mentioned, both of these materials (A: and B:) are unpolished. Anyways, I think you’ll get the picture.
Pricing: starting from 0 (Free forever, but “public”) to $300 / $900 / $NNNN per organization you work for.
Pls, let me know if you get excited, too.