All Classes and Interfaces
Class
Description
AbstractAction is the base class for all test actions.
The
AbstractCustomSampler
provides the common functionality of custom samplers.The
AbstractData
class may be the super class of a special data record class.A generic DomNodeList implementation of
NodeList
.AbstractHtmlPageAction is the base class for all HTML-based actions.
Base class of all flow modules.
Base class of all command modules.
Base class of HTML page actions supporting script commands.
Base class of command modules.
Base class of all scripted tests that use the Action-based API.
AbstractLightWeightPageAction is the base class for all HTML/XML-based actions which do simple page processing only.
Simple line parser that provides common functionality to parse given lines.
A basic
Page
implementation.The
AbstractReportProvider
class provides common functionality of a typical report provider.An abstract super class for
ResponseProcessor
implementations.The super class for all script-based test cases.
AbstractTestCase is the base class for all load test cases.
AbstractWebAction is the base class for all HTTP-based actions.
Base class of all exported script modules that rely on the
WebDriver
API.Base class of all exported script test cases that rely on the
WebDriver
API.A super class for
WebDriver
-based test cases.AbstractXmlPageAction is the base class for all actions that load an arbitrary XML snippet.
Special structure to hold user data for universal use.
The
ActionData
class holds any data measured for an action.This class is notified when AJAX calls are made, and has the ability to influence these calls.
A handler for JavaScript alerts.
Utility functions not covered by third party libraries.
An attachment represents a page received from the server which contains a
Content-Disposition=attachment
header.A handler for attachments, which represent pages received from the server which contain
Content-Disposition=attachment
headers.Base class for frame and iframe.
The
BasicPageUtils
class provides common helper methods for its child classes.Objects of this class represent one specific version of a given browser.
Because BrowserVersion is immutable we need a builder
for this complex object setup.
Constants of various features of each
BrowserVersion
.Simple cache implementation which caches compiled JavaScript files and parsed CSS snippets.
This is the event class for notifications about changes to the Character Data.
Implementations of this interface receive notifications of changes to the Character Data.
A handler for system clipboard access.
A simple alert handler that keeps track of alerts in a list.
An
AttachmentHandler
implementation which creates an Attachment
for
each attached page, collecting all created attachments into a list.A handler for the JavaScript function
window.confirm()
.Validates the downloaded content length with the announced size from the HTTP header.
A cookie.
Manages cookies for a
WebClient
.
The
CustomData
should be used only if the intended purpose does not match the semantics of the other data
record classes (RequestData
, ActionData
, and TransactionData
).The
CustomValue
can store a single 'double' value.The
Data
interface defines the minimum functionality any data record must implement to be recordable by the
XLT engine.The
DataLogger
logs custom data for a specific scope to a log file, from where they may be read again
during test report generation.The
DataManager
logs data records to a log file, from where they may be read again during test report
generation.This is a utility class that stores a limited amount of data objects and provides a way to reuse it later.
The
DataProvider
class provides convenient access to a fixed set of test data strings, which is backed by a
data file.Annotation to specify the index of the test data set that should be use for a run.
A
DataSetProvider
implementation reads one or more test data sets from a data file and returns them to the
XLT framework, which in turn executes a certain test case once for each data set (data-driven tests).Thrown by a
DataSetProvider
implementation in case an error occurred when reading or processing test data set
files.Wrapper around a "real" WebConnection that will use the wrapped web connection
to do the real job and save all received responses
in the temp directory with an overview page.
This may be useful at conception time to understand what is "browsed".
Example:
This may be useful at conception time to understand what is "browsed".
Example:
Default HtmlUnit implementation of the
CredentialsProvider
interface.HtmlUnit's default implementation of
CSSErrorHandler
, which logs all CSS problems.INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Element factory which creates elements by calling the constructor on a given
Element factory which creates elements by calling the constructor on a given
HtmlElement
subclass.The default implementation of
PageCreator
.The different supported page types.
A window opened in JavaScript via either
window.showModalDialog
or window.showModelessDialog
.A marker interface for those classes that can be disabled.
An attribute of an element.
Representation of a CDATA node in the HTML DOM.
This is the event class for notifications about changes to the DOM structure.
Implementations of this interface receive notifications of changes to the DOM structure.
Wrapper for the DOM node CharacterData.
Wrapper for the DOM node Comment.
A DOM object for DocumentFragment.
A DOM object for DocumentType.
An iterator over the DomElement children.
Intermediate base class for DOM Nodes that have namespaces.
Base class for nodes in the HTML DOM tree.
An iterator over all children of this node.
An implementation of
NodeIterator
.Wrapper for the DOM node ProcessingInstruction.
Representation of a text node in the HTML DOM.
Wrapper for content downloaded from a remote server.
Implementation keeping content in memory.
Implementation keeping content on the file system.
Implementation of an
AttachmentHandler
that mimics how browsers handle attachments, specifically
download file into a default folder when attachment response is detected
infer filename from octet stream response and use that when saving file
if a file already exists, append number to it.Specification of a factory capable of creating
DomElement
objects.An interface to allow the user to specify which element to return for the javascript
document.elementFromPoint()
.Indicates a missing condition when loading a page.
An exception that is thrown when a specified XML element cannot be found in the DOM model.
Sniffs encoding settings from HTML, XML or other content.
The
EventData
class is used to record information about arbitrary "events" that may occur during a test run.Provides exclusive data access.
Implement this parser to use parsed
An exception that is thrown when the server returns a failing status code.
Extension of
WebConnectionWrapper
providing facility methods to deliver something other than
what the wrapped connection would deliver.A collection of constants that represent the various ways a form can be encoded when submitted.
Interface for form fields where the original field name still matters even once it
has been changed.
Interface to customize the handling of frame content.
The web window for a frame or iframe.
The different deny states.
The
GeneralDataProvider
class is a general data provider for commonly needed test data objects that comes in
handy all the time.This is a centralized global clock.
Parses lines of a CSV file.
Representation of the navigation history of a single window.
Html constants.
Wrapper for the HTML element "abbr".
Wrapper for the HTML element "acronym".
Wrapper for the HTML element "address".
Wrapper for the HTML element "a".
Wrapper for the HTML element "area".
Wrapper for the HTML element "article".
Wrapper for the HTML element "aside".
This is the event class for notifications about changes to the attributes of the
HtmlElement.
Implementations of this interface receive notifications of changes to the attribute
list on the HtmlElement.
Wrapper for the HTML element "Audio".
Wrapper for the HTML element "bgsound".
Wrapper for the HTML element "base".
Wrapper for the HTML element "basefont".
Wrapper for the HTML element "bdi".
Wrapper for the HTML element "bdo".
Wrapper for the HTML element "big".
Wrapper for the HTML element "blockquote".
Wrapper for the HTML element "body".
Wrapper for the HTML element "b".
Wrapper for the HTML element "br".
Wrapper for the HTML element "button".
Wrapper for the HTML element "input" where type is "button".
Wrapper for the HTML element "canvas".
Wrapper for the HTML element "caption".
Wrapper for the HTML element "center".
Wrapper for the HTML element "input".
Wrapper for the HTML element "cite".
Wrapper for the HTML element "code".
Wrapper for the HTML element "input" where type is "color".
Wrapper for the HTML element "data".
Wrapper for the HTML element "datalist".
Wrapper for the HTML element "input" where type is "date".
Wrapper for the HTML element "input" where type is "datetime-local".
Wrapper for the HTML element "dfn".
Wrapper for the HTML element "dd".
Wrapper for the HTML element "dl".
Wrapper for the HTML element "dt".
Wrapper for the HTML element "del".
Wrapper for the HTML element "details".
Wrapper for the HTML element "dialog".
Wrapper for the HTML element "dir".
Wrapper for the HTML element "div".
In general this is an implementation of org.w3c.dom.traversal.TreeWalker.
An abstract wrapper for HTML elements.
Enum for the different display styles.
Wrapper for the HTML element "input" where type is "email".
Wrapper for the HTML element "embed".
Wrapper for the HTML element "em".
Checks that a page has at least one closing HTML tag.
Wrapper for the HTML element "xmp".
Wrapper for the HTML element "fieldset".
Wrapper for the HTML element "figure".
Wrapper for the HTML element "figcaption".
Wrapper for the HTML element "input".
Wrapper for the HTML element "font".
Wrapper for the HTML element "footer".
Wrapper for the HTML element "form".
Wrapper for the HTML element "frame".
Wrapper for the HTML element "frameset".
Wrapper for the HTML element "head".
Wrapper for the HTML element "header".
Wrapper for the HTML element "h1".
Wrapper for the HTML element "h2".
Wrapper for the HTML element "h3".
Wrapper for the HTML element "h4".
Wrapper for the HTML element "h5".
Wrapper for the HTML element "h6".
Wrapper for the HTML element "input" of type "hidden".
Wrapper for the HTML element "hr".
A representation of an HTML element "html".
Wrapper for the HTML element "img".
Wrapper for the HTML element "input".
Wrapper for the HTML element "iframe".
Wrapper for the HTML element "q".
Wrapper for the HTML element "input".
Wrapper for the HTML element "ins".
Wrapper for the HTML element "i".
Wrapper for the HTML element "kbd".
Wrapper for the HTML element "label".
Wrapper for the HTML element "layer".
Wrapper for the HTML element "legend".
Wrapper for the HTML element "link".
Wrapper for the HTML element "listing".
Wrapper for the HTML element "li".
Wrapper for the HTML element "main".
Wrapper for the HTML element "map".
Wrapper for the HTML element "mark".
Wrapper for the HTML element "marquee".
HTML Media element, e.g.
Wrapper for the HTML element "menu".
Wrapper for the HTML element "meta".
HTML 5 "meter" element.
Wrapper for the HTML element "input" where type is "month".
Wrapper for the HTML element "nav".
Wrapper for the HTML element "nobr".
Wrapper for the HTML element "noembed".
Wrapper for the HTML element "noframes".
Wrapper for the HTML element "nolayer".
Wrapper for the HTML element "noscript".
Wrapper for the HTML element "input" with type is "number".
Wrapper for the HTML element "object".
Wrapper for the HTML element "option".
Wrapper for the HTML element "optgroup".
Wrapper for the HTML element "ol".
Wrapper for the HTML element "output".
A representation of an HTML page returned from a server.
The
HtmlPageUtils
class provides some useful helper methods to make dealing with HtmlPage
objects
easier.Wrapper for the HTML element "p".
Wrapper for the HTML element "param".
Wrapper for the HTML element "input".
Wrapper for the HTML element "picture".
Wrapper for the HTML element "plaintext".
Wrapper for the HTML element "pre".
Wrapper for the HTML element "progress".
Wrapper for the HTML element "input".
Wrapper for the HTML element "input" where type is "range".
Wrapper for the HTML element "rb".
Wrapper for the HTML element "input".
Wrapper for the HTML element "rp".
Wrapper for the HTML element "rt".
Wrapper for the HTML element "rtc".
Wrapper for the HTML element "ruby".
Wrapper for the HTML element "s", a strike-through text style.
Wrapper for the HTML element "samp".
Wrapper for the HTML element "script".
When a script tag references an external script (with attribute src) it gets executed when the node is added to the DOM tree.
When a script tag references an external script (with attribute src) it gets executed when the node is added to the DOM tree.
Wrapper for the HTML element "input" where type is "search".
Wrapper for the HTML element "section".
Wrapper for the HTML element "select".
Abstract parent class to share
SelectableTextInput
implementation
and typing support.Wrapper for the HTML element "slot".
Wrapper for the HTML element "small".
Wrapper for the HTML element "source".
Wrapper for the HTML element "span".
Wrapper for the HTML element "strike".
Wrapper for the HTML element "strong".
Wrapper for the HTML element "style".
Wrapper for the HTML element "input".
Wrapper for the HTML element "sub".
Wrapper for the HTML element "summary".
Wrapper for the HTML element "sup".
Wrapper for the SVG element
svg
.Wrapper for the HTML element "table".
Wrapper for the HTML element "tbody".
An abstract cell that provides the implementation for HtmlTableDataCell and HtmlTableHeaderCell.
Wrapper for the HTML element "col".
Wrapper for the HTML element "colgroup".
Wrapper for the HTML element "td".
Wrapper for the HTML element "tfoot".
Wrapper for the HTML element "thead".
Wrapper for the HTML "th" tag.
Wrapper for the HTML element "tr".
Wrapper for the HTML element "tt".
Wrapper for the HTML element "input" where type is "tel".
Wrapper for the HTML element "template".
Wrapper for the HTML element "textarea".
Wrapper for the HTML element "input" with type="text".
Wrapper for the HTML element "time".
Wrapper for the HTML element "input" where type is "time".
Wrapper for the HTML element "title".
Wrapper for the HTML element "track".
Wrapper for the HTML element "u".
An element that is returned for an HTML tag that is not supported by this framework.
Wrapper for the HTML element "ul".
Wrapper for the HTML element "input" where type is "url".
Wrapper for the HTML element "var".
Wrapper for the HTML element "video".
Wrapper for the HTML element "input" where type is "week".
Wrapper for the HTML element "wbr".
Various constants.
Represents the various ways a page can be submitted.
This class validates response codes and can be used as an instance (constructor) or as a global instance for easy
reuse by calling
HttpResponseCodeValidator.getInstance()
.Default implementation of
WebConnection
, using the HttpClient library to perform HTTP requests.This refresh handler immediately refreshes the specified page,
using the specified URL and ignoring the wait time.
Interface to receive notification of incorrect information in HTML code
(but not the parser messages), headers, ...
Default implementation of
IncorrectnessListener
configured on WebClient
.Keeps track of the typed keys.
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
A holder for a key/value pair that represents a file to upload.
A holder for a key/value pair that represents a file to upload.
A marker interface for those element that can be labeled.
The LightweightHtmlPageUtils class provides some convenience methods for dealing with unparsed HTML pages, i.e. with
strings containing the page's HTML source.
A simple page object for light-weight operations.
Utility holding information about association between MIME type and file extensions.
A fake
WebConnection
designed to mock out the actual HTTP connections.Contains the raw data configured for a response.
Deprecated.
As of XLT 4.6.0: This class is not used at all in the XLT API and will therefore be removed soon.
A name/value pair.
The
NetworkData
class holds a certain web request and the corresponding web response if there was any.The
NetworkDataManager
provides access to all the network requests made during an action.This
AjaxController
resynchronizes calls calling from the main thread.This refresh handler performs an immediate refresh if the refresh delay is
less or equal to the configured time and otherwise ignores totally the refresh instruction.
Thrown if a method is not yet implemented for some reason
but at least available from js.
Thrown if an object could not be instantiated for some reason.
A handler for
onbeforeunload
events.Simple and efficient linked map or better ordered map implementation to
replace the default linked list which is heavy.
An abstract page that represents some content returned from a server.
Something that knows how to create a page object.
The
PageLoadTimingData
...Parses a line of a CSV file, extracts the values of interest, and returns them as a
ValueSet
.A handler for JavaScript Window.print()
(Printing Spec).
A handler for JavaScript window.prompt().
Class which centralizes proxy configuration, in an effort to reduce clutter in the
WebClient
class.A handler for page refreshes.
The
ReportCreator
defines the interface that report providers must implement to take part in report
generation.The
ReportProvider
defines the interface that custom report providers must implement to take part in report
generation.The
ReportProviderConfiguration
interface provides access to general report generator settings as well as to
report provider specific properties, which are both stored in the global configuration file.
The
RequestData
class holds any data measured for a request.Request filter.
Used to get filtered data from
Used to get filtered data from
NetworkDataManager
.A
ResponseProcessor
implementation, which modifies the body of a web response based on regular expressions.Using response content processors, one can modify the content of a response body right after download but still
before the content is being parsed or compiled.
This exception indicates, that the run() method of an
AbstractAction
has already been called.Screen
.Selenium-like commands supported by the XLT framework and the script developer.
An element which can handle scripts.
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
A helper class to be used by elements which support
A helper class to be used by elements which support
ScriptElement
.An exception that will be thrown if an error occurs during the processing of
a script.
Annotation to specify the name of the test script to use at a sub-class of
AbstractScriptTestCase
.A script pre processor call back.
This object contains the result of executing a chunk of script code.
A special test case class, which acts as a suite of script test cases.
Helper because we need a serializable lock object for our serializable classes.
The
Session
object is the runtime context during one run of a certain test case.
By implementing the
SessionShutdownListener
interface custom code gets the chance to be notified by the
framework when the current session is about to be terminated (cleared).A basic class of Standard Generalized Markup Language (SGML), e.g.
Implementation of
CSSErrorHandler
which ignores all CSS problems.Implementation of
IncorrectnessListener
which ignores all notifications.Inexpensive (partial) list implementation.
Parses lines of a CSV file.
This validator groups the four most common validators into one to make the integration into the code easier.
Static versions of the Selenium-like commands supported by the XLT framework and the script developer.
A handler for changes to
window.status
.Holder for different types of storages.
Type for Storage.
String utilities class for utility functions not covered by third party libraries.
A simple WebResponse created from a string.
An element that can have it's values sent to the server during a form submit.
Performs subnet calculations given a network address and a subnet mask.
Superclass for the wrappers for the HTML elements "thead", "tbody" and "tfoot".
A generic page that will be returned for any text related content.
This refresh handler spawns a new thread that waits the specified
number of seconds before refreshing the specified page, using the
specified URL.
The
TimerData
class is the super class for all timer-based data records.A window representing a top level browser window.
The
TransactionData
class holds any data measured for a transaction.A generic page that is returned whenever an unexpected content type is returned by the server.
An exception to indicate that the wrong page type was loaded and the conversion to an XML or HTML page would fail.
A factory for elements encountered in parsing the input which are not represented
by dedicated element classes.
URL utilities class that makes it easy to create new URLs based off of old URLs
without having to assemble or parse them yourself.
This class provides some convenient methods for link processing.
An element that supports client side validation based on
the Constraint validation API.
A
ValueSet(long)
describes a collection of data, accompanied by an optional timestamp.Class to display version information about HtmlUnit.
This refresh handler waits the specified number of seconds (or a user defined maximum)
before refreshing the specified page, using the specified URL.
Utility class which contains standard assertions for HTML pages.
The main starting point in HtmlUnit: this class simulates a web browser.
This is a poolable CSS3Parser which can be reused automatically when closed.
Represents options of a
WebClient
.Utility class containing miscellaneous
WebClient
-related methods.An object which handles the actual communication portion of page retrieval/submission.
Provides a convenient implementation of the
WebConnection
interface that can be subclassed by developers
wishing to adapt a particular WebConnection.This class can be used to print messages to the logger.
A simple logging interface abstracting logging APIs.
Defines the operations of custom modules, which can be used in script-based test cases.
Parameter object for making web requests.
A response from a web server.
Simple data object to simplify WebResponse creation.
Provides a convenient implementation of the
WebResponse
interface that can be subclassed
by developers wishing to adapt a particular WebResponse.The
WebVitalData
stores a single observation for a certain Web Vital in a certain action as a 'double' value.An interface that represents one window in a browser.
An adapter for the WebWindowListener interface.
An event that will be fired when a WebWindow changes.
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Base class for common WebWindow functionality.
Base class for common WebWindow functionality.
A listener for WebWindowEvent's.
Exception to indicate that no
WebWindow
could be found that matched
a given name.A representation of an XHTML page returned from a server.
This validator executes JTidy to check the returned HTML code for standard conformance.
This class does not implement the CharBuffer of the JDK, but uses the idea of a shared character array with views.
An extended
ChromeDriver
which allows to record data about requests and browser events or to run Chrome with
a virtual display.Builder class to create
XltChromeDriver
instances.Extended version of
HtmlUnitDriver
which just uses the XLT web client.The base class for all XLT exceptions.
An extended
FirefoxDriver
which allows to record data about requests and browser events or to run Firefox
with a virtual display.Builder class to create
XltFirefoxDriver
instances.Class to define all global needed loggers and their properties.
The property keeper.
Utility class for random numbers and strings.
A page that will be returned for response with content type "text/xml".
Utility to handle conversion from HTML code to XML string.
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Provides facility method to work with XML responses.
Provides facility method to work with XML responses.
Simple implementation of the 'x-user-defined'
Charset
.