Dear All,
I use a framework that generates all the form included
input types of any kind it gives to all form
elements proprietary names that I cannot discover at
runtime.
So is very difficult to use jwebunit to test this kind
of forms.
But I can use the id attribute for every form element,
bu
Sree,
window.open() is supported by httpunit, and I have succesfully tested popup
windows through jWebUnit. There are unit tests for it in the codebase.
Your problem is a specific one. Is it possible that you could post the html
for the calling page and for the popup window? Also the failing tes
By
popup window i mean a new window resulting from a window.open() call from
_javascript_ resulting from a click/form submission
event. getWindow(windowName) does give me a window object with specified
name attribute, but the response text in it is empty string. I am expecting the
_javascri
Siva,
Yes, two ways of doing it.
1) Either gain direct access to httpunit api via the jwebunit. I'm not too
familair with httpunit
2) Wait until the next major release of jwebunit. I'm putting conviences to
assert that a javascript alert dialog exists. And conviences to click them
as well. I
Did you resolve your issue?
Can you gain access to an "id" attribute for the link?
ie. -Original Message-
> From: Michael Fuchs [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 31, 2004 5:45 AM
> To: [EMAIL PROTECTED]
> Subject: [Jwebunit-users] Link in Table (clickLinkWithTextAfterText
Hi Nick:
I have problem testing my Javascript Popup box.
Is there a way to test it?
Rgds,
-Siva
From: Nick Neuberger <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: RE: [Jwebunit-users] FW: popup windows - gotoWindow
Date: Wed, 8 Sep 2004 15:43:25 -0
Define
popup window?
Is
this a _javascript_ "alert" window. or an actual new window with another
HTML content.
I
would call "getWindow(windowName)"
to see
if it returns "null" or is it the specific window you are
expecting.
Nick
-Original Message-From: Sreekant
[
hello,
i need some help for using the WebFixture.
it seems that the method doCells() is never called which causes a
NullpointerException in baseUrl()!
i would be glad if someone could help me,
Robert
---
This SF.Net email is sponsored by BEA Web