Documentation

Looking for something in particular?

Setting Up ProvarDX

This document will explain how get started with ProvarDX.

Install Salesforce CLI

Following the Salesforce CLI Setup Guide , install the version of Salesforce CLI that suits your needs.

SalesforceDX Project

Working with a Salesforce DX project is different due to its specific structure and a configuration file that identifies the directory as a Salesforce DX project. To learn more about creating these projects, check out the Salesforce documentation.

To set up a SalesforceDX project to practice with, follow the Trailhead Project Quick Start: Visual Studio Code for Salesforce Development

Install Provar DX

Open the Windows Command Prompt or PowerShell. Type or copy/paste the following into the terminal :

sf plugins install @provartesting/provardx-cli

When prompted, enter “y” for yes to continue.

Confirm installation by entering sf plugins --core

Provar Project

A Provar project and its related tests are necessary to run tests on your SalesforceDX Project.

Read more about Creating and Importing Projects.

Generate config file for ProvarDx

Note: ProvarDX can be completely configured through the CLI. Below are directions to configure from the Provar Automation user interface.

Select any test cases you want to run with ProvarDX. You can select multiple files or folders by holding the CTRL (Windows) or CMD (Mac) button while selecting.  

Right click to open the context menu and select Export as ProvarDx

Notice the selected test cases are listed in the Test Cases box. 

It is recommended to select As File to create the file inside Provar Automation as it prepopulates the required environment settings and parameters and is ready to run. 

You should see a file created in the navigator under provardx.

Whenever you want to execute these tests, you have two options:

From the Terminal:

sf provar automation test run

From VSCode command palette:

With the ProvarDX extension installed, select the ProvarDX: Run Testcases option. 

You will be prompted for your property file, but you can accept the default of provardx-properties.json.


Feedback

Was this article helpful for you?
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