ai vision validate.md

AI Vision Validate

The Artifical Intelligence Vision Validate block automates the validation of visual elements within an application interface, ensuring that key UI components are correctly displayed across different screens, environments, and devices.

It can be used to confirm the presence of UI elements (e.g., buttons, labels, forms) or detect discrepancies when expected elements are missing or incorrectly rendered.

Notes:

Quick-start

  1. Drag AI Vision Validate onto the canvas.
  2. Choose a Source type (Image File or Local Path).
  3. Provide an image in File Input (supported formats: .png, .jpg, .jpeg, .webp, .gif).
  4. Enter an Action Prompt describing what UI elements should be validated (e.g., "Check if the login button is visible").
  5. Connect the green input and output connectors (and optionally Not Valid and Failed for branching).
  6. Run the flow when it's ready.

Building block parameters

Parameters

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.
++Customer Portal Add-ons++ Customer portal section to activate your cloud blocks.
++Guidelines for using AI blocks++ Common guidelines for prompting, generating, validating, extracting, and transforming AI-driven test data in Leapwork's AI Blocks.