Webtest WebTest GitHub Home

PDF Step pdfDecryptDocument

Description

This step decrypts the current PDF document. It fails if the PDF document is not encrypted or if the password is wrong. After decrypting the PDF document, it will be available in its decrypted state for later PDF test steps.

Parameters

password
Required? yes
The text required to decrypt the PDF document.
description
Required? no
The description of this test step.

Details

pdfDecryptDocument
<webtest name="pdftest - decrypt document">
  <config .../>
  <steps>
    <invoke .../>
    <pdfDecryptDocument description="Decrypt document"
      password="mymaster"/>
    ...
  </steps>
</webtest>