Each application in the repository contains one or more versions. Each version contains information for starting the application and the window and control data that is captured during recording. Maintaining versions allows you to easily test previous versions of an application while creating scripts to test new versions.
Create a new version when changes to windows and controls in the tested application cause scripts to stop working. For example, you may create an application version for major and minor releases, but not for maintenance releases that only include minor changes.
1. Select the application to create the new version for in the Application Repository pane.
2. Choose File > New > New Application Version.
The New Version dialog box opens.
3. Enter the version Name.
4. Select a Version to copy.
5. Select Duplicate windows and controls to include the window and control data from the selected version to copy. If this option is not selected, no windows or controls are included in the new version.
For example, you may want to clear this option if a new interface toolkit was used to develop the new application version because the existing window and control data will not be valid for the new version.
6. Enter the Startup Information on the General tab. The available fields depend on the application type. The fields are automatically populated with the information stored in the selected application version to copy and can be modified for the new version.
| Application type | Field/option | Description |
|---|---|---|
| Windows | Executable path | Enter the executable path or click Browse to locate the executable. |
| Working directory | Enter the application directory path. This field is automatically populated if you browsed to locate the executable. | |
| Command line arguments | Enter any arguments you want to use to control how the application operates when a script starts it. | |
| Browser | URL | Enter the URL to access the application. |
| Java | Java application | Enter the Java application path or click Browse to locate the file. |
| Working directory | Enter the application directory path. This field is automatically populated if you browsed to locate the file. | |
| Java launcher | Enter the executable filename that runs the application or click Browse to locate the file. This field is only enabled for .jar files and is automatically populated if you browsed to locate the file. | |
| Command line arguments | Enter any arguments you want to use to control how the application operates when a script starts it. |
7. Click the Repository Variables tab to create repository variables for the new version. See Creating repository variables.
8. If you are adding a web application version, click the URL Formats tab to create URL format rules for the new version. See Creating URL format rules.
9. Click OK.
The version is added.