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 testcase
would be helpful.
Thanks,
jim
Jim Weaver
Software Developer - ThoughtWorks
Office : 615-850-4724
Cell : 312-286-7496
"Sreekant"
<[EMAIL PROTECTED]
e.com> To
Sent by: <[EMAIL PROTECTED]
jwebunit-users-ad et>
[EMAIL PROTECTED] cc
orge.net
Subject
RE: [Jwebunit-users] FW: popup
09/08/2004 04:35 windows - gotoWindow
PM
Please respond to
<[EMAIL PROTECTED]
e.com>
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
javascript to open the URL mentioned in the function and get some response.
I am not getting any Javascript runtime exceptions, so i am "assuming"(may
be i am wrong!!!!) that it did do something to get the response. By the way
our app is working fine and there is no problem with the popups or the
javascript in IE. Your help is greatly appreciated.
Thanks Much,
Sree
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nick
Neuberger
Sent: Wednesday, September 08, 2004 4:43 PM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: [Jwebunit-users] FW: popup windows - gotoWindow
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 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 7:49 AM
To: [EMAIL PROTECTED]
Subject: [Jwebunit-users] FW: popup windows - gotoWindow
Hi All,
I posted the belove msg abt popup windows few days ago. I have
already developed a lot of test cases for our application using
Jwebunit and now stuck with this popup window issue. Did anyone face
this problem?? .. pls respond to this mail if you have any
information. Any help is greatly appreciated.
Thanks much,
Sree
-----Original Message-----
From: Sreekant [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 11:35 AM
To: '[EMAIL PROTECTED]'
Subject: popup windows - gotoWindow
Hi All,
Does gotoWindow(windowName) have any known problems?? or is
there anything that needs to be setup for it to work?? I am trying
to use this method to get to a popup window and it always gives me a
Default Window Response which is blank and hence fails my test case.
Any help will be greatly appreciated.
Thanks much,
Sree
- - - - - -
This e-mail message is intended only for the use of the individual or
entity identified in the alias address of this message and may
contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution of this e-mail message is
strictly prohibited. If you have received this e-mail message in
error, please notify the sender immediately by reply e-mail and
delete this message from your system. Thank you.
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users