PDFUtil Object

Description

Manages the PDF Testing Utility, which enables UFT One to interact with PDF documents.

Associated Methods

Method OpenOpens the PDF document in the PDF Testing Utility.

Back to top

Open Method

Description

Opens the PDF document in the PDF Testing Utility.

Syntax

PDFUtil.Open fullPDFPath, encodedPDFPassword

Argument

Type

Description

fullPDFPath

String

The path to the PDF file to open.

encodedPDFPasswordString

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.

IMPORTANT

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.

Return type

None

 

Back to top

See also: