Configuring applications for testing

You must configure your Java, HTML, VB.NET, SAP GUI, Flex or Windows® applications for functional testing by providing the name, path, and other information that HCL OneTest UI uses to start and run the application. You use the Application Configuration Tool to configure applications.

Before you begin

Important: If you enabled Mozilla Firefox or Google Chrome browser for HCL OneTest UI, the latest Java update must be associated with the browser. If not done, security messages prompt up when you open the browser and Java will be blocked.

Procedure

To add and configure your applications:
  1. Open HCL OneTest UI and click Configure > Configure Applications for Testing. You can also open the Application Configuration tool from the Start Application dialog box by clicking the Edit button.
  2. To add a new application, click the Add button.
  3. In the Add Application dialog box, select the application type, and click Next.
  4. Select the type of application and the path of the application to enable it for functional testing.
    For different types of domains, specify the application details as specified in the following table:
    Table 1.
    Domain type Application details
    Java Click Browse > Open to find and select the application. The file types can be with .class or .jar extensions.
    Visual Basic .Net and Windows® Click Browse > Open to select any executable or batch file.
    HTML Select either Local or URL. If Local, browse to an .htm or .html file. If URL, enter the URL address.
    SAP Select the SAP executable from the dropdown list. Alternatively, you can select a SAP shortcut file with a .exe, .sal or .sap extension using the Browse button.
    Note: You must have SAPGUI installed in your computer to be able to select this option.
    Note: To configure Flex applications for testing, see Configuring Flex application using the user interface.
  5. Click Finish.
    The application will then show up in the Applications list in the Application Configuration Tool.
  6. Look at the information in the Detailed Information list.
    • For Java applications, the Name, Kind, Path, .class/.jar file, and Working Dir fields are automatically filled in for you. The JRE, Classpath, and Args fields are optional, and could be filled in by you as needed. Make any necessary edits.
    • For HTML applications, the Name, Kind, and URL fields will be filled in. Select the default browser in the Browser field.
    • For SAP applications, you can specify a separate argument to use in the Args field.
  7. To test if the application is configured properly for testing, select the added application from the list and click Run.
  8. Click OK to save the changes you made.
    Note: You can edit the information about an application in the tool at any time.