PDF Step pdfVerifyText
Description
This step verifies the existence of the specified text in the PDF document.
Parameters
- text
- Required? yes
- The text expected in the PDF document.
- description
- Required? no
- The description of this test step.
- endPage
- Required? no
- The numeric value of the end page to restrict the verification to.
- regex
- Required? no
- Specifies whether the text represents a regular expression.
- startPage
- Required? no
- The numeric value of the start page to restrict the verification to.
Details
pdfVerifyText
<webtest name="pdftest - verify document text">
<config .../>
<steps>
<invoke .../>
<pdfVerifyText description="Document text"
startPage="3"
endPage="4"
text="The user .* has been added to the list."
regex="true"/>
...
</steps>
</webtest>
<config .../>
<steps>
<invoke .../>
<pdfVerifyText description="Document text"
startPage="3"
endPage="4"
text="The user .* has been added to the list."
regex="true"/>
...
</steps>
</webtest>