I use WebTest "out of the box". I start the test using the runWebtest.bat
file. JDK is 1.5.0.11 from Sun.
Is it possible to disable Applet handling at all? There is an applet on my
page, but it has nothing to do with my tests. So I would like to tell
webtest to ignore it.

Best Regards,

Matthias

<project default="test">

        <target name="test">
                <webtest name="CISMasterData Portlet test" description="Test
the CISMasterData portlet">
                        <config host="${portal.host}" port="${portal.port}"
protocol="http" basepath="wps" timeout="120" summary="true"
                                saveresponse="true" haltonerror="false"
haltonfailure="false">
                                <option name="RedirectEnabled" value="true"
/>
                        </config>
                        <steps>
                                <loginTest />
                                <clickLink label="CISMasterData"
description="Navigate to the portlet page" />
                                <checkStandardErrors />
                                <verifyText text="MSO" description="Verify
that one portlet instance exist on the page" />
                                <logoutTest />
                        </steps>
                </webtest>
        </target>
</project>

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von Marc Guillemot
Gesendet: Dienstag, 31. März 2009 12:57
An: [email protected]
Betreff: Re: AW: [Webtest] ZipException during clickLink

Strange. Do you use WebTest "out of the box" or have you changed some
settings, for instance for applets?

Cheers,
Marc.
-- 
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com

Matthias Kammerinke wrote:
> I forgot to mention that the error does not occur with webtest build 1729.
> The next version I have is 1737 and also 1762. I think it has to do with
the
> new release of HtmlUnit.
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]]
Im
> Auftrag von Matthias Kammerinke
> Gesendet: Montag, 30. März 2009 13:27
> An: [email protected]
> Betreff: [Webtest] ZipException during clickLink
> 
> Hello,
> 
> I'm getting the following error in the result HTML page of my webtest
> 
> JavaScript error loading page
> http://portaldev-z3.ess-sd.de.signintra.com:10038/wps/myportal/test:
> java.util.zip.ZipException: Error opening zip file
> C:\DOKUME~1\MKAMME~1\LOKALE~1\Temp\HtmlUnit5592jar
> 
> The file does not exist at the named location, so i believe it is deleted
> after the test finishes.
> I would like to know, what the file contains and at what time it gets
> created.
> My web page is quite big and contains a lot of references to js files, an
> applet and css files.
> I set the logLevel to 'trace', but even at that level webtest does not say
> why and when the file is created.
> 
> Can anybody tell me, how to keep the temporary files, or how to find out
> which resource is stored in it?
> 
> Best Regards,
> 
> Matthias
> 
> 
> Stacktrace from command line
> 
> [groovyScript] Writing
> C:\Subversion\Portal\webtest-results\WebTestOverview.xml
> [groovyScript] ERROR
(com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob)
> - Caught exception in Window.setTimeout().
> [groovyScript] ======= EXCEPTION START ========
> [groovyScript] Exception class=[java.lang.RuntimeException]
> [groovyScript] com.gargoylesoftware.htmlunit.ScriptException:
> java.util.zip.ZipException: Error opening zip file
> C:\DOKUME~1\MKAMME~1\LOKALE~1\Temp\HtmlUnit50678jar
> [groovyScript]  at
>
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAct
> ion.run(JavaScriptEngine.java:513)
> [groovyScript]  at org.mozilla.javascript.Context.call(Context.java:515)
> [groovyScript]  at
> org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507)
> [groovyScript]  at
>
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript
> Engine.java:412)
> [groovyScript]  at
>
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript
> Engine.java:387)
> [groovyScript]  at
>
com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html
> Page.java:934)
> [groovyScript]  at
>
com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob.run(JavaScriptBackgrou
> ndJob.java:101)
> [groovyScript]  at java.lang.Thread.run(Thread.java:810)
> [groovyScript]  at
> com.gargoylesoftware.htmlunit.ThreadManager$1.run(ThreadManager.java:116)
> [groovyScript] Caused by: java.lang.RuntimeException:
> java.util.zip.ZipException: Error opening zip file
> C:\DOKUME~1\MKAMME~1\LOKALE~1\Temp\HtmlUnit50678jar
> [groovyScript]  at
>
com.gargoylesoftware.htmlunit.javascript.host.HTMLDocument$2.transform(HTMLD
> ocument.java:285)
> 
> 
> 
> 
> 
> 


_________________________________________________________________________________________

Schenker Aktiengesellschaft
Essen
Amtsgericht/District Court in Essen (HRB 17 474)

Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Norbert 
Bensel

Vorstand/Board of Management: Dr. Thomas C. Lie (Vorsitzender/Chairman), Dr. 
Lutz Freytag, Karl Nutzinger,
Peter Schumann, Dr. Detlef Trefzger, Steffen W. Wurst

 Diese Email enthält möglicherweise vertrauliche und/oder rechtlich geschützte 
Informationen. Wenn Sie nicht der richtige Adressat oder
für diesen zur Annahme der Nachricht berechtigt sind, dürfen Sie die Nachricht 
in keiner Weise nutzen, kopieren, veröffentlichen oder in
anderer Weise Handlungen auf Basis von in der Nachricht enthaltenen 
Informationen vornehmen. Wenn diese Nachricht irrtümlich an Sie
versandt wurde, informieren Sie uns bitte (z. B. durch Antwort- Email) und 
vernichten Sie diese Nachricht. Vielen Dank für Ihre Mitwirkung.

This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose or take any action based on this 
message or any information herein. If you have received this
message in error, please advise us immediately (e.g. by reply Email) and delete 
this message. Thank you for your cooperation.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to