You use the HipTest project settings to configure integration between your project and HipTest.
To view or modify these settings:
-
Open the Properties page of the project editor and then choose HipTest in the list on the left of the page.
Note: TestComplete also includes special options to configure a connection to HipTest Enterprise. You can view and edit them in the Tools > Options > Integrations > HipTest dialog.
HipTest project
-
Bind to HipTest – This button is visible if your project is not bound to a HipTest project. Click this button to bind your test project to a HipTest project, synchronize feature files in them and automate BDD test steps. For more information, see Bind TestComplete Project to HipTest Project.
-
Unbind from HipTest – This button is visible if your project is bound to a HipTest project. Click this button to unbind your TestComplete from the HipTest project.
-
Synchronize feature files on project opening – This setting is enabled if your project is bound to a HipTest project. If the setting is on, then every time you open a project in TestComplete, it updates the feature files of your project with the feature files from the bound HipTest project. When getting data from HipTest, TestComplete retrieves scenario versions from the Scenarios collection of the bound HipTest project. For more information, see Synchronize Scenarios.
Project execution
Settings in this group are available only if your TestComplete project is bound to a HipTest project.
-
Test run – Specifies the HipTest test run to which TestComplete will post the results of scenario runs.
HipTest uses test runs to manage test execution. A test run includes a snapshot of your test scenarios to be run. You can continue modifying the scenarios, but the test run will execute the scenario copies (or versions) that were actual at the time you created the test run.
The test run you select in this property should not be an archived test run.
The Test run property does not affect synchronization between TestComplete and HipTest. When synchronizing changes, TestComplete gets feature files from and sends them to the Scenarios collection of HipTest. If you want the changes you made to feature files in TestComplete to go to the test run the Test run property specifies, enable the Synchronize scenarios in the HipTest test run property as well (see below).
-
Synchronize feature files before test run – If the setting is on, then TestComplete will update the feature files from the bound HipTest project when you run an imported BDD feature file or scenario in TestComplete. TestComplete will retrieve scenario versions from the Scenarios collection of your HipTest project. For more information, see Synchronize Scenarios.
-
Save BDD test results to HipTest – Specifies if TestComplete should post the test results of the imported BDD scenarios to HipTest after the test run is over. The HipTest test run to be used is set by the Test run property. For more information, see Upload Results.
-
Synchronize scenarios in the HipTest test run – In HipTest, different test runs can have different scenario versions. If some test run has an outdated scenario version, you can synchronize scenarios in that run with their new versions. For this, HipTest offers a special command - Synchronize. You can call it before running tests in HipTest.
The Synchronize scenarios in the HipTest test run setting does the same, but from within TestComplete. It works only if Synchronize feature files before test run is enabled. When both these settings are on, TestComplete will first command HipTest to synchronize scenarios in the test run set by the Test run option, and then synchronize BDD scenarios in the project with updated scenarios from HipTest. See also Sync Test Runs.