[Jwebunit-users] Accessing form elements by ID

2004-09-08 Thread Ivan Codarin
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

RE: [Jwebunit-users] FW: popup windows - gotoWindow

2004-09-08 Thread James E Weaver
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

RE: [Jwebunit-users] FW: popup windows - gotoWindow

2004-09-08 Thread Sreekant
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

RE: [Jwebunit-users] FW: popup windows - gotoWindow

2004-09-08 Thread Nick Neuberger
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

RE: [Jwebunit-users] Link in Table (clickLinkWithTextAfterText)

2004-09-08 Thread Nick Neuberger
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

RE: [Jwebunit-users] FW: popup windows - gotoWindow

2004-09-08 Thread Sivakumar Jagadeesan
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

RE: [Jwebunit-users] FW: popup windows - gotoWindow

2004-09-08 Thread Nick Neuberger
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 [

[Jwebunit-users] WebFixture doesn't work

2004-09-08 Thread Robert Schipper
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