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 Provar Manager. In Gearset, you can trigger Provar test plan schedules to run automatically following a successful deployment job run targeting a Salesforce org.
You’ll need a Deployment Teams and also Automation Platform Teams or Automation Platform Teams Enterprise license to set up and use UI testing with Provar Manager.
How to setup UI testing with Provar Manager
Add a connection to Provar Manager
A team owner needs to complete this step.
On the Source control and services page, click the Connect to Provar Manager link.
Gearset will open a dialog where you can choose your Salesforce org connection that has Provar Manager installed on it. This will have to be a team-owned connection in Gearset to ensure that we're always able to trigger the tests in Provar regardless of who ran the job.
You should also have the Provar Manager API enabled and setup to use OAuth as the authentication method.
Run tests after a successful deployment
You can specify which Provar Manager test plan schedules to run after your CI deployment job has successfully finished by editing the settings of a job on your continuous integration dashboard or when you are creating a new CI job.
You’ll need to select Provar Manager as your provider and specify the test plan schedule names under the “Automated UI tests” section.
You should be able to find your test plan schedules in the "Test Plan Schedules" section of Provar Test Operations.
On the next successful run of the CI deployment job the UI tests will be triggered in Provar.
Viewing test results
Gearset will monitor the status of the tests being run by Provar and display the result in your pipelines environment and on the CI job dashboard.