public class PdfVerifyTextStep extends AbstractVerifyPdfStep
Modifier and Type | Field and Description |
---|---|
static int |
FIRST_PAGE |
static int |
LAST_PAGE |
ANY_PAGE
DEFAULT_DESCRIPTION, ELEMENT_ATTRIBUTE_ID, ELEMENT_ATTRIBUTE_NAME, PROPERTY_TYPE_ANT, PROPERTY_TYPE_ANT_STRICT, PROPERTY_TYPE_DEFAULT, PROPERTY_TYPE_DYNAMIC
description, location, project
Constructor and Description |
---|
PdfVerifyTextStep() |
Modifier and Type | Method and Description |
---|---|
int |
getEndPage() |
boolean |
getRegex() |
int |
getStartPage() |
java.lang.String |
getText() |
void |
setEndPage(int endPage) |
void |
setRegex(boolean regex) |
void |
setStartPage(int startPage) |
void |
setText(java.lang.String text) |
protected void |
verifyParameters()
Called to let the step's implementation validate its parameters.
|
protected void |
verifyPdf(PDFPage pdfPage) |
doExecute
getPdfPage
addComputedParameters, clone, emptyParamCheck, execute, getComputedParameters, getContext, getDefaultPropertyType, getDescription, getDuration, getParameterDictionary, getStepLabel, getVerifier, getWebtestProperties, getWebtestProperties, getWebtestProperty, getWebtestProperty, handleException, hasDescription, integerParamCheck, isCompleted, isPerformingAction, isStarted, isSuccessful, notifyCompleted, notifyStarted, notifyStepResultsListeners, notifySuccess, nullParamCheck, nullResponseCheck, optionalIntegerParamCheck, paramCheck, positiveOrZeroParamCheck, setStepid, setWebtestProperty, setWebtestProperty, toString
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
getDescription, getLocation, getProject, setDescription, setLocation, setProject
public static final int FIRST_PAGE
public static final int LAST_PAGE
public void setStartPage(int startPage)
startPage
- public int getStartPage()
public void setEndPage(int endPage)
endPage
- public int getEndPage()
public void setRegex(boolean regex)
regex
- public boolean getRegex()
public void setText(java.lang.String text)
text
- public java.lang.String getText()
protected void verifyParameters()
Step
Step.doExecute()
.
This implementation does nothing, overwrite as needed.verifyParameters
in class Step
protected void verifyPdf(PDFPage pdfPage)
verifyPdf
in class AbstractVerifyPdfStep