Adding an Image Verification During Recording

You can add image verifications to your scripts to check if controls which are otherwise not recognizable exist in the UI of the application under test. To add an image verification during the recording of a script, perform the following steps:
  1. Begin recording.
  2. Move the mouse cursor over the image that you want to verify and click Ctrl + Alt. Silk4J asks you if you want to verify a property or an image.
  3. Select Create or Insert an Image Verification.
  4. Perform one of the following steps:
    • To create a new image verification in the image verification UI, select New from the list box.
    • To insert an existing image verification asset, select the image verification asset from the list box.
  5. Click OK.
    • If you have chosen to create a new image verification, the image verification UI opens.
    • If you have chosen to use an existing image verification, the image verification is added to your script. You can skip the remaining steps in this topic.
  6. To create a new image verification, click Verify in the image verification UI.
  7. Move the mouse cursor over the image in the AUT and click CTRL+ALT. The image verification UI displays the new image verification.
  8. Click OK. The new image verification is added to the current project.
  9. Continue recording.