Webtest WebTest GitHub Home

PDF Step pdfVerifyFieldCount

Description

This step verifies the number of fields in the PDF document.

Parameters

count
Required? yes
The expected number of fields.
description
Required? no
The description of this test step.
includeDuplicates
Required? no, default is false
Specifies whether fields with the same name should be counted only once or individually.
page
Required? no
The numeric value of the page to restrict the verification to.

Details

pdfVerifyFieldCount
<webtest name="pdftest - verify field count">
  <config .../>
  <steps>
    <invoke .../>
    <pdfVerifyFieldCount description="Field count"
      page="2"
      count="8"
      includeDuplicates="no"/>
    ...
  </steps>
</webtest>