You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
(17) |
Aug
(18) |
Sep
(22) |
Oct
(16) |
Nov
(6) |
Dec
(11) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(11) |
Feb
(10) |
Mar
(34) |
Apr
(26) |
May
(6) |
Jun
(22) |
Jul
(14) |
Aug
(4) |
Sep
(47) |
Oct
(69) |
Nov
(23) |
Dec
(21) |
2005 |
Jan
(53) |
Feb
(33) |
Mar
(92) |
Apr
(65) |
May
(63) |
Jun
(57) |
Jul
(43) |
Aug
(132) |
Sep
(61) |
Oct
(75) |
Nov
(60) |
Dec
(130) |
2006 |
Jan
(74) |
Feb
(87) |
Mar
(101) |
Apr
(58) |
May
(54) |
Jun
(42) |
Jul
(31) |
Aug
(67) |
Sep
(61) |
Oct
(71) |
Nov
(28) |
Dec
(58) |
2007 |
Jan
(53) |
Feb
(50) |
Mar
(96) |
Apr
(66) |
May
(55) |
Jun
(130) |
Jul
(99) |
Aug
(115) |
Sep
(37) |
Oct
(78) |
Nov
(24) |
Dec
(70) |
2008 |
Jan
(94) |
Feb
(85) |
Mar
(197) |
Apr
(274) |
May
(119) |
Jun
(143) |
Jul
(193) |
Aug
(99) |
Sep
(160) |
Oct
(120) |
Nov
(178) |
Dec
(109) |
2009 |
Jan
(238) |
Feb
(169) |
Mar
(115) |
Apr
(109) |
May
(131) |
Jun
(167) |
Jul
(144) |
Aug
(193) |
Sep
(155) |
Oct
(154) |
Nov
(97) |
Dec
(127) |
2010 |
Jan
(108) |
Feb
(127) |
Mar
(176) |
Apr
(113) |
May
(130) |
Jun
(200) |
Jul
(115) |
Aug
(80) |
Sep
(92) |
Oct
(101) |
Nov
(124) |
Dec
(53) |
2011 |
Jan
(67) |
Feb
(144) |
Mar
(88) |
Apr
(60) |
May
(89) |
Jun
(54) |
Jul
(68) |
Aug
(81) |
Sep
(48) |
Oct
(40) |
Nov
(10) |
Dec
(20) |
2012 |
Jan
(21) |
Feb
(28) |
Mar
(17) |
Apr
(35) |
May
(41) |
Jun
(44) |
Jul
(68) |
Aug
(67) |
Sep
(89) |
Oct
(58) |
Nov
(47) |
Dec
(56) |
2013 |
Jan
(49) |
Feb
(28) |
Mar
(46) |
Apr
(31) |
May
(28) |
Jun
(37) |
Jul
(34) |
Aug
(52) |
Sep
(42) |
Oct
(108) |
Nov
(59) |
Dec
(56) |
2014 |
Jan
(41) |
Feb
(72) |
Mar
(46) |
Apr
(21) |
May
(19) |
Jun
(17) |
Jul
(15) |
Aug
(40) |
Sep
(11) |
Oct
(3) |
Nov
(5) |
Dec
(31) |
2015 |
Jan
(11) |
Feb
(12) |
Mar
(19) |
Apr
(19) |
May
(38) |
Jun
(54) |
Jul
(14) |
Aug
(42) |
Sep
(14) |
Oct
(16) |
Nov
(26) |
Dec
(14) |
2016 |
Jan
(3) |
Feb
(1) |
Mar
(24) |
Apr
(5) |
May
(15) |
Jun
(14) |
Jul
(33) |
Aug
(19) |
Sep
(8) |
Oct
(10) |
Nov
|
Dec
(2) |
2017 |
Jan
(16) |
Feb
(12) |
Mar
(23) |
Apr
(8) |
May
(11) |
Jun
(20) |
Jul
(21) |
Aug
(20) |
Sep
|
Oct
(6) |
Nov
(9) |
Dec
(2) |
2018 |
Jan
(7) |
Feb
(5) |
Mar
(6) |
Apr
(5) |
May
(1) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
|
Dec
(4) |
2019 |
Jan
(2) |
Feb
(2) |
Mar
(3) |
Apr
(4) |
May
|
Jun
(4) |
Jul
(9) |
Aug
(2) |
Sep
|
Oct
(4) |
Nov
(1) |
Dec
(7) |
2020 |
Jan
(2) |
Feb
(6) |
Mar
(9) |
Apr
(1) |
May
(1) |
Jun
(15) |
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(6) |
Nov
(3) |
Dec
(5) |
2021 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(6) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Erskine, C. <chr...@ed...> - 2004-10-06 20:04:05
|
Working with frames, I load a new page that is a frameset. After loading the frame set, if I call webClient.getCurrentWindow(), I get a frame which is the last frame loaded rather than getting the top level window that I loaded the frameset into. Is this the normal expected behavior? Should I be using something else to get the top level window? Chris Erskine EDS Consulting Services F5-EDS-001 2424 Garden of the Gods Rd Colorado Springs, CO 80919 Phone: 719-535-6064 Phone: mailto:chr...@ed... <mailto:chr...@ed...> |
From: Brehm, R. P <rob...@of...> - 2004-10-04 23:06:52
|
Brad, Thanks, this provided me the exact functionality that I was looking for. I created a utility class that encapsulated the below methods: public final class HtmlUnitTestUtils { public static final Page getCurrentPage(WebClient wc) { return wc.getCurrentWindow().getEnclosedPage(); } public static final URL getCurrentURL(WebClient wc) { Page p = getCurrentPage(wc); return p.getWebResponse().getUrl(); } } Perhaps these can be incorporated into WebClient. Bob -----Original Message----- From: htm...@li... [mailto:htm...@li...]On Behalf Of Brad Clarke Sent: Monday, October 04, 2004 12:01 PM To: htm...@li... Subject: Re: [Htmlunit-user] Difficulties running JavaScript (Your God) It's a bit of a road to find it, but it's in there :) This is how my framework handles it: private WebClient getClient() { return this.client; } private Page getCurrentPage() { return getClient().getCurrentWindow().getEnclosedPage(); } public String getCurrentURL() { return getCurrentPage().getWebResponse().getUrl().toExternalForm(); } Brad C --- "Brehm, Robert P" <rob...@of...> wrote: > Brad C, > > Looking at the URL from the WebClient would probably work. I have looked thru the > JavaDocs and have not found a method yet that will give me the URL. Would Can you > please advise? Also, I am wondering if a listener for WebConnection events is in > the works for a future generation of HtmlUnit? > > Regards, > > Bob Brehm > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Brad C. <yo...@br...> - 2004-10-04 21:34:45
|
After reading the Cactus site I think I'm starting to understand where you're coming from. Since HtmlUnit's real power is in it's ability to work with the pages and use them to submit more responses I think a new WebConnection will probably be needed before long. Something like a CactusWebConnection that uses the Cactus WebResponse.getInputStream() to create an HtmlUnit StringWebResponse...plus a little glue for going to the right place to get the Cactus WebResponse in the first place (however that's done...the Catcus docs are a little too high-brow for me to grok in 5 minutes) Brad C --- "Brehm, Robert P" <rob...@of...> wrote: > > Brad, > > I wasn't thinking about implementing a mock servlet container - although by using > that might be possible to do this using Jetty. What I was thinking of is to see > if it is possible to manipulate the Cactus response object into an HtmlUnit > HtmlPage. Then it should be possible to manipulate the HtmlPage on the client > side. > > Bob > > -----Original Message----- > From: htm...@li... > [mailto:htm...@li...]On Behalf Of Brad > Clarke > Sent: Monday, October 04, 2004 12:08 PM > To: htm...@li... > Subject: Re: [Htmlunit-user] Running Htmlunit with Cactus - 2nd request > > > I'm not exactly sure how this would work. Are you talking about implementing a > servlet container, maybe as a WebConnection (much as MockWebConnection works)? > > Brad C > > --- "Brehm, Robert P" <rob...@of...> wrote: > > > > > All, > > > > I understand the differing philosophy between HtmlUnit and HttpUnit. Generally > > HtmlUnit in my opinion is much more robust and powerful than HttpUnit. The one > > thing that I don't have is the ability to map from a Cactus response to HtmlUnit > > as shown: > > > > public void endXXX(??? WebResponse theResponse); > > > > I might even take this one on as a patch. Any other ideas for doing server side > > testing with Cactus or other framework? > > > > Regards, > > Bob Brehm > > Software Engineer > > Xerox Corporation |
From: Brehm, R. P <rob...@of...> - 2004-10-04 20:55:51
|
Brad, I wasn't thinking about implementing a mock servlet container - although by using that might be possible to do this using Jetty. What I was thinking of is to see if it is possible to manipulate the Cactus response object into an HtmlUnit HtmlPage. Then it should be possible to manipulate the HtmlPage on the client side. Bob -----Original Message----- From: htm...@li... [mailto:htm...@li...]On Behalf Of Brad Clarke Sent: Monday, October 04, 2004 12:08 PM To: htm...@li... Subject: Re: [Htmlunit-user] Running Htmlunit with Cactus - 2nd request I'm not exactly sure how this would work. Are you talking about implementing a servlet container, maybe as a WebConnection (much as MockWebConnection works)? Brad C --- "Brehm, Robert P" <rob...@of...> wrote: > > All, > > I understand the differing philosophy between HtmlUnit and HttpUnit. Generally > HtmlUnit in my opinion is much more robust and powerful than HttpUnit. The one > thing that I don't have is the ability to map from a Cactus response to HtmlUnit > as shown: > > public void endXXX(??? WebResponse theResponse); > > I might even take this one on as a patch. Any other ideas for doing server side > testing with Cactus or other framework? > > Regards, > Bob Brehm > Software Engineer > Xerox Corporation ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Brad C. <yo...@br...> - 2004-10-04 19:08:51
|
I'm not exactly sure how this would work. Are you talking about implementing a servlet container, maybe as a WebConnection (much as MockWebConnection works)? Brad C --- "Brehm, Robert P" <rob...@of...> wrote: > > All, > > I understand the differing philosophy between HtmlUnit and HttpUnit. Generally > HtmlUnit in my opinion is much more robust and powerful than HttpUnit. The one > thing that I don't have is the ability to map from a Cactus response to HtmlUnit > as shown: > > public void endXXX(??? WebResponse theResponse); > > I might even take this one on as a patch. Any other ideas for doing server side > testing with Cactus or other framework? > > Regards, > Bob Brehm > Software Engineer > Xerox Corporation |
From: Brad C. <yo...@br...> - 2004-10-04 19:01:28
|
It's a bit of a road to find it, but it's in there :) This is how my framework handles it: private WebClient getClient() { return this.client; } private Page getCurrentPage() { return getClient().getCurrentWindow().getEnclosedPage(); } public String getCurrentURL() { return getCurrentPage().getWebResponse().getUrl().toExternalForm(); } Brad C --- "Brehm, Robert P" <rob...@of...> wrote: > Brad C, > > Looking at the URL from the WebClient would probably work. I have looked thru the > JavaDocs and have not found a method yet that will give me the URL. Would Can you > please advise? Also, I am wondering if a listener for WebConnection events is in > the works for a future generation of HtmlUnit? > > Regards, > > Bob Brehm > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |
From: Brehm, R. P <rob...@of...> - 2004-10-04 18:10:31
|
All, I understand the differing philosophy between HtmlUnit and HttpUnit. Generally HtmlUnit in my opinion is much more robust and powerful than HttpUnit. The one thing that I don't have is the ability to map from a Cactus response to HtmlUnit as shown: public void endXXX(??? WebResponse theResponse); I might even take this one on as a patch. Any other ideas for doing server side testing with Cactus or other framework? Regards, Bob Brehm Software Engineer Xerox Corporation |
From: Brehm, R. P <rob...@of...> - 2004-10-04 17:50:51
|
Brad C, Looking at the URL from the WebClient would probably work. I have looked thru the JavaDocs and have not found a method yet that will give me the URL. Would Can you please advise? Also, I am wondering if a listener for WebConnection events is in the works for a future generation of HtmlUnit? Regards, Bob Brehm |
From: Erskine, C. <chr...@ED...> - 2004-09-30 16:07:11
|
I know that there is some bug in this processing. When I submit a form with a target of '_top' in a frame using javascript, the page returned is not the top level page that you would expect. I am trying to chase this down some more to identify what page is being returned and who is causing the problem of the wrong page being returned. Chris Erskine EDS Consulting Services F5-EDS-001 2424 Garden of the Gods Rd Colorado Springs, CO 80919 Phone: 719-535-6064 Phone: mailto:chr...@ed... -----Original Message----- From: David D.Kilzer [mailto:ddk...@ki...] Sent: Thursday, September 30, 2004 9:53 AM To: htm...@li... Cc: Elise Lebeau Subject: Re: [Htmlunit-user] Problem refreshing frame content On Jun 25, 2004, at 5:16 PM, Elise Lebeau wrote: > A form is submitted and one of the app frames is updated with > information > using javascript. > The problem is that I always end up in blank.html inseatd of the > updated > info. Whenever a link is clicked or a form submitted (or a new page loaded via JavaScript), htmlunit will return a new Page object which contains the updated content. If you continuously refer to the "original" Page object, you will only see the original content loaded on that page. See below for comments on where new pages are being returned (that you're ignoring) in the code. I don't have much experience with using frames, but I'm pretty sure they're going to work the same way (except that you may only get updates to individual frames instead of the whole frameset document). > This is the test case: > WebClient webClient = new WebClient(); > URL url = new > URL("http://127.0.0.1:8080/cudl/cudlQA.html"); > > // Get the test frames page > HtmlPage main = (HtmlPage)webClient.getPage(url); > List mainFrameset = main.getFrames(); > HtmlFrame testFrame1 = (HtmlFrame)mainFrameset.get(1); > HtmlPage test = (HtmlPage)testFrame1.getEnclosedPage(); > HtmlFrame testFrame2 = (HtmlFrame)test.getFrames().get(0); > HtmlPage testExec = (HtmlPage)testFrame2.getEnclosedPage(); > > //setup some fields in the form > ((HtmlAnchor) testExec.getAnchors().get(0)).click(); New page is returned here (ignored). > //submit the form to update the display frame > ((HtmlAnchor) testExec.getAnchors().get(2)).click(); New page is returned here (ignored). > //make sure that the page has time to reload > Thread.sleep(1000 * 10); This is not necessary. Htmlunit will block until the page is fully loaded. > final HtmlFrame appFrame = > ((HtmlFrame)mainFrameset.get(0)); This is an old copy of the page (frameset) you're using here. > final HtmlPage app = (HtmlPage)appFrame.getEnclosedPage(); Still using an old copy of the page. > List modelFrame = app.getFrames(); Old copy. > final HtmlPage display = > (HtmlPage)((HtmlFrame)modelFrame.get(0)).getEnclosedPage(); Old copy. > System.out.println(display.getTitleText());the display > page is > blank.html. Old copy. :) Dave ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: David D.K. <ddk...@ki...> - 2004-09-30 15:53:55
|
On Jun 25, 2004, at 5:16 PM, Elise Lebeau wrote: > A form is submitted and one of the app frames is updated with > information > using javascript. > The problem is that I always end up in blank.html inseatd of the > updated > info. Whenever a link is clicked or a form submitted (or a new page loaded via JavaScript), htmlunit will return a new Page object which contains the updated content. If you continuously refer to the "original" Page object, you will only see the original content loaded on that page. See below for comments on where new pages are being returned (that you're ignoring) in the code. I don't have much experience with using frames, but I'm pretty sure they're going to work the same way (except that you may only get updates to individual frames instead of the whole frameset document). > This is the test case: > WebClient webClient = new WebClient(); > URL url = new > URL("http://127.0.0.1:8080/cudl/cudlQA.html"); > > // Get the test frames page > HtmlPage main = (HtmlPage)webClient.getPage(url); > List mainFrameset = main.getFrames(); > HtmlFrame testFrame1 = (HtmlFrame)mainFrameset.get(1); > HtmlPage test = (HtmlPage)testFrame1.getEnclosedPage(); > HtmlFrame testFrame2 = (HtmlFrame)test.getFrames().get(0); > HtmlPage testExec = (HtmlPage)testFrame2.getEnclosedPage(); > > //setup some fields in the form > ((HtmlAnchor) testExec.getAnchors().get(0)).click(); New page is returned here (ignored). > //submit the form to update the display frame > ((HtmlAnchor) testExec.getAnchors().get(2)).click(); New page is returned here (ignored). > //make sure that the page has time to reload > Thread.sleep(1000 * 10); This is not necessary. Htmlunit will block until the page is fully loaded. > final HtmlFrame appFrame = > ((HtmlFrame)mainFrameset.get(0)); This is an old copy of the page (frameset) you're using here. > final HtmlPage app = (HtmlPage)appFrame.getEnclosedPage(); Still using an old copy of the page. > List modelFrame = app.getFrames(); Old copy. > final HtmlPage display = > (HtmlPage)((HtmlFrame)modelFrame.get(0)).getEnclosedPage(); Old copy. > System.out.println(display.getTitleText());the display > page is > blank.html. Old copy. :) Dave |
From: Mike B. <mb...@Ga...> - 2004-09-29 21:58:03
|
Brad Clarke wrote: > I'm really more interested in what changed to make this warning start poping up now. > I'm not really doing anything different that before... As Chris said, this is default behaviour for commons-logging. You can explicitly set the logger back to SimpleLog (likely what you were using before you put log4j in the classpath) by setting a system property. The HtmlUnit tests themselves do this so that we can explicitly turn off some of the commons-httpclient log messages. The relevant line is System.getProperties().put( "org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); The HtmlUnit code that does this is in MainTestSuite btw. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Brad C. <yo...@br...> - 2004-09-29 21:54:08
|
log4j exists because I have pdfbox, which directly uses log4j so I must have it. Both of these things were there before the updates and only now do I see the warnings from httpclient. Maybe I just need to go complain in comp.java.centralized.logging.sucks or something :) Brad --- "Erskine, Chris" <chr...@ed...> wrote: > You said that you added log4j to your classpath. Commons-logging is calling > it since it is on the classpath. > > Chris Erskine > > EDS Consulting Services > F5-EDS-001 > 2424 Garden of the Gods Rd > Colorado Springs, CO 80919 > > Phone: 719-535-6064 > > Phone: > mailto:chr...@ed... > -----Original Message----- > From: Brad Clarke [mailto:yo...@br...] > Sent: Wednesday, September 29, 2004 2:41 PM > To: htm...@li... > Subject: RE: [Htmlunit-user] log4j > > I hate logging...if it's that important you should throw an exception! :) > > I'm using a packaged version of htmlunit for my project so this won't help > me. While > I can create the log4j.properties/xml I shouldn't need to. It just makes > htmlunit > look broken to me and I want to fix it. > > I'm really more interested in what changed to make this warning start poping > up now. > I'm not really doing anything different that before... > > Brad > > --- "Erskine, Chris" <chr...@ed...> wrote: > > > Commons_logging has a startup sequence which looks for the log4j package > on > > the classpath and uses it if found. If it is found, it looks for > (depending > > on the version) log4j.properties and/or log4j.xml to initialize the > > appenders. This initialization occurs for the first class to do some form > > of logging which in this case is HttpClient. What could be done is to > > create a log4j.properties file which could live in the src/test/java > > directory that would get copied to the output directory for the tests. > This > > would not be copied to the distribution directory and packaged with > > htmlunit. > > > > Chris Erskine > > > > EDS Consulting Services > > F5-EDS-001 > > 2424 Garden of the Gods Rd > > Colorado Springs, CO 80919 > > > > Phone: 719-535-6064 > > > > Phone: > > mailto:chr...@ed... > > -----Original Message----- > > From: Brad Clarke [mailto:yo...@br...] > > Sent: Wednesday, September 29, 2004 12:16 PM > > To: htm...@li... > > Subject: [Htmlunit-user] log4j > > > > I've been forced to add log4j to my testing classpath for something other > > than > > htmlunit and whenever I run my tests I get these from httpclient: > > > > log4j:WARN No appenders could be found for logger > > (org.apache.commons.httpclient.HttpClient). > > log4j:WARN Please initialize the log4j system properly. > > > > This didn't happen until I upgraded all the jars and used latest CVS. > Either > > I > > changed more than I thought when upgrading all the jars or something > changed > > in > > htmlunit. > > > > Any ideas? > > > > Brad C > > |
From: Erskine, C. <chr...@ed...> - 2004-09-29 21:08:03
|
You said that you added log4j to your classpath. Commons-logging is calling it since it is on the classpath. Chris Erskine EDS Consulting Services F5-EDS-001 2424 Garden of the Gods Rd Colorado Springs, CO 80919 Phone: 719-535-6064 Phone: mailto:chr...@ed... -----Original Message----- From: Brad Clarke [mailto:yo...@br...] Sent: Wednesday, September 29, 2004 2:41 PM To: htm...@li... Subject: RE: [Htmlunit-user] log4j I hate logging...if it's that important you should throw an exception! :) I'm using a packaged version of htmlunit for my project so this won't help me. While I can create the log4j.properties/xml I shouldn't need to. It just makes htmlunit look broken to me and I want to fix it. I'm really more interested in what changed to make this warning start poping up now. I'm not really doing anything different that before... Brad --- "Erskine, Chris" <chr...@ed...> wrote: > Commons_logging has a startup sequence which looks for the log4j package on > the classpath and uses it if found. If it is found, it looks for (depending > on the version) log4j.properties and/or log4j.xml to initialize the > appenders. This initialization occurs for the first class to do some form > of logging which in this case is HttpClient. What could be done is to > create a log4j.properties file which could live in the src/test/java > directory that would get copied to the output directory for the tests. This > would not be copied to the distribution directory and packaged with > htmlunit. > > Chris Erskine > > EDS Consulting Services > F5-EDS-001 > 2424 Garden of the Gods Rd > Colorado Springs, CO 80919 > > Phone: 719-535-6064 > > Phone: > mailto:chr...@ed... > -----Original Message----- > From: Brad Clarke [mailto:yo...@br...] > Sent: Wednesday, September 29, 2004 12:16 PM > To: htm...@li... > Subject: [Htmlunit-user] log4j > > I've been forced to add log4j to my testing classpath for something other > than > htmlunit and whenever I run my tests I get these from httpclient: > > log4j:WARN No appenders could be found for logger > (org.apache.commons.httpclient.HttpClient). > log4j:WARN Please initialize the log4j system properly. > > This didn't happen until I upgraded all the jars and used latest CVS. Either > I > changed more than I thought when upgrading all the jars or something changed > in > htmlunit. > > Any ideas? > > Brad C > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Brad C. <yo...@br...> - 2004-09-29 20:42:05
|
I hate logging...if it's that important you should throw an exception! :) I'm using a packaged version of htmlunit for my project so this won't help me. While I can create the log4j.properties/xml I shouldn't need to. It just makes htmlunit look broken to me and I want to fix it. I'm really more interested in what changed to make this warning start poping up now. I'm not really doing anything different that before... Brad --- "Erskine, Chris" <chr...@ed...> wrote: > Commons_logging has a startup sequence which looks for the log4j package on > the classpath and uses it if found. If it is found, it looks for (depending > on the version) log4j.properties and/or log4j.xml to initialize the > appenders. This initialization occurs for the first class to do some form > of logging which in this case is HttpClient. What could be done is to > create a log4j.properties file which could live in the src/test/java > directory that would get copied to the output directory for the tests. This > would not be copied to the distribution directory and packaged with > htmlunit. > > Chris Erskine > > EDS Consulting Services > F5-EDS-001 > 2424 Garden of the Gods Rd > Colorado Springs, CO 80919 > > Phone: 719-535-6064 > > Phone: > mailto:chr...@ed... > -----Original Message----- > From: Brad Clarke [mailto:yo...@br...] > Sent: Wednesday, September 29, 2004 12:16 PM > To: htm...@li... > Subject: [Htmlunit-user] log4j > > I've been forced to add log4j to my testing classpath for something other > than > htmlunit and whenever I run my tests I get these from httpclient: > > log4j:WARN No appenders could be found for logger > (org.apache.commons.httpclient.HttpClient). > log4j:WARN Please initialize the log4j system properly. > > This didn't happen until I upgraded all the jars and used latest CVS. Either > I > changed more than I thought when upgrading all the jars or something changed > in > htmlunit. > > Any ideas? > > Brad C > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |
From: Erskine, C. <chr...@ed...> - 2004-09-29 19:29:30
|
Commons_logging has a startup sequence which looks for the log4j package on the classpath and uses it if found. If it is found, it looks for (depending on the version) log4j.properties and/or log4j.xml to initialize the appenders. This initialization occurs for the first class to do some form of logging which in this case is HttpClient. What could be done is to create a log4j.properties file which could live in the src/test/java directory that would get copied to the output directory for the tests. This would not be copied to the distribution directory and packaged with htmlunit. Chris Erskine EDS Consulting Services F5-EDS-001 2424 Garden of the Gods Rd Colorado Springs, CO 80919 Phone: 719-535-6064 Phone: mailto:chr...@ed... -----Original Message----- From: Brad Clarke [mailto:yo...@br...] Sent: Wednesday, September 29, 2004 12:16 PM To: htm...@li... Subject: [Htmlunit-user] log4j I've been forced to add log4j to my testing classpath for something other than htmlunit and whenever I run my tests I get these from httpclient: log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.HttpClient). log4j:WARN Please initialize the log4j system properly. This didn't happen until I upgraded all the jars and used latest CVS. Either I changed more than I thought when upgrading all the jars or something changed in htmlunit. Any ideas? Brad C ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Brad C. <pr...@ya...> - 2004-09-29 18:40:02
|
I tried the change and it seems to at least speed up htmlunit's unit tests by a couple of seconds. Compiling all the javascript when most of the time it's only used once seems a little wasteful anyway, so I'm going to check it in. Chris: if this change doesn't fix the 64k barrier problem you're having please post a bug in the tracker. Brad C --- Andrey Subbotin <asu...@oi...> wrote: > The Rhino javascript interpreter HtmlUnit uses can run in two modes: > compilation (where javascript code is converted into java classes; this is > your case) and interpretation. If you have HtmlUnit source, you can go to > JavascriptEngine.getPageInfo() and add line > > newPageInfo.context_.setOptimizationLevel(-1); > > That will switch Rhino to interpretation mode and presumably solve your > problem. > > In fact I'd request HtmlUnit authors to either make it default mode, or at > least make it configurable from public API. The compilation mode caused VM > crashes for me (JDK 1.3.1.09 both Windows and Linux; our pages have large js > files of about 500KB per page; after a sequence of 3-5 pages VM throws > OutOfMemory exceptions in random places without actually taking significant > memory from OS); switching to interpretation code fixed that without > noticeable slowdown. The interpretation mode is more stable without any > obvious downside. > > Best regards > Andrey > > From: "Erskine, Chris" <chr...@ed...> > > I am getting the following Exception for a test that I am trying to > develop. > > It looks like the root cause is > > java.lang.RuntimeException: java.lang.ClassFormatError: > > org/mozilla/javascript/gen/c396 (Code of a method longer than 65535 bytes) > > This appears to be due to compiling the JavaScript arrays that are defined > > in on the page. Is there some way to get around this problem? Would it > be > > possible to fix HtmlUnit to break the source up into some smaller modules > to > > prevent this from happening. If it is thought that this would work, I can > > try to see if I can get it to work. > > .. > > > Enclosed exception: > > java.lang.RuntimeException: java.lang.ClassFormatError: > > org/mozilla/javascript/gen/c396 (Code of a method longer than 65535 bytes) > > at > > org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java:113) > > at org.mozilla.javascript.Context.compile(Context.java:2076) > > at org.mozilla.javascript.Context.compile(Context.java:2006) > > at org.mozilla.javascript.Context.compileReader(Context.java:899) > > at org.mozilla.javascript.Context.evaluateReader(Context.java:817) > > at org.mozilla.javascript.Context.evaluateString(Context.java:784) > > ... > > |
From: Brad C. <yo...@br...> - 2004-09-29 18:16:16
|
I've been forced to add log4j to my testing classpath for something other than htmlunit and whenever I run my tests I get these from httpclient: log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.HttpClient). log4j:WARN Please initialize the log4j system properly. This didn't happen until I upgraded all the jars and used latest CVS. Either I changed more than I thought when upgrading all the jars or something changed in htmlunit. Any ideas? Brad C |
From: Andrey S. <asu...@oi...> - 2004-09-29 06:01:16
|
The Rhino javascript interpreter HtmlUnit uses can run in two modes: compilation (where javascript code is converted into java classes; this is your case) and interpretation. If you have HtmlUnit source, you can go to JavascriptEngine.getPageInfo() and add line newPageInfo.context_.setOptimizationLevel(-1); That will switch Rhino to interpretation mode and presumably solve your problem. In fact I'd request HtmlUnit authors to either make it default mode, or at least make it configurable from public API. The compilation mode caused VM crashes for me (JDK 1.3.1.09 both Windows and Linux; our pages have large js files of about 500KB per page; after a sequence of 3-5 pages VM throws OutOfMemory exceptions in random places without actually taking significant memory from OS); switching to interpretation code fixed that without noticeable slowdown. The interpretation mode is more stable without any obvious downside. Best regards Andrey From: "Erskine, Chris" <chr...@ed...> > I am getting the following Exception for a test that I am trying to develop. > It looks like the root cause is > java.lang.RuntimeException: java.lang.ClassFormatError: > org/mozilla/javascript/gen/c396 (Code of a method longer than 65535 bytes) > This appears to be due to compiling the JavaScript arrays that are defined > in on the page. Is there some way to get around this problem? Would it be > possible to fix HtmlUnit to break the source up into some smaller modules to > prevent this from happening. If it is thought that this would work, I can > try to see if I can get it to work. ... > Enclosed exception: > java.lang.RuntimeException: java.lang.ClassFormatError: > org/mozilla/javascript/gen/c396 (Code of a method longer than 65535 bytes) > at > org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java:113) > at org.mozilla.javascript.Context.compile(Context.java:2076) > at org.mozilla.javascript.Context.compile(Context.java:2006) > at org.mozilla.javascript.Context.compileReader(Context.java:899) > at org.mozilla.javascript.Context.evaluateReader(Context.java:817) > at org.mozilla.javascript.Context.evaluateString(Context.java:784) .... |
From: Erskine, C. <chr...@ed...> - 2004-09-28 23:23:12
|
I am getting the following Exception for a test that I am trying to develop. It looks like the root cause is java.lang.RuntimeException: java.lang.ClassFormatError: org/mozilla/javascript/gen/c396 (Code of a method longer than 65535 bytes) This appears to be due to compiling the JavaScript arrays that are defined in on the page. Is there some way to get around this problem? Would it be possible to fix HtmlUnit to break the source up into some smaller modules to prevent this from happening. If it is thought that this would work, I can try to see if I can get it to work. ======= EXCEPTION START ======== Exception class=[org.mozilla.javascript.JavaScriptException] com.gargoylesoftware.htmlunit.ScriptException: com.gargoylesoftware.htmlunit.ObjectInstantiationException: Exception when calling constructor [public com.gargoylesoftware.htmlunit.html.HtmlFrame(com.gargoylesoftware.htmlunit.h tml.HtmlPage,java.util.Map)] at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript Engine.java:261) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html Page.java:699) at com.eds.gears.test.LoginTest.testHomePage(LoginTest.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu nner.java:392) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. java:276) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner .java:167) JavaScriptException value = com.gargoylesoftware.htmlunit.ObjectInstantiationException: Exception when calling constructor [public com.gargoylesoftware.htmlunit.html.HtmlFrame(com.gargoylesoftware.htmlunit.h tml.HtmlPage,java.util.Map)] at com.gargoylesoftware.htmlunit.html.DefaultElementFactory.createElement(Defau ltElementFactory.java:108) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElemen t(HTMLParser.java:316) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.emptyElement(Unknown Source) at com.gargoylesoftware.htmlunit.ScriptFilter.emptyElement(ScriptFilter.java:17 6) at org.cyberneko.html.filters.DefaultFilter.emptyElement(Unknown Source) at org.cyberneko.html.filters.NamespaceBinder.emptyElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.startElement(Unknown Source) at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(Unknown Source) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown Source) at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source) at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source) at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLP arser.java:279) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:217) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageC reator.java:110) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreat or.java:82) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:5 69) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:536) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:421) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:179) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:130) at com.gargoylesoftware.htmlunit.javascript.host.Form.jsFunction_submit(Form.ja va:205) at inv19.invoke() at org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:498) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:414) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1199) at org.mozilla.javascript.gen.c260.call(Embedded script:14) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1199) at org.mozilla.javascript.gen.c250.call(../../js/selectList.js:30) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1199) at org.mozilla.javascript.gen.c268.call(Wrapper definition for submitMasterProfile:1) at org.mozilla.javascript.optimizer.OptRuntime.callSimple(OptRuntime.java:275) at org.mozilla.javascript.gen.c270.call(submitMasterProfile:1) at org.mozilla.javascript.gen.c270.exec(submitMasterProfile) at org.mozilla.javascript.Context.evaluateReader(Context.java:820) at org.mozilla.javascript.Context.evaluateString(Context.java:784) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript Engine.java:256) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html Page.java:699) at com.eds.gears.test.LoginTest.testHomePage(LoginTest.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu nner.java:392) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. java:276) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner .java:167) Enclosed exception: ======= EXCEPTION START ======== Exception class=[java.lang.RuntimeException] com.gargoylesoftware.htmlunit.ScriptException: java.lang.ClassFormatError: org/mozilla/javascript/gen/c396 (Code of a method longer than 65535 bytes) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript Engine.java:264) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html Page.java:702) at com.gargoylesoftware.htmlunit.ScriptFilter.executeScript(ScriptFilter.java:2 74) at com.gargoylesoftware.htmlunit.ScriptFilter.endElement(ScriptFilter.java:233) at org.cyberneko.html.filters.DefaultFilter.endElement(Unknown Source) at org.cyberneko.html.filters.NamespaceBinder.endElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.callEndElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.endElement(Unknown Source) at org.cyberneko.html.HTMLScanner$SpecialScanner.scan(Unknown Source) at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source) at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source) at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLP arser.java:279) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:217) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageC reator.java:110) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreat or.java:82) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:5 69) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:536) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:454) at com.gargoylesoftware.htmlunit.html.HtmlFrame.<init>(HtmlFrame.java:87) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at com.gargoylesoftware.htmlunit.html.DefaultElementFactory.createElement(Defau ltElementFactory.java:96) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElemen t(HTMLParser.java:316) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.emptyElement(Unknown Source) at com.gargoylesoftware.htmlunit.ScriptFilter.emptyElement(ScriptFilter.java:17 6) at org.cyberneko.html.filters.DefaultFilter.emptyElement(Unknown Source) at org.cyberneko.html.filters.NamespaceBinder.emptyElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.startElement(Unknown Source) at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(Unknown Source) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown Source) at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source) at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source) at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLP arser.java:279) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:217) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageC reator.java:110) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreat or.java:82) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:5 69) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:536) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:421) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:179) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:130) at com.gargoylesoftware.htmlunit.javascript.host.Form.jsFunction_submit(Form.ja va:205) at inv19.invoke() at org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:498) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:414) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1199) at org.mozilla.javascript.gen.c260.call(Embedded script:14) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1199) at org.mozilla.javascript.gen.c250.call(../../js/selectList.js:30) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1199) at org.mozilla.javascript.gen.c268.call(Wrapper definition for submitMasterProfile:1) at org.mozilla.javascript.optimizer.OptRuntime.callSimple(OptRuntime.java:275) at org.mozilla.javascript.gen.c270.call(submitMasterProfile:1) at org.mozilla.javascript.gen.c270.exec(submitMasterProfile) at org.mozilla.javascript.Context.evaluateReader(Context.java:820) at org.mozilla.javascript.Context.evaluateString(Context.java:784) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript Engine.java:256) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html Page.java:699) at com.eds.gears.test.LoginTest.testHomePage(LoginTest.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu nner.java:392) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. java:276) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner .java:167) Enclosed exception: java.lang.RuntimeException: java.lang.ClassFormatError: org/mozilla/javascript/gen/c396 (Code of a method longer than 65535 bytes) at org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java:113) at org.mozilla.javascript.Context.compile(Context.java:2076) at org.mozilla.javascript.Context.compile(Context.java:2006) at org.mozilla.javascript.Context.compileReader(Context.java:899) at org.mozilla.javascript.Context.evaluateReader(Context.java:817) at org.mozilla.javascript.Context.evaluateString(Context.java:784) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript Engine.java:256) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html Page.java:702) at com.gargoylesoftware.htmlunit.ScriptFilter.executeScript(ScriptFilter.java:2 74) at com.gargoylesoftware.htmlunit.ScriptFilter.endElement(ScriptFilter.java:233) at org.cyberneko.html.filters.DefaultFilter.endElement(Unknown Source) at org.cyberneko.html.filters.NamespaceBinder.endElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.callEndElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.endElement(Unknown Source) at org.cyberneko.html.HTMLScanner$SpecialScanner.scan(Unknown Source) at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source) at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source) at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLP arser.java:279) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:217) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageC reator.java:110) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreat or.java:82) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:5 69) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:536) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:454) at com.gargoylesoftware.htmlunit.html.HtmlFrame.<init>(HtmlFrame.java:87) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at com.gargoylesoftware.htmlunit.html.DefaultElementFactory.createElement(Defau ltElementFactory.java:96) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElemen t(HTMLParser.java:316) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.emptyElement(Unknown Source) at com.gargoylesoftware.htmlunit.ScriptFilter.emptyElement(ScriptFilter.java:17 6) at org.cyberneko.html.filters.DefaultFilter.emptyElement(Unknown Source) at org.cyberneko.html.filters.NamespaceBinder.emptyElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.startElement(Unknown Source) at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(Unknown Source) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown Source) at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source) at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source) at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLP arser.java:279) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:217) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageC reator.java:110) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreat or.java:82) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:5 69) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:536) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:421) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:179) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:130) at com.gargoylesoftware.htmlunit.javascript.host.Form.jsFunction_submit(Form.ja va:205) at inv19.invoke() at org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:498) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:414) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1199) at org.mozilla.javascript.gen.c260.call(Embedded script:14) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1199) at org.mozilla.javascript.gen.c250.call(../../js/selectList.js:30) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1199) at org.mozilla.javascript.gen.c268.call(Wrapper definition for submitMasterProfile:1) at org.mozilla.javascript.optimizer.OptRuntime.callSimple(OptRuntime.java:275) at org.mozilla.javascript.gen.c270.call(submitMasterProfile:1) at org.mozilla.javascript.gen.c270.exec(submitMasterProfile) at org.mozilla.javascript.Context.evaluateReader(Context.java:820) at org.mozilla.javascript.Context.evaluateString(Context.java:784) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript Engine.java:256) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html Page.java:699) at com.eds.gears.test.LoginTest.testHomePage(LoginTest.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu nner.java:392) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. java:276) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner .java:167) == CALLING JAVASCRIPT == calLearnAswArray = [textMenuItem('calLearnAswSAFSM', 'Cal-Learn AFLP Site Selection For Maintenance (SAFS)', '../action/Jump?jumpField=SAFS', 'l', '', '', true, 'mainFrame', 2), textMenuItem('calLearnAswMAFSM', 'Cal-Learn AFLP Site Maintenance (MAFS)', '../action/Jump?jumpField=MAFS', 'l', '', '', true, 'mainFrame', 2), textMenuItem('calLearnAswSAFCM', 'Select Cal-Learn Workers For Maintenance (SAFC)', '../action/Jump?jumpField=SAFC', 'l', '', '', true, 'mainFrame', 2), textMenuItem('calLearnAswMAFCM', 'Cal-Learn AFLP Case Worker Maintenance (MAFC)', '../action/Jump?jumpField=MAFC', 'l', '', '', true, 'mainFrame', 2) ]; caseAdmGssDreArray = [textMenuItem('caseAdmGssDreMGRGM', 'Registration Maintenance (MGRG)', '../action/Jump?jumpField=MGRG', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmGssDreSICRM', 'Inquire Ineligible Participants By Region (SICR)', '../action/Jump?jumpField=SICR', 'l', '', '', true, 'mainFrame', 1) ]; caseAdmGssDraArray = [textMenuItem('caseAdmGssDraMALEM', 'Maintain Alerts (MALE)', '../action/Jump?jumpField=MALE', 'l', '', '', true, 'mainFrame', 1) ]; systemMainMppArray = [textMenuItem('systemMainMppMPIMM', 'Service Provider Invoice Match And Payment Review (MPIM)', '../action/Jump?jumpField=MPIM', 'l', '', '', true, 'mainFrame', 1), textMenuItem('systemMainMppMCIMM', 'Maintain Child Care Invoice Match (MCIM)', '../action/Jump?jumpField=MCIM', 'l', '', '', true, 'mainFrame', 1) ]; caseMainDpDpArray = [textMenuItem('caseMainDpDpMGRGM', 'Registration Maintenance (MGRG)', '../action/Jump?jumpField=MGRG', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpIPCAM', 'Participant Component Selection (IPCA)', '../action/Jump?jumpField=IPCA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpSTRPM', 'Transportation Expense Selection (STRP)', '../action/Jump?jumpField=STRP', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpSAEAM', 'Ancillary Expense Authorization Selection (SAEA)', '../action/Jump?jumpField=SAEA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpSCCGM', 'Select Child Care Global Authorization (SCCG)', '../action/Jump?jumpField=SCCG', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpICMSM', 'Compliance Selection (ICMS)', '../action/Jump?jumpField=ICMS', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpICASM', 'Case Information Inquiry (ICAS)', '../action/Jump?jumpField=ICAS', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpIPRCM', 'Person Record Inquiry (IPRC)', '../action/Jump?jumpField=IPRC', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpIGPSM', 'Participant Program Status Inquiry - Part1 (IGPS)', '../action/Jump?jumpField=IGPS', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpIGP2M', 'Participant Program Status Inquiry - Part2 (IGP2)', '../action/Jump?jumpField=IGP2', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpMWFHM', 'Maintain Case Welfare History (MWFH)', '../action/Jump?jumpField=MWFH', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainDpDpMCAPM', 'Maintain Case Phone And Address (MCAP)', '../action/Jump?jumpField=MCAP', 'l', '', '', true, 'mainFrame', 1) ]; calLearnLeftAlrtArray = [textMenuItem('calLearnMainAlrtM', 'Alerts', 'javascript:\\', 'n', 'calLearnMainAlrt', '', true, 'mainFrame', 1) ]; caseMainLeftTcArray = [textMenuItem('caseMainTcPctM', 'Prepare Case for Transfer', 'javascript:\\', 'n', 'caseMainTcPct', '', true, 'mainFrame', 1), textMenuItem('caseMainTcTcM', 'Transfer Case', 'javascript:\\', 'n', 'caseMainTcTc', '', true, 'mainFrame', 2) ]; caseAdmScIprArray = [textMenuItem('caseAdmScIprMCAPM', 'Maintain Case Phone And Address (MCAP)', '../action/Jump?jumpField=MCAP', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmScIprICASM', 'Case Information Inquiry (ICAS)', '../action/Jump?jumpField=ICAS', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmScIprIPRCM', 'Person Record Inquiry (IPRC)', '../action/Jump?jumpField=IPRC', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmScIprMGRGM', 'Registration Maintenance (MGRG)', '../action/Jump?jumpField=MGRG', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmScIprMPRSM', 'Participant Registration (MPRS)', '../action/Jump?jumpField=MPRS', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmScIprIAPPM', 'Appraisal Selection Inquiry (IAPP)', '../action/Jump?jumpField=IAPP', 'l', '', '', true, 'mainFrame', 2) ]; calLearnAnArray = [textMenuItem('calLearnAnMALEM', 'Maintain Alerts (MALE)', '../action/Jump?jumpField=MALE', 'l', '', '', true, 'mainFrame', 2), textMenuItem('calLearnAnMAFAM', 'Maintain Cal-Learn AFLP Alerts (MAFA)', '../action/Jump?jumpField=MAFA', 'l', '', '', true, 'mainFrame', 2), textMenuItem('calLearnAnSPNFM', 'Participant Notice File Selection (SPNF)', '../action/Jump?jumpField=SPNF', 'l', '', '', true, 'mainFrame', 2), textMenuItem('calLearnAnSNOAM', 'NOA Notice Selection (SNOA)', '../action/Jump?jumpField=SNOA', 'l', '', '', true, 'mainFrame', 2), textMenuItem('calLearnAnMNOFM', 'Maintain Notice Formats (MNOF)', '../action/Jump?jumpField=MNOF', 'l', '', '', true, 'mainFrame', 2), textMenuItem('calLearnAnMVDSM', 'Maintain Variable Data Screen (MVDS hyc test)', '../action/Jump?jumpField=MVDS', 'l', '', '', true, 'mainFrame', 2) ]; caseMainTransTorArray = [textMenuItem('caseMainTransTorSTRPM', 'Transportation Expense Selection (STRP)', '../action/Jump?jumpField=STRP', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainTransTorSOPRM', 'Select Overpayment Record (SOPR)', '../action/Jump?jumpField=SOPR', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainTransTorORACM', 'Overpayment/Repayment Accumulation (ORAC)', '../action/Jump?jumpField=ORAC', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainTransTorMNOFM', 'Maintain Notice Formats (MNOF)', '../action/Jump?jumpField=MNOF', 'l', '', '', true, 'mainFrame', 1) ]; tst_noticesArray = [textMenuItem('MBED', 'MBED', '../action/Jump?jumpField=MBED', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MNAP', 'MNAP', '../action/Jump?jumpField=MNAP', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MNOF', 'MNOF', '../action/Jump?jumpField=MNOF&nextMapping=MNOF', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MNOT', 'MNOT', '../action/Jump?jumpField=MNOT', 'l', '', '', true, 'mainFrame', 0), textMenuItem('PAFN', 'PAFN', '../action/Jump?jumpField=PAFN', 'l', '', '', true, 'mainFrame', 0), textMenuItem('PAPP', 'PAPP', '../action/Jump?jumpField=PAPP', 'l', '', '', true, 'mainFrame', 0), textMenuItem('PBAP', 'PBAP', '../action/Jump?jumpField=PBAP', 'l', '', '', true, 'mainFrame', 0), textMenuItem('SNOA', 'SNOA', '../action/Jump?jumpField=SNOA', 'l', '', '', true, 'mainFrame', 0), textMenuItem('SPNF', 'SPNF', '../action/Jump?jumpField=SPNF', 'l', '', '', true, 'mainFrame', 0) ]; tst_providersArray = [textMenuItem('IICI', 'IICI', '../action/Jump?jumpField=IICI&nextMapping=IICI', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MACC', 'MACC', '../action/Jump?jumpField=MACC', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MCSI', 'MCSI', '../action/Jump?jumpField=MCSI&nextMapping=MCSI', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MICI', 'MICI', '../action/Jump?jumpField=MICI&nextMapping=MICI', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MPIM', 'MPIM', '../action/Jump?jumpField=MPIM', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MPPI', 'MPPI', '../action/Jump?jumpField=MPPI&nextMapping=MPPI', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MPRI', 'MPRI', '../action/Jump?jumpField=MPRI', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MPSI', 'MPSI', '../action/Jump?jumpField=MPSI&nextMapping=MPSI', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MSPI', 'MSPI', '../action/Jump?jumpField=MSPI&nextMapping=MSPI', 'l', '', '', true, 'mainFrame', 0), textMenuItem('SASP', 'SASP', '../action/Jump?jumpField=SASP', 'l', '', '', true, 'mainFrame', 0) ]; caseAdmScSacsArray = [textMenuItem('caseAdmScSacsMPRSM', 'Participant Registration (MPRS)', '../action/Jump?jumpField=MPRS', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmScSacsICMSM', 'Compliance Selection (ICMS)', '../action/Jump?jumpField=ICMS', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmScSacsINCSM', 'Conciliation Selection (INCS)', '../action/Jump?jumpField=INCS', 'l', '', '', true, 'mainFrame', 1) ]; testArray = [textMenuItem('t1', 'Alerts', 'expandMenu("tst_alerts")', 's', 'tst_alerts', '', true, '', 0), textMenuItem('t2', 'Appraisal', 'expandMenu("tst_appraisal")', 's', 'tst_appraisal', '', true, '', 0), textMenuItem('t3', 'Assessment', 'expandMenu("tst_assessment")', 's', 'tst_assessment', '', true, '', 0), textMenuItem('t4', 'CalLearn', 'expandMenu("tst_calLearn")', 's', 'tst_calLearn', '', true, '', 0), textMenuItem('t5', 'CaseMaintenance', 'expandMenu("tst_casemaintance")', 's', 'tst_casemaintance', '', true, '', 0), textMenuItem('t6', 'Compliance', 'expandMenu("tst_compliance")', 's', 'tst_compliance', '', true, '', 0), textMenuItem('t7', 'Component', 'expandMenu("tst_component")', 's', 'tst_component', '', true, '', 0), textMenuItem('t8', 'Connect', 'expandMenu("tst_connect")', 's', 'tst_connect', '', true, '', 0), textMenuItem('t9', 'Employment', 'expandMenu("tst_employment")', 's', 'tst_employment', '', true, '', 0), textMenuItem('t11', 'Notices', 'expandMenu("tst_notices")', 's', 'tst_notices', '', true, '', 0), textMenuItem('t12', 'Providers', 'expandMenu("tst_providers")', 's', 'tst_providers', '', true, '', 0), textMenuItem('t13', 'SupportiveService', 'expandMenu("tst_supportiveService")', 's', 'tst_supportiveService', '', true, '', 0), textMenuItem('t14', 'SystemAdministration', 'expandMenu("tst_sysAdmin")', 's', 'tst_sysAdmin', '', true, '', 0), textMenuItem('t15', 'Timeclock', 'expandMenu("tst_timeclock")', 's', 'tst_timeclock', '', true, '', 0), textMenuItem('t16', 'Other', 'expandMenu("tst_other")', 's', 'tst_other', '', true, '', 0) ]; caseMainLeftShArray = [textMenuItem('caseMainShShM', 'State Hearings', 'javascript:\\', 'n', 'caseMainShSh', '', true, 'mainFrame', 1) ]; altPayPrvdAccAccpArray = [textMenuItem('altPayPrvdAccAccpMACCM', 'Maintain All Stage 1 Child Care Providers (MACC)', '../action/Jump?jumpField=MACC', 'l', '', '', true, 'mainFrame', 1) ]; altPayPrvdAccPeArray = [textMenuItem('altPayPrvdAccPeICACM', 'Case Children Inquiry (ICAC)', '../action/Jump?jumpField=ICAC', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdAccPeIPCAM', 'Participant Component Selection (IPCA)', '../action/Jump?jumpField=IPCA', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdAccPeIPRCM', 'Person Record Inquiry (IPRC)', '../action/Jump?jumpField=IPRC', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdAccPeICASM', 'Case Information Inquiry (ICAS)', '../action/Jump?jumpField=ICAS', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdAccPeMGRGM', 'Registration Maintenance (MGRG)', '../action/Jump?jumpField=MGRG', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdAccPeIEPLM', 'Participant Employment Selection (IEPL)', '../action/Jump?jumpField=IEPL', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdAccPeSTRPM', 'Transportation Expense Selection (STRP)', '../action/Jump?jumpField=STRP', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdAccPeICMSM', 'Compliance Selection (ICMS)', '../action/Jump?jumpField=ICMS', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdAccPeMCAPM', 'Maintain Case Phone And Address (MCAP)', '../action/Jump?jumpField=MCAP', 'l', '', '', true, 'mainFrame', 2) ]; caseMainLeftNCompArray = [textMenuItem('caseMainNcompMcM', 'Maintain Compliance', 'javascript:\\', 'n', 'caseMainNcompMc', '', true, 'mainFrame', 1), textMenuItem('caseMainNcompRlitM', 'Review LEADER Interface Transactions', 'javascript:\\', 'n', 'caseMainNcompRlit', '', true, 'mainFrame', 2) ]; caseMainAlrtGswraaArray = [textMenuItem('caseMainAlrtGswraaSCNAM', 'Select Child Care Non-Availability (SCNA)', '../action/Jump?jumpField=SCNA', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseMainAlrtGswraaMCNAM', 'Maintain Child Care Non-Availability (MCNA)', '../action/Jump?jumpField=MCNA', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseMainAlrtGswraaSCCCM', 'Select Child Care Change (SCCC)', '../action/Jump?jumpField=SCCC', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseMainAlrtGswraaMCCCM', 'Maintain Child Care Change (MCCC)', '../action/Jump?jumpField=MCCC', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseMainAlrtGswraaMVDSM', 'Maintain Variable Data Screen (MVDS)', '../action/Jump?jumpField=MVDS', 'l', '', '', true, 'mainFrame', 2) ]; altPayPrvdMs1ccArray = [textMenuItem('altPayPrvdMs1ccMAOCM', 'Maintain APP Stage 1 Child Care (MAOC)', '../action/Jump?jumpField=MAOC', 'l', '', '', true, 'mainFrame', 1), textMenuItem('altPayPrvdMs1ccMARPM', 'Maintain APP Record Payments (MARP)', '../action/Jump?jumpField=MARP', 'l', '', '', true, 'mainFrame', 1) ]; altPayPrvdAccIciArray = [textMenuItem('altPayPrvdAccIciMICIM', 'Maintain Intermediary Contractor Inventory (MICI)', '../action/Jump?jumpField=MICI', 'l', '', '', true, 'mainFrame', 1) ]; topLeftCmArray = [textMenuItem('caseMainLeftApM', 'Appraise Participants', 'paintScreen("caseMainLeftAp", "mainFrame")', 's', 'caseMainLeftAp', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftAaM', 'Assign Activity', 'paintScreen("caseMainLeftAa", "mainFrame")', 's', 'caseMainLeftAa', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftCcM', 'Child Care', 'paintScreen("caseMainLeftCc", "mainFrame")', 's', 'caseMainLeftCc', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftTransM', 'Transportation', 'paintScreen("caseMainLeftTrans", "mainFrame")', 's', 'caseMainLeftTrans', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftAncM', 'Ancillary', 'paintScreen("caseMainLeftAnc", "mainFrame")', 's', 'caseMainLeftAnc', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftTcM', 'Transfer Case', 'paintScreen("caseMainLeftTc", "mainFrame")', 's', 'caseMainLeftTc', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftDpM', 'Deregister Participants', 'paintScreen("caseMainLeftDp", "mainFrame")', 's', 'caseMainLeftDp', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftExemptM', 'Exemptions', 'paintScreen("caseMainLeftExempt", "mainFrame")', 's', 'caseMainLeftExempt', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftNCompM', 'Non-compliance', 'paintScreen("caseMainLeftNComp", "mainFrame")', 's', 'caseMainLeftNComp', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftMtlM', 'Maintain Time Limits', 'paintScreen("caseMainLeftMtl", "mainFrame")', 's', 'caseMainLeftMtl', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftNoteM', 'Notices', 'paintScreen("caseMainLeftNote", "mainFrame")', 's', 'caseMainLeftNote', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftAlrtM', 'Alerts', 'paintScreen("caseMainLeftAlrt", "mainFrame")', 's', 'caseMainLeftAlrt', '', true, 'mainFrame', 0), textMenuItem('caseMainLeftShM', 'State Hearings', 'paintScreen("caseMainLeftSh", "mainFrame")', 's', 'caseMainLeftSh', '', true, 'mainFrame', 0) ]; homeNoteArray = [textMenuItem('homeNoteSPNFM', 'Participant Notice File Selection (SPNF)', '../action/Jump?jumpField=SPNF', 'l', '', '', true, 'mainFrame', 2), textMenuItem('homeNoteMNOFM', 'Maintain Notice Formats (MNOF)', '../action/Jump?jumpField=MNOF', 'l', '', '', true, 'mainFrame', 2) ]; caseMainShShArray = [textMenuItem('caseMainShShIPCAM', 'Participant Component Selection (IPCA)', '../action/Jump?jumpField=IPCA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainShShIGFGM', 'GAIN Grievance/State Hearing Selection (IGFG)', '../action/Jump?jumpField=IGFG', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainShShMPRSM', 'Participant Registration (MPRS)', '../action/Jump?jumpField=MPRS', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainShShSPNFM', 'Participant Notice File Selection (SPNF)', '../action/Jump?jumpField=SPNF', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainShShSNOAM', 'NOA Notice Selection (SNOA)', '../action/Jump?jumpField=SNOA', 'l', '', '', true, 'mainFrame', 1) ]; caseAdmGssArray = [textMenuItem('caseAdmGssMALEM', 'Maintain Alerts (MALE)', '../action/Jump?jumpField=MALE', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssSTRPM', 'Transportation Expense Selection (STRP)', '../action/Jump?jumpField=STRP', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssSAEAM', 'Ancillary Expense Authorization Selection (SAEA)', '../action/Jump?jumpField=SAEA', 'l', '', '', true, 'mainFrame', 2) ]; homeEmpArray = [textMenuItem('homeEmpIEPLM', 'Participant Employment Selection (IEPL)', '../action/Jump?jumpField=IEPL', 'l', '', '', true, 'mainFrame', 2) ]; topLeftCaArray = [textMenuItem('caseAdmLeftUcM', 'Unit Clerk', 'paintScreen("caseAdmLeftUc", "mainFrame")', 's', 'caseAdmLeftUc', '', true, 'mainFrame', 0), textMenuItem('caseAdmLeftScM', 'Scheduling Clerk', 'paintScreen("caseAdmLeftSc", "mainFrame")', 's', 'caseAdmLeftSc', '', true, 'mainFrame', 0), textMenuItem('caseAdmLeftCashM', 'Cashier', 'paintScreen("caseAdmLeftCash", "mainFrame")', 's', 'caseAdmLeftCash', '', true, 'mainFrame', 0), textMenuItem('caseAdmLeftRaM', 'Regional Administrator', 'paintScreen("caseAdmLeftRa", "mainFrame")', 's', 'caseAdmLeftRa', '', true, 'mainFrame', 0), textMenuItem('caseAdmLeftGssM', 'GAIN Services Supervisor', 'paintScreen("caseAdmLeftGss", "mainFrame")', 's', 'caseAdmLeftGss', '', true, 'mainFrame', 0), textMenuItem('caseAdmLeftGcM', 'GAIN Coordinator', 'paintScreen("caseAdmLeftGc", "mainFrame")', 's', 'caseAdmLeftGc', '', true, 'mainFrame', 0) ]; tst_appraisalArray = [textMenuItem('IAPP', 'IAPP', '../action/Jump?jumpField=IAPP&nextMapping=IAPP_I', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MGA1', 'MGA1', '../action/Jump?jumpField=MGA1&nextMapping=MGA1_I', 'l', '', '', true, 'mainFrame', 0) ]; caseMainAppArray = [textMenuItem('caseMainAppIAPPM', 'Appraisal Selection Inquiry (IAPP)', '../action/Jump?jumpField=IAPP', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainAppMTLDM', 'Maintain Learning Disability (MTLD)', '../action/Jump?jumpField=MTLD', 'l', '', '', true, 'mainFrame', 2) ]; tst_connectArray = [textMenuItem('cnct6', 'Add Appointment', '../action/ConnectJump?jumpField=add appointment&nextMapping=C01030&expectedScreen=C01030', 'l', '', '', true, 'mainFrame', 0), textMenuItem('cnct7', 'Add Reminder', '../action/ConnectJump?jumpField=add reminder&nextMapping=C01280&expectedScreen=C01280', 'l', '', '', true, 'mainFrame', 0), textMenuItem('cnct10', 'All Entries', '../action/ConnectJump?jumpField=calendar&nextMapping=C0306010&expectedScree n=C0306010', 'l', '', '', true, 'mainFrame', 0), textMenuItem('cnct2', 'C03090 - Day', '../action/ConnectJump?jumpField=day&nextMapping=C03090&expectedScreen=C0309 0', 'l', '', '', true, 'mainFrame', 0), textMenuItem('cnct4', 'C03190 - Month', '../action/ConnectJump?jumpField=month&nextMapping=C03190&expectedScreen=C03 190', 'l', '', '', true, 'mainFrame', 0), textMenuItem('cnct3', 'C03350 - Week', '../action/ConnectJump?jumpField=week&nextMapping=C03350&expectedScreen=C033 50', 'l', '', '', true, 'mainFrame', 0), textMenuItem('cnct5', 'C03370 - Year', '../action/ConnectJump?jumpField=year&nextMapping=C03370&expectedScreen=C033 70', 'l', '', '', true, 'mainFrame', 0), textMenuItem('cnct1', 'C37000 - Menu', '../action/ConnectJump?jumpField=menu&nextMapping=C37000&expectedScreen=C370 00', 'l', '', '', true, 'mainFrame', 0), textMenuItem('cnct9', 'Display Appointments', '../action/ConnectJump?jumpField=appointment&nextMapping=C0306010&expectedSc reen=C0306010', 'l', '', '', true, 'mainFrame', 0), textMenuItem('cnct8', 'Display Reminders', '../action/ConnectJump?jumpField=reminder&nextMapping=C0306010&expectedScree n=C0306010', 'l', '', '', true, 'mainFrame', 0) ]; calLearnLeftNoteArray = [textMenuItem('calLearnNoteRnM', 'Notices', 'javascript:\\', 'n', 'calLearnNoteRn', '', true, 'mainFrame', 1) ]; caseAdmHycArray = [textMenuItem('caseAdmHycRELEM', 'HY test RELE', '../action/Jump?jumpField=RELE', 'l', '', '', true, 'mainFrame', 2) ]; caseAdmRaRcArray = [textMenuItem('caseAdmRaRcMGSWM', 'GAIN Services Worker Maintenance (MGSW)', '../action/Jump?jumpField=MGSW', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmRaRcMRCCM', 'Maintain Regional Caseload Caps (MRCC)', '../action/Jump?jumpField=MRCC', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmRaRcMUAPM', 'Maintain Unassigned Appraisal Pool (MUAP)', '../action/Jump?jumpField=MUAP', 'l', '', '', true, 'mainFrame', 1) ]; caseMainTransArray = [textMenuItem('caseMainTransSTRPM', 'Transportation Expense Selection (STRP)', '../action/Jump?jumpField=STRP', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainTransIPCAM', 'Participant Component Selection (IPCA)', '../action/Jump?jumpField=IPCA', 'l', '', '', true, 'mainFrame', 1) ]; altPayPrvdAlrtGaArray = [textMenuItem('altPayPrvdAlrtGaSCNAM', 'Select Child Care Non-Availability (SCNA)', '../action/Jump?jumpField=SCNA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('altPayPrvdAlrtGaMCNAM', 'Maintain Child Care Non-Availability (MCNA)', '../action/Jump?jumpField=MCNA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('altPayPrvdAlrtGaSCCCM', 'Select Child Care Change (SCCC)', '../action/Jump?jumpField=SCCC', 'l', '', '', true, 'mainFrame', 1), textMenuItem('altPayPrvdAlrtGaMCCCM', 'Maintain Child Care Change (MCCC)', '../action/Jump?jumpField=MCCC', 'l', '', '', true, 'mainFrame', 1), textMenuItem('altPayPrvdAlrtGaIAPAM', 'Initiate APP Alerts (IAPA)', '../action/Jump?jumpField=IAPA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('altPayPrvdAlrtGaMVDSM', 'Maintain Variable Data Screen (MVDS)', '../action/Jump?jumpField=MVDS', 'l', '', '', true, 'mainFrame', 1) ]; caseAdmCashCssoArray = [textMenuItem('caseAdmCashCssoSOPRM', 'Select Overpayment Record (SOPR)', '../action/Jump?jumpField=SOPR', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmCashCssoORACM', 'Overpayment/Repayment Accumulation (ORAC)', '../action/Jump?jumpField=ORAC', 'l', '', '', true, 'mainFrame', 1) ]; altPayPrvdAccMs2ccArray = [textMenuItem('altPayPrvdAccMs2ccMSTCM', 'Maintain Child Care Stage 2 (MSTC)', '../action/Jump?jumpField=MSTC', 'l', '', '', true, 'mainFrame', 1) ]; altPayPrvdJciArray = [textMenuItem('altPayPrvdJciMICIM', 'JRMaintain Intermediary Contractor Inventory (MICI)', '../action/Jump?jumpField=MICI', 'l', '', '', true, 'mainFrame', 1) ]; caseMainLeftAlrtArray = [textMenuItem('caseMainAlrtGswM', 'GAIN Services Worker', 'javascript:\\', 'n', 'caseMainAlrtGsw', '', true, 'mainFrame', 1), textMenuItem('caseMainAlrtGswgaaM', 'GAIN Services Worker - Generate Alerts to APP', 'javascript:\\', 'n', 'caseMainAlrtGswgaa', '', true, 'mainFrame', 1), textMenuItem('caseMainAlrtAppM', 'Alternate Payment Provider', 'javascript:\\', 'n', 'caseMainAlrtApp', '', true, 'mainFrame', 1), textMenuItem('caseMainAlrtGswraaM', 'GAIN Services Worker - Review Alerts from APP', 'javascript:\\', 'n', 'caseMainAlrtGswraa', '', true, 'mainFrame', 2), textMenuItem('caseMainAlrtAflpM', 'Adolescent Family Life Program', 'javascript:\\', 'n', 'caseMainAlrtAflp', '', true, 'mainFrame', 2) ]; altPayPrvdPeArray = [textMenuItem('altPayPrvdPeICACM', 'Case Children Inquiry (ICAC)', '../action/Jump?jumpField=ICAC', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdPeIPCAM', 'Participant Component Selection (IPCA)', '../action/Jump?jumpField=IPCA', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdPeIPRCM', 'Person Record Inquiry (IPRC)', '../action/Jump?jumpField=IPRC', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdPeICASM', 'Case Information Inquiry (ICAS)', '../action/Jump?jumpField=ICAS', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdPeMGRGM', 'Registration Maintenance (MGRG)', '../action/Jump?jumpField=MGRG', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdPeIEPLM', 'Participant Employment Selection (IEPL)', '../action/Jump?jumpField=IEPL', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdPeSTRPM', 'Transportation Expense Selection (STRP)', '../action/Jump?jumpField=STRP', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdPeICMSM', 'Compliance Selection (ICMS)', '../action/Jump?jumpField=ICMS', 'l', '', '', true, 'mainFrame', 2), textMenuItem('altPayPrvdPeMCAPM', 'Maintain Case Phone And Address (MCAP)', '../action/Jump?jumpField=MCAP', 'l', '', '', true, 'mainFrame', 2) ]; caseAdmGssRaaArray = [textMenuItem('caseAdmGssRaaSTRPM', 'Transportation Expense Selection (STRP)', '../action/Jump?jumpField=STRP', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmGssRaaSAEAM', 'Ancillary Expense Authorization Selection (SAEA)', '../action/Jump?jumpField=SAEA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmGssRaaMAOCM', 'Maintain APP Stage 1 Child Care (MAOC)', '../action/Jump?jumpField=MAOC', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmGssRaaMSTCM', 'Maintain Child Care Stage 2 (MSTC)', '../action/Jump?jumpField=MSTC', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmGssRaaSCCGM', 'Select Child Care Global Authorization (SCCG)', '../action/Jump?jumpField=SCCG', 'l', '', '', true, 'mainFrame', 1) ]; caseAdmCashArray = [textMenuItem('caseAdmCashSTRPM', 'Transportation Expense Selection (STRP)', '../action/Jump?jumpField=STRP', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmCashSAEAM', 'Ancillary Expense Authorization Selection (SAEA)', '../action/Jump?jumpField=SAEA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmCashSOPRM', 'Select Overpayment Record (SOPR)', '../action/Jump?jumpField=SOPR', 'l', '', '', true, 'mainFrame', 1) ]; caseMainAaAaaArray = [textMenuItem('caseMainAaAaaIASIM', 'Assessment Selection Inquiry (IASI)', '../action/Jump?jumpField=IASI', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseMainAaAaaMGARM', 'Assessment Referral Maintenance (MGAR)', '../action/Jump?jumpField=MGAR', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseMainAaAaaMNOFM', 'Maintain Notice Formats (MNOF)', '../action/Jump?jumpField=MNOF', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseMainAaAaaMGASM', 'Assessment Maintenance (MGAS)', '../action/Jump?jumpField=MGAS', 'l', '', '', true, 'mainFrame', 2) ]; caseAdmLeftCashArray = [textMenuItem('caseAdmCashIsspM', 'Issue Supportive Services Payments', 'javascript:\\', 'n', 'caseAdmCashIssp', '', true, 'mainFrame', 1), textMenuItem('caseAdmCashCssoM', 'Collect Supportive Services Overpayments', 'javascript:\\', 'n', 'caseAdmCashCsso', '', true, 'mainFrame', 1), textMenuItem('caseAdmCashIprM', 'Inquire Participant Record', 'javascript:\\', 'n', 'caseAdmCashIpr', '', true, 'mainFrame', 2) ]; caseMainLeftDpArray = [textMenuItem('caseMainDpDpM', 'Deregister Participants', 'javascript:\\', 'n', 'caseMainDpDp', '', true, 'mainFrame', 1) ]; tst_componentArray = [textMenuItem('IJST', 'IJST', '../action/Jump?jumpField=IJST&nextMapping=IJST', 'l', '', '', true, 'mainFrame', 0), textMenuItem('IPCA', 'IPCA', '../action/Jump?jumpField=IPCA&nextMapping=IPCA', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MCAT', 'MCAT', '../action/Jump?jumpField=MCAT&nextMapping=MCAT', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MCSC', 'MCSC', '../action/Jump?jumpField=MCSC&nextMapping=MCSC', 'l', '', '', true, 'mainFrame', 0), textMenuItem('SPNM', 'SPNM', '../action/Jump?jumpField=SPNM', 'l', '', '', true, 'mainFrame', 0), textMenuItem('SSTP', 'SSTP', '../action/Jump?jumpField=SSTP', 'l', '', '', true, 'mainFrame', 0) ]; homeCompArray = [textMenuItem('homeCompICMSM', 'Compliance Selection (ICMS)', '../action/Jump?jumpField=ICMS', 'l', '', '', true, 'mainFrame', 1) ]; caseAdmRaDreArray = [textMenuItem('caseAdmRaDreMGRGM', 'Registration Maintenance (MGRG)', '../action/Jump?jumpField=MGRG', 'l', '', '', true, 'mainFrame', 1) ]; topSmArray = [textMenuItem('systemMainMtlM', 'Maintenance Tools', 'javascript:\\', 'n', 'systemMainMtl', '', true, 'mainFrame', 1), textMenuItem('systemMainMppM', 'Maintain Payment to Providers', 'javascript:\\', 'n', 'systemMainMpp', '', true, 'mainFrame', 1), textMenuItem('systemMainMnM', 'Maintain Notices', 'javascript:\\', 'n', 'systemMainMn', '', true, 'mainFrame', 1), textMenuItem('systemMainMrM', 'Maintain Reports', 'javascript:\\', 'n', 'systemMainMr', '', true, 'mainFrame', 1), textMenuItem('systemMainMcM', 'Maintain Contractors', 'javascript:\\', 'n', 'systemMainMc', '', true, 'mainFrame', 2), textMenuItem('systemMainMccrM', 'Maintain Child Care Rates', 'javascript:\\', 'n', 'systemMainMccr', '', true, 'mainFrame', 2) ]; caseAdmScSaArray = [textMenuItem('caseAdmScSaMPTRM', 'Participant/GSW File Transfer (MPTR)', '../action/Jump?jumpField=MPTR', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmScSaMCTRM', 'Multiple Participant/GSW File Transfer (MCTR)', '../action/Jump?jumpField=MCTR', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmScSaMUAPM', 'Maintain Unassigned Appraisal Pool (MUAP)', '../action/Jump?jumpField=MUAP', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmScSaMNOFM', 'Maintain Notice Formats (MNOF)', '../action/Jump?jumpField=MNOF', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseAdmScSaSPNFM', 'Participant Notice File Selection (SPNF)', '../action/Jump?jumpField=SPNF', 'l', '', '', true, 'mainFrame', 1) ]; caseMainExemptRlitArray = [textMenuItem('caseMainExemptRlitSLITM', 'LEADER Txn Selection (SLIT)', '../action/Jump?jumpField=SLIT', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseMainExemptRlitMLCMM', 'Maintain Case Comment To LEADER (MLCM)', '../action/Jump?jumpField=MLCM', 'l', '', '', true, 'mainFrame', 2) ]; altPayPrvdAlrtRaArray = [textMenuItem('altPayPrvdAlrtRaMASOM', 'Maintain Stage 1 Alerts (MASO)', '../action/Jump?jumpField=MASO', 'l', '', '', true, 'mainFrame', 1), textMenuItem('altPayPrvdAlrtRaMASTM', 'Maintain Stage 2 Alerts (MAST)', '../action/Jump?jumpField=MAST', 'l', '', '', true, 'mainFrame', 1), textMenuItem('altPayPrvdAlrtRaSCCRM', 'Select Child Care Request (SCCR)', '../action/Jump?jumpField=SCCR', 'l', '', '', true, 'mainFrame', 1), textMenuItem('altPayPrvdAlrtRaMCCRM', 'Maintain Child Care Requests (MCCR)', '../action/Jump?jumpField=MCCR', 'l', '', '', true, 'mainFrame', 1) ]; tst_calLearnArray = [textMenuItem('CLNC', 'CLNC', '../action/Jump?jumpField=CLNC&nextMapping=CLNC', 'l', '', '', true, 'mainFrame', 0), textMenuItem('ICLE', 'ICLE', '../action/Jump?jumpField=ICLE', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MAFC', 'MAFC', '../action/Jump?jumpField=MAFC', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MAFS', 'MAFS', '../action/Jump?jumpField=MAFS', 'l', '', '', true, 'mainFrame', 0), textMenuItem('MCLS', 'MCLS', '../action/Jump?jumpField=MCLS', 'l', '', '', true, 'mainFrame', 0), textMenuItem('SAFC', 'SAFC', '../action/Jump?jumpField=SAFC', 'l', '', '', true, 'mainFrame', 0), textMenuItem('SAFS', 'SAFS', '../action/Jump?jumpField=SAFS', 'l', '', '', true, 'mainFrame', 0) ]; caseAdmLeftUcArray = [textMenuItem('caseAdmUcTcM', 'Transfer Case', 'javascript:\\', 'n', 'caseAdmUcTc', '', true, 'mainFrame', 1), textMenuItem('caseAdmUcRnspM', 'Review Notices Sent to Participant', 'javascript:\\', 'n', 'caseAdmUcRnsp', '', true, 'mainFrame', 1), textMenuItem('caseAdmUcIprM', 'Inquire Participant Record', 'javascript:\\', 'n', 'caseAdmUcIpr', '', true, 'mainFrame', 2) ]; caseAdmLeftGssArray = [textMenuItem('caseAdmGssDraM', 'Delete/Review Alerts', 'javascript:\\', 'n', 'caseAdmGssDra', '', true, 'mainFrame', 1), textMenuItem('caseAdmGssRaaM', 'Review/Approve Authorizations', 'javascript:\\', 'n', 'caseAdmGssRaa', '', true, 'mainFrame', 1), textMenuItem('caseAdmGssDreM', 'Deregister/Review Exemptions', 'javascript:\\', 'n', 'caseAdmGssDre', '', true, 'mainFrame', 1), textMenuItem('caseAdmGssGswcM', 'GAIN Services Worker Caseload', 'javascript:\\', 'n', 'caseAdmGssGswc', '', true, 'mainFrame', 1), textMenuItem('caseAdmGssPartM', 'Participant', 'javascript:\\', 'n', 'caseAdmGssPart', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssNcompM', 'Non-compliance', 'javascript:\\', 'n', 'caseAdmGssNcomp', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssRtcM', 'Register/Transfer Cases', 'javascript:\\', 'n', 'caseAdmGssRtc', '', true, 'mainFrame', 2) ]; caseMainTransTiArray = [textMenuItem('caseMainTransTiIPCAM', 'Participant Component Selection (IPCA)', '../action/Jump?jumpField=IPCA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainTransTiSTRPM', 'Transportation Expense Selection (STRP)', '../action/Jump?jumpField=STRP', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainTransTiIRWIM', 'Replaced Warrant Information Inquiry (IRWI)', '../action/Jump?jumpField=IRWI', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainTransTiCATTM', 'Calculate Travel Time (CATT)', '../action/Jump?jumpField=CATT', 'l', '', '', true, 'mainFrame', 1) ]; caseMainAncAiArray = [textMenuItem('caseMainAncAiIPCAM', 'Participant Component Selection (IPCA)', '../action/Jump?jumpField=IPCA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainAncAiSAEAM', 'Ancillary Expense Authorization Selection (SAEA)', '../action/Jump?jumpField=SAEA', 'l', '', '', true, 'mainFrame', 1), textMenuItem('caseMainAncAiIRWIM', 'Replaced Warrant Information Inquiry (IRWI)', '../action/Jump?jumpField=IRWI', 'l', '', '', true, 'mainFrame', 1) ]; caseAdmGssPartArray = [textMenuItem('caseAdmGssPartIPCAM', 'Participant Component Selection (IPCA)', '../action/Jump?jumpField=IPCA', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssPartIAPPM', 'Appraisal Selection Inquiry (IAPP)', '../action/Jump?jumpField=IAPP', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssPartICASM', 'Case Information Inquiry (ICAS)', '../action/Jump?jumpField=ICAS', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssPartIPRCM', 'Person Record Inquiry (IPRC)', '../action/Jump?jumpField=IPRC', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssPartMPTLM', 'Maintain Participant Time Limits (MPTL)', '../action/Jump?jumpField=MPTL', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssPartMPTCM', 'Maintain Participant Time Count (MPTC)', '../action/Jump?jumpField=MPTC', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssPartIEPLM', 'Participant Employment Selection (IEPL)', '../action/Jump?jumpField=IEPL', 'l', '', '', true, 'mainFrame', 2), textMenuItem('caseAdmGssPartIGFGM', 'GAIN Grievance/State Hearing Selection (IGFG)', '../action/Jump?jumpField=IGFG', 'l', '', '', true, 'mainFrame', 2) ]; homeTopArray = [textMenuItem('homeSsM', 'Supportive Services', 'expandMenu("homeSs")', 's', 'homeSs', '', true, 'mainFrame', 2), textMenuItem('homeEmpM', 'Employment', 'expandMenu("homeEmp")', 's', 'homeEmp', '', true, 'mainFrame', 2), textMenuItem('homePartM', 'Participant', 'expandMenu("homePart")', 's', 'homePart', '', true, 'mainFrame', 1), textMenuItem('homeSeaM', 'Search', 'expandMenu("homeSea")', 's', 'homeSea', '', true, 'mainFrame', 1), textMenuItem('homeAppM', 'Appraisal', 'expandMenu("homeApp")', 's', 'homeApp', '', true, 'mainFrame', 1), textMenuItem('homeCompM', 'Compliance', 'expandMenu("homeComp")', 's', 'homeComp', '', true, 'mainFrame', 1), textMenuItem('homeEligM', 'Eligibility', 'expandMenu("homeElig")', 's', 'homeElig', '', true, 'mainFrame', 2), textMenuItem('homeNoteM', 'Notices', 'expandMenu("homeNote")', 's', 'homeNote', '', true, 'mainFrame', 2) ]; caseMainCcAs1ccArray... [truncated message content] |
From: Your G. <yo...@br...> - 2004-09-28 19:44:58
|
If you don't want it actually sent you could use a MockWebConnection to catch it, or you could ask the WebClient for the current url after the request is sent, but that might be after some redirection has occured. Brad --- "Brehm, Robert P" <rob...@of...> wrote: > Brad, > > I tried my test on Version 1.3-pre2, and found that my test passed! Now I have > another question. I would like to capture the HTTP GET sent in response to my > ButtonInput.click() method. Is there any way to create a listener running perhaps > in another thread so that I may capture this HTTP GET? > > Regards, > > Bob Brehm > Software Engineer > Xerox Corporation > |
From: Brehm, R. P <rob...@of...> - 2004-09-28 18:23:04
|
Brad, I tried my test on Version 1.3-pre2, and found that my test passed! Now I have another question. I would like to capture the HTTP GET sent in response to my ButtonInput.click() method. Is there any way to create a listener running perhaps in another thread so that I may capture this HTTP GET? Regards, Bob Brehm Software Engineer Xerox Corporation |
From: Brehm, R. P <rob...@of...> - 2004-09-28 18:08:45
|
All, I am writing Servlets and JSP which require that I create data structures on the server side so that HTML is emmitted based on server side data. I need to capture the HTML then manipulate it so that HTTP GETs can be examined based on Input Button clicks which cause onclick events to be handled by JavaScript. Ultimately the Javascript uses location.href which creates HTTP GET along with request parameters. Is the ability to run Htmlunit on the server side envisioned in the future? Regards, Bob Brehm Software Engineer Xerox Corporation |
From: Your G. <yo...@br...> - 2004-09-28 18:08:37
|
You'll have to get the frame first with HtmlPage.getFrames(), then get the form from the proper frame (the frame is both an HtmlElement and a WebWindow) Brad C --- "Erskine, Chris" <chr...@ed...> wrote: > I have a site that was developed using frames. From the testing I have > seen, the only page available is the top page. Is there a way to get to the > form that is in on of the frames? From the javascript side, this frame > should really be a window object which would then have it's own document > inside it. > > Chris Erskine > > EDS Consulting Services > F5-EDS-001 > 2424 Garden of the Gods Rd > Colorado Springs, CO 80919 > > Phone: 719-535-6064 > > Phone: > mailto:chr...@ed... <mailto:chr...@ed...> > > |
From: Erskine, C. <chr...@ed...> - 2004-09-28 17:36:11
|
I have a site that was developed using frames. From the testing I have seen, the only page available is the top page. Is there a way to get to the form that is in on of the frames? From the javascript side, this frame should really be a window object which would then have it's own document inside it. Chris Erskine EDS Consulting Services F5-EDS-001 2424 Garden of the Gods Rd Colorado Springs, CO 80919 Phone: 719-535-6064 Phone: mailto:chr...@ed... <mailto:chr...@ed...> |
From: Your G. <yo...@br...> - 2004-09-27 22:48:16
|
Since it'll be Wed before I get a chance to look at this could you please try with the new 1.3-pre2 first? Brad --- "Brehm, Robert P" <rob...@of...> wrote: > > Brad C, > > Here is the failing JUnit test. By the way I am running version 1.2.3. > > Best Regards, > > Bob Brehm > Software Engineer > Xerox Corp. > > > /* > * Created on Sep 17, 2004 > * > */ > package junit; > > import junit.framework.TestCase; > import com.gargoylesoftware.htmlunit.*; > import com.gargoylesoftware.htmlunit.html.*; > import java.net.URL; > import java.util.*; > > > /** > * @author rbrehm > * > */ > public class LoginJSPHTMLTestJavaScript extends TestCase { > > public void testLoginPageJavaScript() throws Exception { > String LoginFormURL = "http://localhost:8080/Logistics_JSP/"; > WebClient webClient = new WebClient(BrowserVersion.INTERNET_EXPLORER_6_0); > webClient.setJavaScriptEnabled(true); > webClient.setThrowExceptionOnFailingStatusCode(true); > webClient.setRedirectEnabled(true); > URL url = new URL(LoginFormURL); > HtmlPage page = (HtmlPage)webClient.getPage(url); > ArrayList arr = (ArrayList) page.getAllForms(); > HtmlForm form = (HtmlForm) arr.get(0); > assertEquals("loginForm",form.getNameAttribute()); > // assertEquals( "Login Page", page.getTitleText()); > HtmlButtonInput buttonInput= (HtmlButtonInput) > form.getInputByName("loginSubmit"); > assertNotNull(buttonInput); > form.getInputByName("userName").setValueAttribute("rbrehm"); > form.getInputByName("userPassword").setValueAttribute("<password>"); > HtmlPage page2 = (HtmlPage) buttonInput.click(); > form = page2.getFormByName("headerForm"); > assertEquals("headerForm",form.getNameAttribute()); > buttonInput= (HtmlButtonInput) form.getInputByName("Logout"); > HtmlPage page3 = (HtmlPage) buttonInput.click(); > ArrayList arr3 = (ArrayList) page3.getAllForms(); > form = (HtmlForm) arr3.get(0); > assertEquals("loginForm",form.getNameAttribute()); > }//method > > }//class > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |