6 messages in com.canoo.lists.webtestRE: [Webtest] FW: help| From | Sent On | Attachments |
|---|---|---|
| Dierk König | 10 May 2002 04:28 | |
| Dierk König | 10 May 2002 05:15 | |
| Eric Pugh | 10 May 2002 06:49 | |
| Dierk König | 10 May 2002 07:59 | |
| Eric Pugh | 13 May 2002 09:05 | |
| Dierk König | 23 May 2002 02:00 |
| Subject: | RE: [Webtest] FW: help![]() |
|---|---|
| From: | Eric Pugh (epu...@upstate.com) |
| Date: | 05/10/2002 06:49:35 AM |
| List: | com.canoo.lists.webtest |
Thanks for the post... I am having problems with getting regex to work properly ( my lack of understanding!). I have the exact same issue, and would love it if someone posts the regex statement or the verifyxpath statement they used.
On another note, how do you check a radio button?
Eric
-----Original Message----- From: webt...@gate.canoo.com [mailto:webt...@gate.canoo.com]On Behalf Of Dierk König Sent: Friday, May 10, 2002 8:16 AM To: webt...@gate.canoo.com Subject: RE: [Webtest] FW: help
Hi Heiko,
WebTest cannot test JavaSkript.
Therefore you will not be able to test, that your go_to_login() function return the proper String.
But you can test that the anchor calls the login function to determine the href. (you can use verifytext with regex for this or verifyxpath).
To navigate to the expected href you cannot just follow the link. You need to do an explicit invoke step with the expected href.
hope that helps Mittie
-----Original Message----- From: webt...@lists.canoo.com [mailto:webt...@lists.canoo.com]On Behalf Of Dierk König Sent: Freitag, 10. Mai 2002 13:29 To: Webtest@Lists. Canoo. Com Subject: [Webtest] FW: help
-----Original Message----- From: webt...@lists.canoo.com [mailto:webt...@lists.canoo.com]On Behalf Of Ritzmann, Heiko Sent: Freitag, 10. Mai 2002 11:33 To: 'webt...@lists.canoo.com' Subject: WG: help
Heiko Ritzmann Software Development GODYO AG Prüssingstraße 35 D-07745 Jena
e-mail: heik...@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: 'WebT...@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=3 00,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: heik...@godyo.com Telefon: +49 36 41 2 87-2 92 Telefax: +49 36 41 2 87-2 87 Internet: www.godyo.com
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest




