| java.lang.Object org.ddsteps.web.trail.FileTrailWriter
FileTrailWriter | public class FileTrailWriter implements WebTrail(Code) | | To be used as a delegate from a web test step base class implementation.
author: adamskogman |
alwaysUseDefaultEncoding | protected boolean alwaysUseDefaultEncoding(Code) | | Property: If set to true, trail pages are always written using the
default encoding (
FileTrailWriter.defaultEncoding ).
|
currentTrailFolder | protected File currentTrailFolder(Code) | | Field: Folder for the current trail. Null if there is no current trail.
|
defaultEncoding | protected String defaultEncoding(Code) | | Property: Default encoding to use when writing pages. Default is UTF-8.
|
logger | final public static Log logger(Code) | | Logger for this class
|
pageIndex | protected int pageIndex(Code) | | Field: 1-based index of pages in a trail.
|
trailEnabled | protected boolean trailEnabled(Code) | | Property: trail enabled or not. Default is false.
|
trailFolder | protected File trailFolder(Code) | | Dependency: Folder where HTML trails are written
|
writePage | public void writePage(String filename, String encoding, String pageAsString)(Code) | | Write the current page to a file, regardless of any current trail or if
trailing is enabled or not.
If you want a full trail of everything the test sees, use the trail
functionalit instead.
Parameters: filename - Relative filename in the trail folder, or a full file name. Parameters: encoding - The encoding to use. Parameters: pageAsString - The string to write. |
writeTrail | public void writeTrail(TrailPage trailPage)(Code) | | Writes one page of the trail.
Parameters: trailPage - |
|
|