UI testing helps you check that changes in your Salesforce orgs work as expected at the user interface level. One popular option for automating UI tests for Salesforce is with ACCELQ. In Gearset, you can trigger ACCELQ jobs to run automatically following a successful deployment job run targeting a Salesforce org.
You’ll need an Automation Platform Teams or Automation Platform Teams Enterprise license to set up and use UI testing with ACCELQ.
How to setup UI testing ACCELQ
Add a connection to ACCELQ
A team owner needs to complete this step.
On the Source control and services page, click the Connect to ACCELQ link.
Gearset will open a dialog for you to enter the required information.
Url - your url for ACCELQ. e.g. https://poc.accelq.io
Username: your ACCELQ username
Project code - your ACCELQ project code
Tenant code - your ACCELQ tenant code
API Key: the API key Gearset can use to communicate with ACCELQ.
The project code, tenant code and API key on the Auth properties in your ACCELQ profile.
Run tests after a successful deployment
You can specify which ACCELQ job to run after your CI deployment job by editing a job on your continuous integration dashboard or when you are creating a new CI job.
You’ll need to select ACCELQ as your provider and specify the ACCELQ job ID under the “Automated UI tests” section.
You should be able to find your ACCELQ job ID in the "Scheduled / CI Jobs section".
On the next successful run of the CI deployment job the UI tests will be triggered in ACCELQ.
Questions
How do I see the results of the tests run in ACCELQ?
Currently, Gearset does not track the result of the ACCELQ test runs, so you’ll need to use the ACCELQ website to check if the ACCELQ job was successful or not.