We're here to help

Creating test cases

A test case is a collection of test steps representing a given use case. When you execute a test case, all test steps are executed sequentially. Test cases are stored with the file extension .testcase in the test project’s tests folder.

 

Creating a new test case


To create a new test case, start by selecting New Test Case from the menu bar or File in the top left hand corner of Provar Desktop.

Provar will present a wizard to help create the new test case.

Choose which Salesforce connection you would like to use and select the Salesforce Application (this is the tab in the top right hand corner of a Salesforce screen, e.g. Sales, Call Center, Console, etc.).

If you want to add UI test steps with the Test Builder, leave the Launch Test Builder Session checkbox ticked. This will log you into Salesforce automatically using the Connection and Salesforce Application you selected.

Then click the Finish button.

 

Adding test steps


Once you’ve created your test case you can start adding test steps to it. You can do this via the Salesforce UI with the Test Builder (launched from the New Test Case screen above, or by clicking the Test Builder icon at the top of Provar Desktop):

Alternatively, you can add an Salesforce API test step to set up some test data, or use one of Provar’s many test steps to perform other tasks.

Refer to Adding Test Steps for more information on using the Test Builder.