PDF Step pdfVerifyReadOnlyField
Description
This step verifies the read-only status of a field in the PDF document.
Parameters
- name
- Required? yes
- The name of the field
- description
- Required? no
- The description of this test step.
- page
- Required? no, default is all the pages
- The numeric value of the page to restrict the verification to.
- readOnly
- Required? no, default is 'yes'
- Specifies whether the field is expected to be read-only or not.
Details
pdfVerifyReadOnlyField
<webtest name="pdftest - verify field read-only status">
<config .../>
<steps>
<invoke .../>
<pdfVerifyReadOnlyField description="Field read-only status"
page="2"
name="Amount"
readOnly="true"/>
...
</steps>
</webtest>
<config .../>
<steps>
<invoke .../>
<pdfVerifyReadOnlyField description="Field read-only status"
page="2"
name="Amount"
readOnly="true"/>
...
</steps>
</webtest>