Defining the Image property as object identifier for Web UI tests

Before you start recording Web UI tests, you can define the image property as the object identifier. When image property is set as the object identifier, then the objects in the web application are recognized and captured as images while recording a Web UI test.

About this task

When you generate the recorded test, you can view that all objects in all the test steps are recognized and captured as images. These images are used for validating the target objects during playback of the tests. This feature helps to save time and your effort when your application has lot of images and a complex UI within your application.


  1. Go to WindowsPreferencesTestRecordingWeb UI Recording . The Web UI recording window is displayed.
  2. In the Preferred object identifiers pane, click Add.
  3. Enter image in the text box and click Ok.
    Now, the image property is defined as the object identifier for Web UI tests.


When you play back the Web UI tests, the target objects are identified based on the images that were captured when you recorded the Web UI test. The report displays the result based on the configuration parameters set for each image.

What to do next

You can also add the following details to your test steps:
  • New images in addition to the existing images.

  • Verification point to the images.