Image Assets

You can use image assets in the following situations:
  • To conveniently interact with test applications that contain highly customized controls, which cannot be identified using object recognition. You can use image clicks instead of coordinate-based clicks to click on a specified image.
  • To test graphical objects in the application under test, for example charts.

Image assets consist of an image with some additional information that is required by Silk Test Workbench to work with the asset.

Silk Test Workbench provides the following methods for image assets:
Method Description
ImageClick Clicks in the middle of the specified image asset. Waits until the image is found or the Object resolve timeout, which you can define in the synchronization options, is over.
ImageExists Returns whether the specified image asset exists.
ImageRectangle Returns the object-relative rectangle of the specified image asset.