- Target-audience: beginner-intermediate
- Target-role: QA/Test
- Target-release: 1.2.X
- Doc-status: draft

What you will get from this page

A quick intro to Canoo Webtest, how the basic tests for lenya works and how to make your own tests


First, download and install webtest.

How Canoo WebTest works

Canoo WebTest lets you specify test steps like

This is how the first steps look in a webtest test (lenya_welcome.xml):

<?xml version="1.0" encoding="UTF-8"?>
<project name="SimpleTest" basedir="." default="main">
   <property webtest.home=/YOUR_WEBTEST_HOME/>
  <taskdef file="${webtest.home}/webtestTaskdefs.properties">
      <fileset dir="${webtest.home}" includes="**/lib/*.jar"/>
  <target name="main">
    <testSpec name="myTest">
      <config host="localhost" port="8080" protocol="http" basepath="lenya"/>
        <invoke stepid="load welcome page" 
        <verifyTitle stepid="we should see the welcome page of lenya cms" 
         text="Apache Lenya - Content Management System"/>


You can invoke it by typing "sh bin/webtest.sh -buildfile /home/ren/src/myStuff/webtest/lenya_welcome.xml"

Webtests for Lenya's TestCases


WebTest (last edited 2009-09-20 23:27:49 by localhost)