Documentation

Looking for something in particular?

Provar Test Builder

The fastest way of building UI test cases in Provar is with the Test Builder.

The Test Builder, an Electron application, is an interactive tool for authoring and debugging UI test cases. The Test Builder captures fields and values on your Salesforce (and non-Salesforce) webpages and adds them to your test case as test steps. This allows you to build up test cases rapidly, authoring and debugging as you go.

The Test Builder also:

  • Creates Page Objects and adds fields to it, if a field needs to be specially mapped (e.g. on a Visualforce page)
  • Runs test cases for debugging, supporting breakpoints and forwards and backwards stepping
  • Captures variables which are visible during and at the end of the test execution

Adding test steps with the Test Builder


The Test Builder is the fastest way of adding UI Test Steps to a test case.

To add UI test steps using the Test Builder, first launch the Test Builder. This can be done by clicking the Test Builder icon () at the top of Provar Desktop, or by ticking the Launch Test Builder Session checkbox as you are creating the test case. (Refer to Creating test cases for more information.)

Once you have launched Test Builder and it has connected you to Salesforce, right-click on the element you want to perform an action on and select Add to Test Case.

Draft test steps


Once you have added the element to your test case, a draft test step will be created in the Test Builder. This allows you to add or amend information in the test step before it is added to the test case.

Provar will use its knowledge of your Org to default as much information as possible in the draft test step. For a standard Salesforce field on a standard layout, Provar will default the Main Page, Field Name and the Value, if a value exists.

Since this is only a draft test step, you can edit any information prior to saving, for example adding or amending the Value.

To save the test step, select Add or Add & Do. Add will just save the step without execution, whereas Add & Do will save the step and execute it simultaneously. Add & Do is generally recommended when you are building a test case. (If you press ENTER on your keyboard at this stage, it will perform the Add & Do action.)

Modify test steps


Grouping Multiple Test Steps for Drag and Drop in Test Builder

You can easily bundle together multiple Test Steps. This feature minimizes the steps required to add and organize several elements within a test case. Select multiple Test Steps and assemble them to form a group; the selected Test Steps will be nested in the same sequence as shown in the Test Case in the newly created group.

To select multiple steps, simply press CMD+CLICK on a Mac or CTRL+CLICK on a PC.

Note: When dragging steps, watch the guideline to make sure you are placing your steps in the right place.

Clone, Disable, or Delete Test Steps

You can now clone, disable, and delete multiple Test Steps from their Test Builder simultaneously. This feature seeks to improve workflow by removing the requirement to eliminate Test Steps one at a time. When numerous Test Steps are selected, users can select the desirable option.

These options are also available in the context menu:

“Add Step” and “Add a Child Step” Hover Options

There are also new hover options available in Test Builder. If you hover over a step, you can see the ability to “Add Step” and “Add a Child Step” (Parent step only) before and after a Test Step. This allows you to open the Test Palette and add additional functionality to your test in the location you choose.

“Add a Child Step” will add your new step nested under the parent step.

“Add Step” will add your new step above or below the test step depending on which option you choose.

Review Provar on G2
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top