Editing a configuration file for HCL OneTest™ API
After you generate an XML configuration file, you might need to change it if the target computer is different from the generated configuration. For example, the libraries and their locations in the configuration file do not match the libraries and their locations on the target computer.
About this task
To edit a configuration file, follow these steps:
Procedure
- After you generate a configuration file for HCL OneTest™ API (see related links at the end of the page), you can apply it to another computer. If the configuration for the target computer must be modified, you must edit the configuration file manually.
-
Open the configuration file in a text editor and modify its contents as required.
The provider-type is defined in the
provider
element. Specific providers (displayName
) and their default library locations (base
) are defined in thepathSet
element. Specific libraries for each provider are defined in thepathElement
element by using thelocation
(for the path) andname
(for the specific file) attributes.The environment that is described by the configuration file (that is, the libraries and their locations) must be valid on the target computer. In other words, ensure that the files in the configuration exist in the proper locations on the target computer.
Note: If the library file location is on a mapped network drive, you might get errors while running tests in a project. To prevent this, ensure that the files are available on a local drive that can be accessed by HCL OneTest™ API and its Agent.