RE: [Jwebunit-users] jWebUnit and JCIFS

2005-05-17 Thread Nick Neuberger
latest code in HEAD. The has the Jacobie integration. Since Jacobie is a true browser (IE) testing engine, you may able to use it. I'm not sure about the uid / pwd prompt that comes up. I don't believe there is a IE API call for that. Not sure. HTH. Nick Neuberger - - - - - -

RE: [Jwebunit-users] Runtime Exception when calling WebTester.ass ertElementPresent()

2005-05-16 Thread Nick Neuberger
al&q=DOMException+NOT_SUPPORTED_ERR&btnG=Search HTH,(((Hope this Helps!!!))) Nick Neuberger > -Original Message- > From: John Lianoglou [mailto:[EMAIL PROTECTED] > Sent: Monday, May 16, 2005 4:38 AM > To: jwebunit-users@lists.sourceforge.net > Subject: Re:

RE: [Jwebunit-users] Question about submit forms

2005-05-12 Thread Nick Neuberger
Try using: /** * Clicks a radio option. Asserts that the radio option exists first. * * * @param radioGroup * name of the radio group. * @param radioOption * value of the option to check for. */ pub

RE: [Jwebunit-users] Protect your VISA card

2005-04-26 Thread Nick Neuberger
Title: New Page 1 I hate these e-mails  what a waste.  spammers...   Nick -Original Message-From: Visa.com [mailto:[EMAIL PROTECTED]Sent: Monday, April 25, 2005 2:14 PMTo: jwebunit-users@lists.sourceforge.netSubject: [Jwebunit-users] Protect your VISA card

RE: [Jwebunit-users] Getting Started

2005-04-21 Thread Nick Neuberger
There have been more troubles using https and jwebunit. I suggest you look at: There is a link on this page that will direct you to how to setup httpunit using a secure site. Also, look at the jwebunit site, I think there is a secure site how to page. https://sourceforge.net/tracker/?func=det

RE: [Jwebunit-users] getDialog

2005-03-09 Thread Nick Neuberger
ue, please post to the list for archival purposes for future users. Nick Neuberger > -Original Message- > From: Alistair Young [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 09, 2005 8:49 AM > To: Nick Neuberger > Cc: jwebunit-users@lists.sourceforge.net > Subject: Re

RE: [Jwebunit-users] getDialog

2005-03-09 Thread Nick Neuberger
complete stacktrace? I'm not sure which jwebunit method is being called. See Ya, Nick > -Original Message- > From: Alistair Young [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 09, 2005 4:34 AM > To: Nick Neuberger > Cc: jwebunit-users@lists.sourceforge.net &

RE: [Jwebunit-users] getDialog

2005-03-08 Thread Nick Neuberger
The beginAt method needs to be called first. This will initialize the dialog. I would recommend moving that line into your "test" methods after the beginAt() method is called. Actually, in our superclass we implemented an "authenticateApplication()" method called at the setUp() method.

RE: [Jwebunit-users] jWebFit and HTML-escaped characters

2005-03-08 Thread Nick Neuberger
If you could, please take a look at the httpunit mailing list. I'm willing to bet that it (httpunit) will not interpret the escape codes. jwebunit is just calling: resp.getTitle() I just looked and can't find much on escape codes. HTH... Nick > -Original Message- > From: Trond Marius

[Jwebunit-users] Jacobie Released. JWebUnit / Jacobie integrated not released ye t.

2005-03-02 Thread Nick Neuberger
are implemented for Jacobie, I will release to the HEAD. And we will produce a jwebunit 1.3 version with the new testing. I'll keep both groups a bit in tune on the status of the integration. See Ya, Nick Neuberger - - - - - - This e-mail message is intended only for the use of the indiv

RE: [Jwebunit-users] Asserting option selected in form

2005-03-02 Thread Nick Neuberger
startsWith("httpunit")) { > super.doFilter(req, res, chain); > return; > } > > chain.doFilter(req, res); > } > } > > Matt > > On Feb 22, 2005, at 12:59 PM, Matt Raible wrote: > > > > > On Feb 17, 2005, at 2:17 PM, Nick Neube

RE: [Jwebunit-users] Asserting option selected in form

