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'm integrating into jwebunit a java-api that displays the browser, asserts the dialog exists, clicks it and goes on. Its quite cool. I have the generic things working within jwebunit but have not committed it into CVS yet. Let me know if your interested in the latter, I could commit something into the CVS JACOBIE branch and build a beta release. Nick > -----Original Message----- > From: Sivakumar Jagadeesan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 3:50 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: RE: [Jwebunit-users] FW: popup windows - gotoWindow > > > 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 -0500 > > > >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 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