[Webtest] FW: help

Dierk König webtest@lists.canoo.com
Fri, 10 May 2002 13:29:07 +0200


-----Original Message-----
From: webtest-owner@lists.canoo.com
[mailto:webtest-owner@lists.canoo.com]On Behalf Of Ritzmann, Heiko
Sent: Freitag, 10. Mai 2002 11:33
To: 'webtest-admin@lists.canoo.com'
Subject: WG: help




Heiko Ritzmann
Software Development
GODYO AG
Prüssingstraße 35
D-07745 Jena

e-mail: heiko.ritzmann@godyo.com
Telefon: +49 36 41 2 87-2 92
Telefax: +49 36 41 2 87-2 87
Internet: www.godyo.com


-----Ursprüngliche Nachricht-----
Von: Ritzmann, Heiko
Gesendet: Freitag, 10. Mai 2002 11:24
An: 'WebTest-request@lists.canoo.com'
Betreff: help


Hi,

is it possible to test something like the following code with cocoon?

	...
	<script language="JavaScript">
		function go_to_login(){

window.open('login','BauerfeindLogin','width=313,height=176,left=300,top=250
');
		}
	</script>
	...
	<a href="javascript:go_to_login();" name="toLogin">
		<img src="../images/bf_logo.gif" border="0" alt="Zum
Login"/>
	</a>

If I do a test like this

	<clicklink stepid="Klick den Link zur Login-Seite" label="Zum
Login"/>,

I get the error message:

	"Error encountered:
normal(com.canoo.webtest.engine.ConfigurableTestCase): unknown protocol:
javascript ..."

Thanks

Heiko








Heiko Ritzmann
Software Development
GODYO AG
Prüssingstraße 35
D-07745 Jena

e-mail: heiko.ritzmann@godyo.com
Telefon: +49 36 41 2 87-2 92
Telefax: +49 36 41 2 87-2 87
Internet: www.godyo.com