2005-02-17 Thread Nick Neuberger
Two things: 1) Put a breakpoint in HttpUnitDialog.getSelectedOption(String selectName) Iterate over each value and inspect the values. 2) You may have a CR LF problem between the begin and end tag of This CFLF problem with not allow two object to equal. 3) Are you using an object based html r

RE: [Jwebunit-users] Issue with clickButton()

2005-02-09 Thread Nick Neuberger
If possible, Add the following to the input field. id="cmdDisc" Its trying to find the button based on the id attribute. HTH. Nick > -Original Message- > From: Alasdair Young [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 09, 2005 10:53 AM > To: 'jwebunit-users@lists.sourcefo

RE: [Jwebunit-users] Unable to find option using selectOption

2005-02-02 Thread Nick Neuberger
1) Try using: selectOption("outage.companyName", "1"); just to see if it will find it by using the value. 2) Is the javascript "writing" to the output and dynamically adding to the page after the response is returned? 3) What does the onchange="checkCompany(this)" javascript function do? Can

RE: [Jwebunit-users] Not seeing form element

2005-01-05 Thread Nick Neuberger
the framework, when it should compare a "name" attrib, it will check the "id" attrib instead. This seems like the best approach since many assertions in jwebunit use the "name". Would this help out in STRUTS based applications as well. Thoughts HTH... N

RE: [Jwebunit-users] onload() and IFrames

2004-12-16 Thread Nick Neuberger
did you resolve your problem. It looks like Rhino may not support iFrames. http://www.mail-archive.com/nelayan_indo@setio.net/msg04427.html HTH... Nick > -Original Message- > From: Yagiz Erkan [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 02, 2004 10:43 AM > To: [EMAIL PROTECTED]

[Jwebunit-users] Anyone use TestContext

2004-12-14 Thread Nick Neuberger
I'm wondering but does anyone use TestContext -Is anyone extending from the class? ABCompanyTestContext extends TestContext. I have the following problems: -I current have local attributes (userid, password, user full name) at my superclass SnccJWebUnitWebTestCase. -I also noticed the same

[Jwebunit-users] Released Jacobie Changes in JACOBIE branch only

2004-12-07 Thread Nick Neuberger
!! See Ya, Nick Neuberger - - - - - - 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

RE: [Jwebunit-users] expected vs the real value

2004-11-15 Thread Nick Neuberger
Try running it from your development editor and not from a command line and see what happens.. I run all of the unit tests via the eclipse junit plug-in with very good success.. It looks like something is truncating the expected / actual values. HTH Nick Neuberger > -Original Mess

RE: [Jwebunit-users] connection exception. How to connect to port 7001

2004-11-12 Thread Nick Neuberger
Looks like you get a Connection Refused.   Do you have a server running on port 7001???   Try using Internet Exploder... or Firefox   Verify you have a listening port before running the test by using this command: netstat -a   HTH   Nick   -Original Message-From: [EMA

RE: [Jwebunit-users] Re: Fw: [open_source] Error on code example on main jWebUnit page

2004-10-19 Thread Nick Neuberger
I would suggest instead of navigating to the httpunit website, navigate to the jwebunit website. This is something we can control. We should no when the title changes on the jwebunit website. We can't control when the httpunit website changes the title of their main page. Just a thought. Nick

RE: [Jwebunit-users] Exceptions when running simple test case

2004-09-29 Thread Nick Neuberger
This may be an issue with javascript. Try the following and see what happens. HttpUnitOptions.setExceptionsThrownOnScriptError(false); 1) This may be an error with the javascript parsing of httpunit or its required jar files. 2) Maybe a classpath issue. Just a thought. HTH. Ni

RE: [Jwebunit-users] Selecting a specific link in a table

