"VERIFY_TEXT_IN_PDF" Command

Description: This command verifies existence or non-existence of a text identified by "Value" in a PDF document. You can specify a frame or a window in which the PDF file is open. Verification will be done by "Attempts" number of times with "Interval" seconds in between each verification.

Usage Scenarios:

A- Suppose we have a page that opens a PDF file and we want to check that the word "Subject7" exists in that document.

Procedure: Define a step that opens the PDF page and the step with Verify_Text_In_PDF command. Add a value of "Subject7". Your step will look like this:

image-20240605-160917.png

B- Suppose we have a page that can only download a PDF file in which we need to check the word "Subject7".

Procedure: Define a step that triggers the download of the file and a Goto_URL step with the location of the downloaded file. For example, "C:\Users\username\Downloads\file.pdf". Your steps will look like this:

image-20240605-161029.png

 

 

Â