Hello,
after having a good rest I searched again and found the the continuous
build binary archive under "Build Artifacts". My fault, tired eyes,
sorry for the stupid question.
Now I have tried the 511 and 513 snapshot build archives of HtmlUnit
with R_1641 of WebTest, and with both the simple test I mentioned below
fails early with a root cause of
======================
Caused by:
E:\wp\pg_entitlement\PGEntitlementWebApplicationTest\tests\osbl_1.xml:13:
java.lang.NoClassDefFoundError: org/w3c/css/sac/Selector
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:115)
at org.apache.tools.ant.Task.perform(Task.java:348)
at
com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence.java:43)
at
com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.java:31)
at com.canoo.webtest.steps.Step.execute(Step.java:100)
[...]
======================
Do the HtmlUnit snapshot builds depend on additional libraries or did I
miss another config step?
I also searched again for the "disable JS errors" option (rested mind =>
better search pattern) and have found the proper option: <option
name="ThrowExceptionOnScriptError" value="false"/>. My "entry level"
tests succeed when I set this option, with HtmlUnit 1.13.
I wonder if it's possible to disable only 404 errors, but throw
exception on all other JS errors?
Thanks for your patience with me,
Victor
Victor Ott wrote:
Hello,
I'm new to WebTest. After a few small tests with "classic" web
applications, I tried to test one written with WingS framework (
http://wingsframework.org ) and failed with some errors. Version R_1641
got me over these errror, but now I stumble on 404 errors.
The WingSet demo application ( http://wingsframework.org/wingset/WingSet
) is not quite suited for a test start, because of the tree control on
the page (Ajax), so I'd like to exemplify with another WingS application
( http://osbl.wilken.de/osbl/ProcessClient ). Below is the simple test I
tried to run (depending on browser localization, the Button might be
labeled "Anmelden" or "Login"). The error is: "JavaScript error loading
page http://osbl.wilken.de/osbl/ProcessClient/: 404 /osbl/js/utils.js
for http://osbl.wilken.de/osbl/js/utils.js", which is ok, that file does
not exist. Previous postings on the list suggest to ignore JS
exceptions, but how can I configure this? I could not find an answer in
the manual and mail list archives.
Updating to a nightly build of HtmlUnit fails because I couldn't find
the nightly builds.
http://htmlunit.sourceforge.net/gettingLatestCode.html mentions the
CruiseControl server, but there's no download link there.
Thanks in advance for any hint,
Victor
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "../dtd/Project.dtd">
<project name="osbl.loginPage" default="test">
<target name="test">
<webtest name="check that OSBL demo page is reachable">
&config;
<steps>
<invoke url="http://osbl.wilken.de/osbl/ProcessClient/"
description="visit OSBL demo page"/>
<verifyTitle text="OS Business Library" />
<clickButton label="Anmelden" />
<verifyTitle text="Process Client" />
</steps>
</webtest>
</target>
</project>
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest