Creating and Importing Projects

Introduction

The Test Project is a collection of all your test-related data, including Test Cases and Connections.

You must have a Test Project set up before you can create or run any Test Cases in Provar. To do this, you can either create a new Test Project or import an existing Test Project. Refer to the sections below for more information.

Creating a new Test Project

When you open Provar for the first time, the Workspace Welcome screen will appear.

If you are running a version earlier than 1.8.11.22, the old welcome screen will be shown:

On either welcome screen, if you wish to create a new Test Project, choose ‘Create a new Test Project’ and you will be presented with the screen below.

Click ‘Next’ to continue, then supply a name for your Test Project, and click ‘Next’ again.  

If you wish to choose a location for your project which is not within the workspace, uncheck the ‘Use Default Location’ checkbox and specify your location. Leaving this ticked is recommended.

To create one or more Connections immediately, you can tick checkboxes Create a Salesforce connectionCreate a Database connection and Create a and Messaging connection. To create these later, leave these options unticked. (Refer to Adding a Connection for more information.)

Finally, click ‘Next’ to create your new Test Project.

Importing a Test Project

If you have been provided with a ready-made Test Project, you need not create a new Test Project. Instead, you can import your Test Project as follows:

From the new welcome screen (Provar version 1.8.11.22 and later), select ‘Import from File‘:

Alternatively, if you have the older welcome screen, select ‘Importing an existing Test Project‘:

You will be presented with the screen below:

Choose Select root directory if you have an unzipped project folder, or Select archive file if you have a zipped file. Enter your project location, then click the ‘Finish’ button. Provar will automatically create the Project and add its Connections.

Next, Provar will start downloading the metadata for any Salesforce connections and validate the Test Cases against this downloaded metadata. It is recommended to let these operations complete before use.

Import from Source Control

As of Provar version 1.8.11.22 you can import a Test Project from a Version Control System directly from the new welcome screen.

Note that the ‘Import from Source Control’ panel will only appear if you have a relevant plugin enabled. If you do not have any plugin enabled, this panel will not appear.

Select the option ‘Import from Source Control‘:

A secondary screen will appear offering import from supported Version Control Systems (VCS):

Select your chosen VCS and then follow the instructions to import.

If your chosen VCS is not mentioned on the screen above, you can still download your Test Project to a local directory and then use the ‘Import from File’ option on the welcome screen. You can still use your VCS with Provar by manually checking in your Project and Test Case files to VCS from your local directory. Refer to the Version Control help page for more information on this or any other VCS option.

Further Reading

2017-09-14T12:09:36+00:00

Leave A Comment