Ji Jenny, Your code test looks perfect... so am not sure why it should not work, unless ofcourse the cookie you are seraching does not exist in the resp obj, I...
12403
jenny_jingwang
Dec 2, 2004 12:42 am
Thanks so much! It worked perfectly! The documentation and examples are not easy to follow on their web site. Do you recommend anywhere else I can get more...
12404
mark_l_salter
Dec 2, 2004 12:42 am
I am attempting to construct a test suite that has a common component referenced and used from within tests in the suite, which is set-up once. The 'common39;...
12405
jenny_jingwang
Dec 2, 2004 12:42 am
Could I ask one more question? If I use jwebunit test instead of HttpUnit, I guess I need to call the assertCookiePresent("GUID") function in WebTestCase...
12406
paranoid android
paranoic7
Dec 2, 2004 12:43 am
merhaba, Junit yahoo groups ta isminizi gordum; ben junit ile JSP ve servletler icin unit testleri yazmak istiyorum.. Ancak bunlarla ilgili cok az ornek...
12407
wellman_daniel
Dec 2, 2004 12:43 am
OK, so I played around a bit and was able to get VirtualMock and jMock working with my tests. I used the AspectWerkz offline mode for testing; looking through...
12408
g d
mougli213
Dec 2, 2004 12:46 am
hi friends, Here is a sample code Using JSP <%@ page import='java.sql.*, javax.sql.*, javax.naming.*' %><%Context ic = new InitialContext();DataSource ds =...
12409
Bob Koss
koss@...
Dec 2, 2004 1:20 am
... Yes, get that code out of the jsp and into a class that you can test. Use your jsp's for presentation only. ... Robert S. Koss, Ph.D. Senior Consultant ...
12410
J. B. Rainsberger
nails762
Dec 2, 2004 1:29 am
... I would make it a public, class-level field of the one-time setup class. ... If the method is going to be class-level, then the field it writes to also has...
12411
J. B. Rainsberger
nails762
Dec 2, 2004 1:30 am
... First, I can't read the code because it's not formatted very well. But beyond that, what do you want to test? What are you afraid might fail? Ignore how to...
12412
kavitha kandababu
kavitha_geo
Dec 2, 2004 4:26 pm
Hi , Is it possible to use junit to test jsp pages.I am using struts framework and j2ee as middle tier .I guess junit cannot be used independently (without ...
12413
J. B. Rainsberger
nails762
Dec 2, 2004 5:55 pm
... Why is your Action class loading a Form bean for a JSP? Doesn't Struts do that for you automatically? Struts provides the Form object as a parameter to the...
12414
Yagiz Erkan
yagizerkan@...
Dec 2, 2004 8:04 pm
Hi all, We are using HttpUnit (through jWebUnit) to smoke-test our Web based application. Currently we are having a problem with a page assigning a location to...
12415
Russell Gold
russgold
Dec 2, 2004 10:17 pm
... Make a test case that I can run which reproduces the problem and file a bug report <http://sourceforge.net/tracker/?group_id=6550&atid=106550>...
12416
Russell Gold
russgold
Dec 2, 2004 10:18 pm
On Thu, 2 Dec 2004 07:56:09 +0000 (GMT), kavitha kandababu ... It can be used with HttpUnit to test pages....
12417
mark_l_salter
Dec 4, 2004 12:04 am
c = new Connection("remoteIP"); ... Thanks Joe. After rereading my question and your answer, I did arrive at a working solution of placing the reused class...
12418
ramandeep340
Dec 4, 2004 12:04 am
Hello, I would like to know if there is a mechanism to segregate test case results based on some version. e.g I have test functions which were added in...
12419
srinivas muthyala
j2eespecialist
Dec 4, 2004 12:04 am
Hi All, I am currently in the process of choosing a testing framework for testing our web application. I am inclined to use either HtmlUnit or jWebUnit, but ...
12420
Leon Pu
leon_xf_pu
Dec 4, 2004 12:04 am
Hi, I think maybe you wrote some validation code for the input parameters in the ActionForm, and you want to test these validation method? If it is true, I...
12421
Leon Pu
leon_xf_pu
Dec 4, 2004 4:45 pm
Hi Srinivas, I am not similiar with HtmlUnit and jWebUnit, but I think HttpUnit is a good choice to test your java writen web application. Leon srinivas...
12422
Martijn Dashorst
martijn_dash...
Dec 4, 2004 8:40 pm
Leon, Srini, jWebUnit is a wrapper around httpunit, which makes it more junit like to write testscripts for your webapplications. I'd say give both HTMLUnit ...
12423
J. B. Rainsberger
nails762
Dec 4, 2004 10:47 pm
... I'm glad you found a solution, but just as a note, the tests run in single-threaded mode, so it might just be that they're running quickly. This can be a...
12424
J. B. Rainsberger
nails762
Dec 5, 2004 4:12 am
... I have mostly used HtmlUnit, and I rather like it. It is easy to use HtmlUnit to test web pages, even without serving them from a web server, which I...
12425
J. B. Rainsberger
nails762
Dec 5, 2004 4:14 am
... I don't understand "different versions of test suites". If you mean different versions of the same class, then you can't run those tests simultaneously,...
12426
J. B. Rainsberger
nails762
Dec 5, 2004 5:19 pm
X P D A Y T O R O N T O 2005 http://www.xpday.info February 19, 2005 Are you looking for an opportunity to learn about Extreme Programming, but unsure about...
12427
J. B. Rainsberger
nails762
Dec 5, 2004 5:41 pm
Hello, folks: I have a question for anyone who does or has done plug-in development for Eclipse. I have noticed that when I run my plug-in tests in Run mode, I...
12428
Thomas L Roche
tlroche
Dec 5, 2004 11:23 pm
J. B. Rainsberger Sun, 05 Dec 2004 12:41:19 -0500 ... We run tests in both modes. Some things to look @ 0 What error messages are you getting? (Running with ...
12429
Russell Gold
russgold
Dec 6, 2004 12:14 am
... If you really need a separation, you can always put new functions into separate suites. I have never seen the need. Why do you want to separate them?...
12430
Yagiz Erkan
yagizerkan@...
Dec 6, 2004 9:29 am
We're using jWebUnit to create automated smoke tests. The tests run various scenarios verifying that the pages display without any server errors, with the...
12431
Siva Krishna Kumar B
bskk76
Dec 6, 2004 8:12 pm
I want to know how JUnit framework will handle exceptions when a test case is a Thread, and running a bunch of test cases, one test case throws exception or...