[Webtest] just start

Friedrich Mike (KAFC 31) webtest@lists.canoo.com
Wed, 2 Jul 2003 13:58:39 +0200


Hi

U have a configuration error in your ant-script.
See the Documentation of WebTest about which element can contain which other element.

Cheers
mike




-----Original Message-----
From: tycoon [mailto:tycoonek@yahoo.com]
Sent: Wednesday, July 02, 2003 1:55 PM
To: webtest@gate.canoo.com
Subject: [Webtest] just start


Hello

I try to run a sample SimpleTest but I get such a
massage.
Please let me know, what I miss here.


D:\Canoobuild\test>ant -v -buildfile SimpleTest.xml
Apache Ant version 1.5.3 compiled on April 9 2003
Buildfile: SimpleTest.xml
Detected Java version: 1.4 in: D:\j2sdk141_02\jre
Detected OS: Windows 2000
parsing buildfile SimpleTest.xml with URI =
file:D:/Canoobuild/test/SimpleTest.xml
Project base dir set to: D:\Canoobuild\test

BUILD FAILED
Task not allowed here: config
        at
com.canoo.webtest.ant.TestSpecificationTask.addTask(TestSpecificationTask.java:42)
        at
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.init(ProjectHelperImpl.java:803)
        at
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.startElement(ProjectHelperImpl.java:867)
        at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
        at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
        at
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
        at
org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
        at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.java:155)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
        at
org.apache.tools.ant.Main.runBuild(Main.java:596)
        at
org.apache.tools.ant.Main.start(Main.java:196)
        at
org.apache.tools.ant.Main.main(Main.java:235)


regards,
//sylwester

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest