Configuring applications for tests

When you want to test Android, iOS, web, or Windows desktop applications, you must first configure them. You can configure these applications in a common web interface that helps you to manage all the applications in one place. You can use these applications anytime later to record and play back tests.

Procedure

  1. Go to the Web UI Test perspective in HCL OneTest UI.
  2. Click the Application Configuration icon in the toolbar.

    A browser window opens and the Application Configuration page is displayed. The page displays the list of all applications that you have configured in HCL OneTest UI. You can use the filters to view the applications based on the type.

  3. Click Add and select the type of application that you want to configure.

    A dialog box is displayed and fields differ based on the application type.

    The application types are as follows:
    • Android: To configure the Android applications that you want to use for mobile tests.
    • Desktop: To configure the Windows desktop applications that you want to use for Windows test.
    • iOS: To configure the iOS applications that you want to use for mobile tests.
    • Web: To configure the web applications that you want to use for Web UI tests.
  4. Enter the details of the application, which you want to configure, in the appropriate fields that are displayed in the dialog box.

    For example, if you want to configure a web application, then you must enter the URL of the application.

    Note: You can choose a method to provide the application details for Android and iOS applications. Select one of the following methods:
    • Select Manually if you want to manually enter the details in each of the fields.
    • Select From APK or From IPA if you want to fill in the application details automatically. You can do one of the following tasks to automatically fill in the details:
      • Browse and select the .apk or .ipa file from your local drive.
      • Drag and drop the .apk or .ipa file from your local drive to the Application Configuration page.
  5. Click Add.

Results

The application is configured and it is listed on the Application Configuration page.

What to do next

You can perform the following actions on the configured applications:
  • Edit the details of the application by clicking the Edit icon inline with the name of the application.
  • Delete the application if it is no longer required by clicking the Delete icon .
  • Apply the variable substitution, which is local to a test, to all the test suites that use the same application for their tests by clicking the Update application in selected test suites icon . The changes of the URL are then applied to all the test suites that use the web application in their tests.