This object is provided as a technical preview.
Manages the PDF Testing Utility, which enables UFT One to interact with PDF documents.
|Open||Opens the PDF document in the PDF Testing Utility.|
Opens the PDF document in the PDF Testing Utility.
PDFUtil.Open fullPDFPath, encodedPDFPassword
The path to the PDF file to open.
Optional. The password required to open the PDF file, in an encoded string.
To encode the password before entering it here, use the Password Encoder utility (Start > All Programs > Micro Focus > Micro Focus UFT One > Tools > Password Encoder).
Note: This enables you to obscure password visibility, but it is not intended to be a secure way to protect password information.
The PDF Testing Utility can only open one document at a time. If you open a document while another is open, the open one is automatically closed and any changes are discarded. Make sure to first save any changes you do not want to lose in the open file.
The following example, opens the Demo PDF file, using an encoded password:
PDFUtil.Open "C:\Users\Administrator\Desktop\PDF\Demo.pdf", "610b523994abf628e6ca2cf71ed5932e558247f1320709471870"