To work with the Mercurial source control system from TestComplete, you need to prepare your computer and prepare TestComplete.
Preparing Test Computer
Install the following software:
-
Mercurial for Windows - TestComplete uses the Mercurial command-line utility (hg.exe) to work with the Mercurial source control system. You can download Mercurial for Windows from Mercurial’s web site:
-
(Optionally) TortoiseHg - This is a GUI client for Mercurial. You can integrate TortoiseHg with TestComplete and use TortoiseHg dialogs directly from TestComplete. See Working With TortoiseHg Client for details.
You can download TortoiseHg from:
Preparing TestComplete
-
Make sure that the Mercurial Plugin is enabled in TestComplete (TestComplete installs and enables the plugin automatically during the installation). If you experience any issues with Mercurial integration with TestComplete, select File > Install Extensions from the TestComplete main menu and check whether the Mercurial Plugin is enabled.
-
Configure the TestComplete integration with Mercurial:
-
Select File > Close from the TestComplete main menu to close all opened projects.
-
Select Tools > Options > Source Control from the main menu to open the Source Control Options dialog.
-
Change the value of the Current source control plugin setting to Mercurial Plugin.
-
Specify a valid path to the Mercurial executable file (hg.exe) to the Path to Mercurial setting.
-
(Optionally) If you have a TortoiseHg client installed on your computer, you can select the Use TortoiseHg client option to use TortoiseHg to work with Mercurial from TestComplete.
-
See Also
Integration With Source Control Systems
Integration With Mercurial
Source Control Options Dialog
Working With TortoiseHg Client