2004-09-23 Thread Nick Neuberger
t; From: Laurent Duperval [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 20, 2004 3:40 PM > To: Nick Neuberger > Cc: [EMAIL PROTECTED] > Subject: Re: [Jwebunit-users] Selecting a specific link in a table > > > Nick Neuberger wrote: > > >Ah. I see your trouble. I didn&#

RE: [Jwebunit-users] Unable to logoff (session not invalidating) in test

2004-09-22 Thread Nick Neuberger
You may want to try clickLinkWithText("Logoff"); (if its an actual link on the page.) You may be getting an entire new session somehow. Nick > -Original Message- > From: Bill Siggelkow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 22, 2004 5:53 AM > To: [EMAIL PROTECTED] > Subj

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

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

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 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 [

RE: [Jwebunit-users] Accessing HttpUnitOptions

2004-08-03 Thread Nick Neuberger
I believe most of the htttunitoptions are static and global. So call any httpunit options prior to running the unit tests. Either in setUp() or in the junit decorator class prior to a test suite. HTH.. Nick > -Original Message- > From: Quinton Wall [mailto:[EMAIL PROTECTED] > Sent: Su

RE: [Jwebunit-users] Using jWebUnit to parse pages with Javascrip t

2004-07-23 Thread Nick Neuberger
I've had very little luck with using javascript and httpunit. So not sure on reporting the line numbers. All I know is that our application heavily relies on javascript for dynamic menus, data entry formatting, double clickchecking, etc. I have had so many problem using the httpunit and javascri

RE: [Jwebunit-users] Fit Plugin - build

2004-07-21 Thread Nick Neuberger
/ CruiseControl / JUnit and (soon jWebUnit) for running tests so it may be overkill for us though. Thanks jim for the reply. Nick > -Original Message- > From: James E Weaver [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 21, 2004 11:16 AM > To: Nick Neuberger > Cc: Chris

RE: [Jwebunit-users] Fit Plugin - build

2004-07-21 Thread Nick Neuberger
BTW. What is fitnesse briefly? I tried looking at a site like that it and I was a bit confused as to what it is. Nick Neuberger > -Original Message- > From: James E Weaver [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 21, 2004 9:44 AM > To: Chris Barham > Cc: [

RE: [Jwebunit-users] Selecting a specific link in a table

2004-07-20 Thread Nick Neuberger
Text); Yeah. I agree, a need for your suggestion is necessary. clickLinkWithExactText(). I'll add it to the new features and implement the change in the next couple of weeks. Nick > -Original Message- > From: Laurent Duperval [mailto:[EMAIL PROTECTED] > Sent: Tuesday, Jul

RE: [Jwebunit-users] Testing identical pages with different local es

2004-07-20 Thread Nick Neuberger
localize all of your "string" attributes in your test cases into a specific local file. load a specific local prior to running your unit tests. if eclipse, then use localization refactoring tool. Never used it but this would be the way I would go Nick > -Original Message- > From: L

RE: [Jwebunit-users] Selecting a specific link in a table

2004-07-20 Thread Nick Neuberger
gt; From: Laurent Duperval [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 20, 2004 10:10 AM > To: [EMAIL PROTECTED] > Subject: Re: [Jwebunit-users] Selecting a specific link in a table > > > Nick Neuberger wrote: > > >Use: > > > >clickLinkWithText(String linkText,

RE: [Jwebunit-users] Checking class of a containing a link

2004-07-15 Thread Nick Neuberger
You would have to use a regular expression for this. jWebUnit does not have this support in 1.2. But I do believe this will be commited in the following 1.3 release of jwebunit. I need this feature as well. I will try and add this patch in the next few weeks. Then the next release it will be

RE: [Jwebunit-users] Running tests in single session

2004-07-01 Thread Nick Neuberger
Sree, Once you start coding junit based tests, you will never go back... Biggest Reason Once a test has been properly written. That test will be ran all of the time. So If anyone makes code changes that may affect that test, your test will fail immediately. Ie. the repeatable tests is the

RE: [Jwebunit-users] Running tests in single session

2004-06-29 Thread Nick Neuberger
I'll agree there. You don't want to couple each test method together with the same session. This would be a bad thing. I highly recommend creating a super class for all of your "TestCase" classes. Place simple login, navigation to certain areas in your application. See Ya, Nick > -Origin

RE: [Jwebunit-users] Selecting a specific link in a table

2004-06-22 Thread Nick Neuberger
Use: clickLinkWithText(String linkText, int index) clickLinkWithText("Delete", 2) This will click the 2nd link with the "Delete" as the text. HTH. Nick > -Original Message- > From: Laurent Duperval [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 22, 2004 8:25 AM > To: [EMAIL PROTECTE

RE: [Jwebunit-users] Accessing the session

2004-06-18 Thread Nick Neuberger
I don't think so. There are two session types that you may be talking about. Server Side (HttpSession). --jwebunit can't access that. or httpunit can't. At least this is my opinion. Client Side (httpunit.) --http unit may be sending session information to the server to maintain the server side