Webtest WebTest GitHub Home

General Step webtest

Description

This ANT task provides the ability to specify and execute functional tests for web-based applications. The steps of the test specification to execute are defined as a sequence of nested test steps. Each <webtest> task is executed in its own web session, i.e. two subsequent <webtest> tasks are executed in different sessions. This task was previously named "testSpec". For compatibility reasons, both names will work.

Parameters

name
Required? yes
Defines a name for this test specification.
description
Required? no
The description of this test step.

Nested Parameters

config
Required? no
The webtest configuration.
steps
Required? yes/no
Any webtest steps or ant tasks.

Details

A webtest task must contain a single optional config block followed by either:

A steps task
Exactly one steps task containing any number of nested webtest steps, or ant tasks.
ant tasks and webtest steps
Any number of nested webtest steps, or ant tasks.