PDFcontains function

This function is used to check certain text, word or sentence from the given PDF file.
Provide PDF file path and the value which is to be checked. The result will be shown in the audit info of excel report. If the given value is found in the PDF file it will return true else it will return false.

Syntax: ${__pdfcontains(File path,”String”)}

Example: ${__pdfcontains(E:\BeatBlip Training_D.pdf,A JNLP file get downloaded)} Here, E:\BeatBlip Training_D.pdf is a pdf file path A JNLP file get downloaded is the string to be searched.

Select RUN command from the action drop down, leave Screen name, Element key blank and provide this function in parameter section as shown below:

Was this page helpful?