Webtest WebTest GitHub Home

PDF Step pdfVerifyField

Description

This step verifies the existence of a field in a PDF document.

Parameters

name
Required? yes
The field name.
description
Required? no
The description of this test step.
exists
Required? no, default is true
Specifies whether the field is expected to exist or not.
page
Required? no, default is all the pages
The page to restrict the verification to.

Details

pdfVerifyField
<webtest name="pdftest - verify field existence">
  <config .../>
  <steps>
    <invoke .../>
    <pdfVerifyField description="field existence"
      page="2"
      name="BirthDate"
      exists="false"/>
    ...
  </steps>
</webtest>