Find Image in PDF
Last updated
Last updated
This is pre-built Action located under the @Generic Element Name. It instructs the Avo Assure Client to check whether image is present in provided PDF path and save the result in the given output variable.
Input:
<PDF_file_path>; <Image_file_path>
Output:
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
When you are testing a document management system that allows users to upload and view PDF files. It’s essential to verify that specific images are present in the PDF after upload.
Input:
PDF Document: uploadedDocument.pdf
Image to Find: logo.png
Using the Action: In the automation script, the "Find Image in PDF" Action is used to check if the specified image exists in the PDF document.
The test verifies whether the image is found within the PDF. If the image is not present, the test will fail.
Expected Result: By using the "Find Image in PDF" Action in this testing scenario, Avo Automation ensures that important images are correctly included in the PDF document, maintaining the integrity of user-uploaded files.
Output: The resulting lowercase string is stored in the {result} output variable as johndoe@example.com, which can be utilized for display or other purposes.