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 re-use the browser launched by the calling test, follow the steps below:

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

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.


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.

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