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
- - - - - -
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:
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
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
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
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
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
&
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.
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
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
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
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
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
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
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
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]
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
!!
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
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
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
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
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
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
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
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:
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
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
[
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
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
/ 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
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: [
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
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
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,
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
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
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
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
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
39 matches
Mail list logo