Salesforce CRM GUI Test Automation: Eliminating locator struggles

Venkat Ramakrishnan
2 min readFeb 22, 2022

Salesforce CRM is complex in its GUI elements. Testing of these GUI elements on every update is very painful. It takes a lot of testing effort especially in the weekends to get the new releases tested so that the new releases are ready for business on Monday morning. But that sucks a lot of personal time for the engineers involved, which is terrible. It’s not good for Salesforce CRM GUI Test Automation.

If there is a way to automatically update the GUI locators so that testing can be done, that would be great, right? Guess what, Salesforce provides UI-API facility to get all the GUI locators through API. Once you run the API, you will have the list of all the updated GUI locators neatly arranged which you can use for your test automation purposes!

Wish you had a framework for this? No sweat! TestZeus is the open-source test automation framework for this! Robin Gupta, the creator of TestZeus, and me, Venkat Ramakrishnan, did a podcast to introduce folks to TestZeus. TestZeus got released just last week and it’s up for grabs by the community to be used!

A couple of cool things that I came to know about TestZeus — (1) it reduces flakiness — as the unnecessary sleeps and waits in the automation scripts can be removed because the API itself finds out the right times to wait and implement, and (2) it reduces maintenance time because the locators are automatically suggested by Salesforce UI-API.

Here’s the podcast:

If you are in the Salesforce CRM space, what are you waiting for? Go ahead and give TestZeus a try, and let Robin know of your feedback! I’ll be monitoring for comments in the YouTube video too!

I look forward to add more blogs on Test Automation in my software testing blog site!

Cheers to Salesforce CRM GUI Test Automation!

--

--

Venkat Ramakrishnan

Software Testing | Software Quality | Digital Transformation | Storyteller | Poet | Musician | Earth | Yoga | Education | https://venkatramakrishnan.com