Reusing a Salesforce Connection

Typically when using a callable UI Test, the default will be for Provar to create a new browser session for a Salesforce connection step.  If you would like to reuse the browser launched by the calling test, follow the steps below in reusing Salesforce connection:

Steps in Reusing Salesforce Connection

In the Salesforce connection test step, add a Test Case Parameter for the Override Connection field.

Creating new test case parameter to Reuse in Salesforce connection

Set the If already open option to Re-use the connection.

Set the If already open option to Re-use the connection

Note that a variable has been generated in the Override Connection field.

Drag the callable test into the calling test, and specify the Override Connection to use.

Drag the callable test into the calling test, and specify the Override Connection to use

Jenkins Callable Tests Without an Override Connection


When combining normal test cases and callable test cases, you have the flexibility to specify if you want the combined tests to run using the same browser from end-to-end or run using multiple browsers.

When using Jenkins, if you don’t specify an override connection, the test will simply open up a new callable test case connection when transitioning to the new test. This also applies to other continuous integration tools such as Travis and Bamboo when reusing Salesforce connection.

Setting when using Jenkins in reusing Salesforce connection

Review Provar on G2
Documentation library

Other available resources

Looking for something different?

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