[Webtest] [webtest][JIRA] Created: (WT-140) Error BUILD FAILED comes up as soon as I add the config element
Uwe Bartels (JIRA)
webtest@lists.canoo.com
Mon, 23 Jan 2006 10:41:04 +0100 (CET)
Error BUILD FAILED comes up as soon as I add the config element
---------------------------------------------------------------
Key: WT-140
URL: http://webtest-community.canoo.com/jira/browse/WT-140
Project: WebTest
Type: Bug
Environment: Sun Solaris 10
webtest 1.7 1120
Reporter: Uwe Bartels
Hi,
I'm just starting with webtest and have an immediate problem adding the config element. I get the same error even if I add an ampty config element. Other simple configuration item bring up the same result. With this way I don't have a report.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE project SYSTEM "/park/pub/apps/webtest/selftests/config/MyWebTest.dtd">
<project name='TestTitle' default='TestTitle'>
<target name="TestTitle">
<webtest name="verifyTitle: Show how title tag can be tested">
<config haltonerror='false'>
</config>
<steps>
<invoke description="Homepage" url="http://www-anytestsite.pixelpark.com/"/>
</steps>
</webtest>
</target>
</project>
Will use /bin/java
Buildfile: webtest/bin/../resources/webtestsRunner.xml
Trying to override old definition of task sleep
init:
testSuite:
cleanUp:
init:
runTest:
[echo] Start execution of 'tests/webtest/meinErsterTest.xml' in dir '/home/bartels'
TestTitle:
[webtest] INFO (com.canoo.webtest.ant.WebtestTask) - Canoo Webtest: R_1120.
[webtest] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: null "[implict setup step]" (1/3)
[webtest] INFO (com.canoo.webtest.steps.Setup) - Using browser version (Microsoft Internet Explorer, 4.0 (compatible; MSIE 6.0b; Windows 98), Mozilla/4.0, 1.2, 6.0). If the javascript support is not as expected, then it's time to go into the sources
[webtest] INFO (com.canoo.webtest.steps.Setup) - Configuring 2 HTTP header field(s)
[webtest] INFO (com.canoo.webtest.steps.Setup) - Skipped User-Agent header as it has already been configured in the BrowserVersion
[webtest] INFO (com.canoo.webtest.steps.Setup) - Configured header "Accept-Language": de-ch
[webtest] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: invoke "Homepage" (2/3)
[webtest] INFO (com.canoo.webtest.steps.request.AbstractTargetAction) - -> gotoTarget by URL: /
[webtest] INFO (com.canoo.webtest.steps.request.TargetHelper) - getting response for url: http://www-anytestsite.pixelpark.com
[webtest] WARN (org.apache.commons.httpclient.util.EncodingUtil) - Unsupported encoding: ??? page.default.encoding ???. System encoding used
[webtest] ERROR (com.canoo.webtest.steps.request.TargetHelper) - ScriptException: enclosed exception was "TypeError: Cannot find default value for object. (http://dev-www01-s-immobilien-de.pixelpark.com/resourcesunitb/js/unitb.js#108)"
[webtest] INFO (com.canoo.webtest.steps.Step) - Exception thrown from this class: com.canoo.webtest.engine.StepFailedException
[webtest] INFO (com.canoo.webtest.steps.Step) - Message was: Step[invoke "Homepage" (2/3)]: Script error executing at: invoke
[webtest] INFO (com.canoo.webtest.ant.WebtestTask) - Test report successfully created.
BUILD FAILED
/pixel/home/bartels/webtest/resources/webtestsRunner.xml:43: The following error occurred while executing this line:
/pixel/home/bartels/webtest/resources/webtestsRunner.xml:86: The following error occurred while executing this line:
Test step invoke (/home/bartels/tests/webtest/meinErsterTest.xml:27: ) named "Homepage" failed with message "Step[invoke "Homepage" (2/3)]: Script error executing at: invoke"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira