From fcohen at pushtotest.com Thu Nov 1 17:17:07 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Nov 1 17:37:21 2007 Subject: [ptt-users] TestMaker 5.1 progress update Message-ID: <238A1639-D0FA-4E89-878A-E68231036293@pushtotest.com> Dear TestMaker Users: We are tracking the following issues for TestMaker 5.1 at http:// bugs.pushtotest.com/report/1. Here is where we are at for Thursday November 1, 2007: Ticket 180, closed, this looks good! Ticket 184 closed. Ticket 185 closed. Ticket 168 - closed. Ticket 182, read the comments. It appears to be partially functional. Ticket 162, Frank is working on this and almost done. Just need to check it in to cvs. Ticket 130, seems to work fine for the Windows installer, but the Mac installer still uses the JAR file. Ticket 149, started by Luis Carlos but needs changes to the J Editor. See my email and comments in the ticket. Ticket 179 - Frank started incorporating edits today. No work started yet: Ticket 138, 127, 137 are all linked to classpath issues. The lib file clean-up should also bring the classpath below 2048 characters - it is currently at 5098 characters. Ticket 141 - not started Ticket 171 - not started Ticket 178 - Luis Carlos, what is the status? Ticket 128 - I will do this one as I have time. Ticket 123 - not started. Ticket 163 - not started. Ticket 165 - not started. Any volunteers? -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation From fcohen at pushtotest.com Sat Nov 3 22:49:04 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Sat Nov 3 23:09:54 2007 Subject: [ptt-users] (no subject) Message-ID: Dear TestMaker Users: I committed changes to TestMaker 5 in cvs.pushtotest.com to solve tickets 130 (Download Zip, no Jar) and 162 (TestGen4Web installs on Firefox 2.0.0.7 and above.) We will likely have a TestMaker 5.1 release candidate ready for download in the next 3-4 days. I will post a message here when the new software is ready. Thanks. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation From akarihaloo at sapient.com Mon Nov 5 23:29:42 2007 From: akarihaloo at sapient.com (Arti Karihaloo) Date: Mon Nov 5 23:51:06 2007 Subject: [ptt-users] TestMaker - unable to figure how to use the application Message-ID: Hi, I have downloaded the TestMaker from PushtoTest.com site. I installed the application but I do not see and link to the wizard place in the 'All Programs' listing in the start menu. Also I am unable to get the version of the screencast or tutorial that will tell me how can I get started with the recording wizard. To give a brief background - I am a QA person who is responsible to doing the functional automation and then running the performance test on an OrderManagement site. Please let me know if this tool will be apt for the same. Regards, Arti -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20071106/f09c614a/attachment.htm From fcohen at pushtotest.com Tue Nov 6 06:37:30 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Nov 6 06:58:54 2007 Subject: [ptt-users] TestMaker - unable to figure how to use the application In-Reply-To: References: Message-ID: <4AA7AE7A-11A6-49D5-843D-A316878D777C@pushtotest.com> Dear Arti: Thanks for downloading TestMaker. I will check to make sure the installer is actually adding a Program Group for PushToTest and TestMaker. As a workaround you can run the program from TestMaker_home/TestMaker.bat. There is a tutorial for the Network Proxy Recorder in the Addditional Tutorial's list on the Tutorials page. The link takes you to: http://docs.pushtotest.com/docs/recorder.html TestMaker sounds like an appropriate choice for testing your OrderManagement site. If you reply with more details about the site I can give you more direction on how to approach the test. Thanks. -Frank On Nov 5, 2007, at 11:29 PM, Arti Karihaloo wrote: > Hi, > > I have downloaded the TestMaker from PushtoTest.com site. I > installed the application but I do not see and link to the wizard > place in the 'All Programs' listing in the start menu. Also I am > unable to get the version of the screencast or tutorial that will > tell me how can I get started with the recording wizard. > > To give a brief background - I am a QA person who is responsible to > doing the functional automation and then running the performance > test on an OrderManagement site. Please let me know if this tool > will be apt for the same. > > Regards, > Arti > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation From ndinesh at Ellacoya.com Tue Nov 6 11:51:47 2007 From: ndinesh at Ellacoya.com (Dinesh, Nirmit) Date: Tue Nov 6 12:13:12 2007 Subject: [ptt-users] module not found error (user directory) Message-ID: I need to use PTT in command line mode but through Expect/TCL. Everything seems to be working except that the local modules which I have developed (and placed in lib directory) cannot be referenced. I get the error "ImportError: no module named AA_procs". Investigating more, it appears that Testmaker.jar refers to variable 'User Directory' when looking for lib files (User Directory is printed along with version, build #, etc at start). If this is the case, how can I develop a work around for this? If I am wrong with my analysis, please help J Thanks, Nirmit Ps: Scripts which reference the local modules run fine when PTT is invoked using "TestMaker.sh -commandline agents/soap.py" from under TestNetwork directory -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20071106/118a9fd9/attachment-0001.htm From fcohen at pushtotest.com Tue Nov 6 15:08:42 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Nov 6 15:30:18 2007 Subject: [ptt-users] Which Linux distribution are you using? Message-ID: <1F640EF7-F0E8-41FB-97B5-673EAEE44C86@pushtotest.com> Dear TestMaker Users: I am configuring a new test lab for development of TestMaker itself. One of the test machines will test builds of TestMaker on Linux. Which Linux distribution are you using? -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation From for_everybody at ukr.net Wed Nov 7 01:22:17 2007 From: for_everybody at ukr.net (Yuriy) Date: Wed Nov 7 01:43:51 2007 Subject: [ptt-users] TestMaker 5.1 progress update In-Reply-To: <238A1639-D0FA-4E89-878A-E68231036293@pushtotest.com> Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 3021 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/users/attachments/20071107/d28b86b3/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 733 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/users/attachments/20071107/d28b86b3/attachment-0001.obj From kylebell at tango-networks.com Wed Nov 7 06:03:45 2007 From: kylebell at tango-networks.com (Kyle Bell) Date: Wed Nov 7 06:25:22 2007 Subject: [ptt-users] Which Linux distribution are you using? In-Reply-To: <1F640EF7-F0E8-41FB-97B5-673EAEE44C86@pushtotest.com> References: <1F640EF7-F0E8-41FB-97B5-673EAEE44C86@pushtotest.com> Message-ID: <1194444225.19581.28.camel@kbell-1.tango-networks.com> RedHat Enterprise Linux 4 soon moving to EL5. On Tue, 2007-11-06 at 15:08 -0800, Frank Cohen wrote: > Dear TestMaker Users: > > I am configuring a new test lab for development of TestMaker itself. > One of the test machines will test builds of TestMaker on Linux. > Which Linux distribution are you using? > > -Frank > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 > TestMaker open-source test automation > > > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > From fcohen at pushtotest.com Wed Nov 7 14:13:15 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed Nov 7 14:34:55 2007 Subject: [ptt-users] TestMaker 5.1 progress update In-Reply-To: References: Message-ID: <56BBE399-66C7-42AA-8BDF-2BBFFCF60995@pushtotest.com> Hi Yuriy: Thank you, Yuriy for resending me the patches. I attached them to Ticket 161 today. I appreciate your support of the TestMaker project. -Frank On Nov 7, 2007, at 1:22 AM, Yuriy wrote: > Hi. > > There are patches for the Ticket #161 at the attachment. > > I've already sent them to Frank two months ago but I haven't got > any response. > > > --- ???????? ????????? --- > ?? ????: Frank Cohen > ????: TestMaker users list > ????: 2 ??????, 03:17:07 > ????: [ptt-users] TestMaker 5.1 progress update > > Dear TestMaker Users: > > We are tracking the following issues for TestMaker 5.1 at http:// > bugs.pushtotest.com/report/1. Here is where we are at for Thursday > November 1, 2007: > > Ticket 180, closed, this looks good! > > Ticket 184 closed. > > Ticket 185 closed. > > Ticket 168 - closed. > > Ticket 182, read the comments. It appears to be partially functional. > > Ticket 162, Frank is working on this and almost done. Just need to > check it in to cvs. > > Ticket 130, seems to work fine for the Windows installer, but the Mac > installer still uses the JAR file. > > Ticket 149, started by Luis Carlos but needs changes to the J Editor. > See my email and comments in the ticket. > > Ticket 179 - Frank started incorporating edits today. > > No work started yet: > > Ticket 138, 127, 137 are all linked to classpath issues. The lib file > clean-up should also bring the classpath below 2048 characters - it > is currently at 5098 characters. > > Ticket 141 - not started > > Ticket 171 - not started > > Ticket 178 - Luis Carlos, what is the status? > > Ticket 128 - I will do this one as I have time. > > Ticket 123 - not started. > > Ticket 163 - not started. > > Ticket 165 - not started. > > Any volunteers? > > -Frank > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 > TestMaker open-source test automation > > > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > -- > ????????: ?????? ??????????? ? > ??????? ????????? > ???????? ??????? http://price.ua/firms.php > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation From fcohen at pushtotest.com Wed Nov 7 14:15:10 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed Nov 7 14:36:50 2007 Subject: [ptt-users] Which Linux distribution are you using? In-Reply-To: <1194444225.19581.28.camel@kbell-1.tango-networks.com> References: <1F640EF7-F0E8-41FB-97B5-673EAEE44C86@pushtotest.com> <1194444225.19581.28.camel@kbell-1.tango-networks.com> Message-ID: Thank you, Kyle and Jerry. At this point I am looking at Ubuntu, Redhat and SuSE. -Frank On Nov 7, 2007, at 6:03 AM, Kyle Bell wrote: > RedHat Enterprise Linux 4 soon moving to EL5. > > On Tue, 2007-11-06 at 15:08 -0800, Frank Cohen wrote: >> Dear TestMaker Users: >> >> I am configuring a new test lab for development of TestMaker itself. >> One of the test machines will test builds of TestMaker on Linux. >> Which Linux distribution are you using? >> >> -Frank >> >> -- >> Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 >> 0122 >> TestMaker open-source test automation >> >> >> >> >> >> _______________________________________________ >> Users mailing list >> Users@lists.pushtotest.com >> http://lists.pushtotest.com/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation From Timothy.Jones at syniverse.com Thu Nov 8 05:08:02 2007 From: Timothy.Jones at syniverse.com (Timothy Jones) Date: Thu Nov 8 05:30:02 2007 Subject: [ptt-users] Which Linux distribution are you using? In-Reply-To: References: <1F640EF7-F0E8-41FB-97B5-673EAEE44C86@pushtotest.com><1194444225.19581.28.camel@kbell-1.tango-networks.com> Message-ID: <044F2EDDF4FCA24A965ECAA66CB9345C01427BBC@vdsexc02> I run Debian/stable at work, and Debian/unstable and Ubuntu 7.04 at home. tlj -----Original Message----- From: users-bounces@lists.pushtotest.com [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen Sent: Wednesday, November 07, 2007 5:15 PM To: TestMaker users list Subject: Re: [ptt-users] Which Linux distribution are you using? Thank you, Kyle and Jerry. At this point I am looking at Ubuntu, Redhat and SuSE. -Frank On Nov 7, 2007, at 6:03 AM, Kyle Bell wrote: > RedHat Enterprise Linux 4 soon moving to EL5. > > On Tue, 2007-11-06 at 15:08 -0800, Frank Cohen wrote: >> Dear TestMaker Users: >> >> I am configuring a new test lab for development of TestMaker itself. >> One of the test machines will test builds of TestMaker on Linux. >> Which Linux distribution are you using? >> >> -Frank >> >> -- >> Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 >> 0122 >> TestMaker open-source test automation >> >> >> >> >> >> _______________________________________________ >> Users mailing list >> Users@lists.pushtotest.com >> http://lists.pushtotest.com/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation _______________________________________________ Users mailing list Users@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/users From for_everybody at ukr.net Tue Nov 13 04:50:23 2007 From: for_everybody at ukr.net (Yuriy) Date: Tue Nov 13 05:13:34 2007 Subject: [ptt-users] How to deploy Monitors in the cluster? Message-ID: Hi. Is it possible to deploy Monitor on many boxes and grab the load statistics from that boxes? It is an important thing because many applications are working in the cluster on two or more separate nodes and all of them should be monitored. As I see from TestScenario we can deploy one monitor on a target host and many Monitors on TestNode's hosts, so it is impossible to deploy Monitor on each host of cluster without TestNodes. If I am right then that is very bad. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20071113/c0dc5510/attachment-0001.htm From MCollins at co.wayne.mi.us Thu Nov 15 10:35:09 2007 From: MCollins at co.wayne.mi.us (Michael Collins) Date: Thu Nov 15 10:59:05 2007 Subject: [ptt-users] How to install TestMaker on Windows 2000 Message-ID: Just an FYI: I tried to install TestMaker on Windows 2000. No entry was made in the Start - Programs list, so I read here to just run TestMaker.bat. When I tried to run TestMaker.bat, it didn't seem to do anything (just flashed and went away). So I opened a command window (Start - Run - cmd.exe) to see what the error message was. I ran TestMaker.bat again, and saw that the error message was ?The input line is too long?. Googling on that message, I found out that Windows 2000 has a maximum batch file line length of 2048 characters. Windows XP has a max of 8192. So I copied a cmd.exe from WinXP to c:\winnt\system32\ with the name cmd_XP.exe. So I opened a command window using that file (Start - Run - cmd_XP.exe) and ran TestMaker.bat successfully (well, after I got my JAVA_HOME environment variable set to what it needed to be). Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20071115/46d20df6/attachment.htm From tsunil10 at gmail.com Wed Nov 21 06:29:13 2007 From: tsunil10 at gmail.com (sunil tiwari) Date: Wed Nov 21 10:09:59 2007 Subject: [ptt-users] java.net.ConnectException: Connection refused Message-ID: <62b2894b0711210629p61e970cvd538d97ff85ea5e6@mail.gmail.com> Hi i am using testmaker5 i am trying to record the functionality of my application which is seam based first of all testgen4web is not recording the correct steps ang when i edited the steps and tryied to run the test after login page it is throughing exceptions like:- INFO - New scenario Envista Functional Test INFO - Node name:localhost Running a functional test Executing time 0 Window value: . Step 0: (goto) Executing: goto Got page: Utility Collaboration -- Log In Window value: . Step 1: (verify-title) Executing: verify-title Title: "Utility Collaboration -- Log In" is Correct Window value: . Step 2: (fill) Executing: fill oldXpath */FORM[1]/INPUT[@ID="username"]: newXpath //form[1]/input[@id="username"] Element input = Element input set to sunil Window value: . Step 3: (fill) Executing: fill oldXpath */FORM[1]/INPUT[@ID="password"]: newXpath //form[1]/input[@id="password"] Element input = Element input set to sunil Window value: . Step 4: (click) Executing: click oldXpath */FORM[1]/INPUT[@TYPE="submit" and @VALUE="Login"]: newXpath "//form[1]/input[@type="submit" and @value="Login"]" Elem HtmlSubmitInput[] - Error loading javascript from [http://:]: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.(Socket.java:365) at java.net.Socket.(Socket.java:238) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java :706) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open (MultiThreadedHttpConnectionManager.java:1330) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry( HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod( HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java :396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java :346) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse( HttpWebConnection.java:126) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection (WebClient.java:1424) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java :1381) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl( HtmlPage.java:817) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile( HtmlPage.java:775) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded( HtmlScript.java:229) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded( HtmlPage.java:1409) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603) at com.gargoylesoftware.htmlunit.javascript.host.HTMLElement.jsxFunction_insertAdjacentHTML (HTMLElement.java:666) at com.gargoylesoftware.htmlunit.javascript.host.Document.write( Document.java:301) at com.gargoylesoftware.htmlunit.javascript.host.Document.jsxFunction_write (Document.java:240) 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:585) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:408) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3085) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java :161) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall( HtmlUnitContextFactory.java:151) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758) at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java :172) at org.mozilla.javascript.Context.evaluateString(Context.java:1132) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( JavaScriptEngine.java:255) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile( HtmlPage.java:775) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded( HtmlScript.java:229) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded( HtmlPage.java:1409) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement (HTMLParser.java:406) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.startElement(Unknown Source) at org.cyberneko.html.filters.NamespaceBinder.startElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(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( HTMLParser.java:346) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:229) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage( DefaultPageCreator.java:112) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage( DefaultPageCreator.java:85) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto( WebClient.java:441) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:345) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:372) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:211) at com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction( HtmlSubmitInput.java:78) at com.gargoylesoftware.htmlunit.html.ClickableElement.click( ClickableElement.java:114) at com.pushtotest.testmaker.XSTest.client.TestGenForWeb.runActionsHTML( TestGenForWeb.java:166) 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:585) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute( ScriptRunner.java:982) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustOne (ScriptRunner.java:667) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.runOneTime (TestusecaseRunner.java:383) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.runFunctionaltest (TestscenarioRunner.java:288) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.access$000 (TestscenarioRunner.java:91) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner$FunctionalTest.run (TestscenarioRunner.java:272) Error getting page Wrapped com.gargoylesoftware.htmlunit.ScriptException: Connection refused: connect ( http://localhost:9080/envista/javascript/ext/ext-all.js#171) ======= EXCEPTION START ======== Exception class=[org.mozilla.javascript.WrappedException] com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Connection refused: connect ( http://localhost:9080/envista/javascript/ext/ext-all.js#171) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( JavaScriptEngine.java:260) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile( HtmlPage.java:775) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded( HtmlScript.java:229) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded( HtmlPage.java:1409) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement (HTMLParser.java:406) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.startElement(Unknown Source) at org.cyberneko.html.filters.NamespaceBinder.startElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(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( HTMLParser.java:346) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:229) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage( DefaultPageCreator.java:112) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage( DefaultPageCreator.java:85) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto( WebClient.java:441) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:345) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:372) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:211) at com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction( HtmlSubmitInput.java:78) at com.gargoylesoftware.htmlunit.html.ClickableElement.click( ClickableElement.java:114) at com.pushtotest.testmaker.XSTest.client.TestGenForWeb.runActionsHTML( TestGenForWeb.java:166) 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:585) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute( ScriptRunner.java:982) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustOne (ScriptRunner.java:667) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.runOneTime (TestusecaseRunner.java:383) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.runFunctionaltest (TestscenarioRunner.java:288) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.access$000 (TestscenarioRunner.java:91) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner$FunctionalTest.run (TestscenarioRunner.java:272) Caused by: org.mozilla.javascript.WrappedException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Connection refused: connect ( http://localhost:9080/envista/javascript/ext/ext-all.js#171) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1693) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:408) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3085) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java :161) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall( HtmlUnitContextFactory.java:151) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758) at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java :172) at org.mozilla.javascript.Context.evaluateString(Context.java:1132) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( JavaScriptEngine.java:255) ... 37 more Caused by: com.gargoylesoftware.htmlunit.ScriptException: Connection refused: connect at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl( HtmlPage.java:851) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile( HtmlPage.java:775) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded( HtmlScript.java:229) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded( HtmlPage.java:1409) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603) at com.gargoylesoftware.htmlunit.javascript.host.HTMLElement.jsxFunction_insertAdjacentHTML (HTMLElement.java:666) at com.gargoylesoftware.htmlunit.javascript.host.Document.write( Document.java:301) at com.gargoylesoftware.htmlunit.javascript.host.Document.jsxFunction_write (Document.java:240) 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:585) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145) ... 47 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.(Socket.java:365) at java.net.Socket.(Socket.java:238) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java :706) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open (MultiThreadedHttpConnectionManager.java:1330) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry( HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod( HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java :396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java :346) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse( HttpWebConnection.java:126) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection (WebClient.java:1424) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java :1381) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl( HtmlPage.java:817) ... 59 more WrappedException: org.mozilla.javascript.WrappedException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Connection refused: connect ( http://localhost:9080/envista/javascript/ext/ext-all.js#171) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1693) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:408) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3085) at script(http://localhost:9080/envista/javascript/ext/ext-all.js:171) at script(http://localhost:9080/envista/javascript/ext/ext-all.js:189) at script(http://localhost:9080/envista/javascript/ext/ext-all.js:192) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java :161) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall( HtmlUnitContextFactory.java:151) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758) at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java :172) at org.mozilla.javascript.Context.evaluateString(Context.java:1132) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( JavaScriptEngine.java:255) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile( HtmlPage.java:775) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded( HtmlScript.java:229) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded( HtmlPage.java:1409) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement (HTMLParser.java:406) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.startElement(Unknown Source) at org.cyberneko.html.filters.NamespaceBinder.startElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(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( HTMLParser.java:346) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:229) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage( DefaultPageCreator.java:112) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage( DefaultPageCreator.java:85) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto( WebClient.java:441) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:345) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:372) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:211) at com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction( HtmlSubmitInput.java:78) at com.gargoylesoftware.htmlunit.html.ClickableElement.click( ClickableElement.java:114) at com.pushtotest.testmaker.XSTest.client.TestGenForWeb.runActionsHTML( TestGenForWeb.java:166) 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:585) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute( ScriptRunner.java:982) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustOne (ScriptRunner.java:667) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.runOneTime (TestusecaseRunner.java:383) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.runFunctionaltest (TestscenarioRunner.java:288) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.access$000 (TestscenarioRunner.java:91) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner$FunctionalTest.run (TestscenarioRunner.java:272) Caused by: com.gargoylesoftware.htmlunit.ScriptException: Connection refused: connect at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl( HtmlPage.java:851) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile( HtmlPage.java:775) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded( HtmlScript.java:229) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded( HtmlPage.java:1409) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603) at com.gargoylesoftware.htmlunit.javascript.host.HTMLElement.jsxFunction_insertAdjacentHTML (HTMLElement.java:666) at com.gargoylesoftware.htmlunit.javascript.host.Document.write( Document.java:301) at com.gargoylesoftware.htmlunit.javascript.host.Document.jsxFunction_write (Document.java:240) 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:585) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145) ... 47 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.(Socket.java:365) at java.net.Socket.(Socket.java:238) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java :706) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open (MultiThreadedHttpConnectionManager.java:1330) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry( HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod( HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java :396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java :346) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse( HttpWebConnection.java:126) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection (WebClient.java:1424) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java :1381) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl( HtmlPage.java:817) ... 59 more Inside wrapped exception: ======= EXCEPTION START ======== Exception class=[java.net.ConnectException] com.gargoylesoftware.htmlunit.ScriptException: Connection refused: connect at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl( HtmlPage.java:851) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile( HtmlPage.java:775) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded( HtmlScript.java:229) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded( HtmlPage.java:1409) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603) at com.gargoylesoftware.htmlunit.javascript.host.HTMLElement.jsxFunction_insertAdjacentHTML (HTMLElement.java:666) at com.gargoylesoftware.htmlunit.javascript.host.Document.write( Document.java:301) at com.gargoylesoftware.htmlunit.javascript.host.Document.jsxFunction_write (Document.java:240) 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:585) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:408) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3085) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java :161) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall( HtmlUnitContextFactory.java:151) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758) at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java :172) at org.mozilla.javascript.Context.evaluateString(Context.java:1132) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( JavaScriptEngine.java:255) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile( HtmlPage.java:775) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded( HtmlScript.java:229) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded( HtmlPage.java:1409) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement (HTMLParser.java:406) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.startElement(Unknown Source) at org.cyberneko.html.filters.NamespaceBinder.startElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(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( HTMLParser.java:346) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:229) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage( DefaultPageCreator.java:112) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage( DefaultPageCreator.java:85) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto( WebClient.java:441) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:345) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:372) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:211) at com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction( HtmlSubmitInput.java:78) at com.gargoylesoftware.htmlunit.html.ClickableElement.click( ClickableElement.java:114) at com.pushtotest.testmaker.XSTest.client.TestGenForWeb.runActionsHTML( TestGenForWeb.java:166) 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:585) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute( ScriptRunner.java:982) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustOne (ScriptRunner.java:667) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.runOneTime (TestusecaseRunner.java:383) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.runFunctionaltest (TestscenarioRunner.java:288) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.access$000 (TestscenarioRunner.java:91) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner$FunctionalTest.run (TestscenarioRunner.java:272) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.(Socket.java:365) at java.net.Socket.(Socket.java:238) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java :706) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open (MultiThreadedHttpConnectionManager.java:1330) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry( HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod( HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java :396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java :346) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse( HttpWebConnection.java:126) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection (WebClient.java:1424) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java :1381) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl( HtmlPage.java:817) ... 59 more Enclosed exception: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.(Socket.java:365) at java.net.Socket.(Socket.java:238) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket (DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java :706) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open (MultiThreadedHttpConnectionManager.java:1330) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry( HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod( HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java :396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java :346) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse( HttpWebConnection.java:126) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection (WebClient.java:1424) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java :1381) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl( HtmlPage.java:817) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile( HtmlPage.java:775) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded( HtmlScript.java:229) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded( HtmlPage.java:1409) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603) at com.gargoylesoftware.htmlunit.javascript.host.HTMLElement.jsxFunction_insertAdjacentHTML (HTMLElement.java:666) at com.gargoylesoftware.htmlunit.javascript.host.Document.write( Document.java:301) at com.gargoylesoftware.htmlunit.javascript.host.Document.jsxFunction_write (Document.java:240) 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:585) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:408) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3085) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java :161) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall( HtmlUnitContextFactory.java:151) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758) at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java :172) at org.mozilla.javascript.Context.evaluateString(Context.java:1132) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute( JavaScriptEngine.java:255) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile( HtmlPage.java:775) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded( HtmlScript.java:229) at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded( HtmlPage.java:1409) at com.gargoylesoftware.htmlunit.html.DomNode.appendChild(DomNode.java:603) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement (HTMLParser.java:406) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.startElement(Unknown Source) at org.cyberneko.html.filters.NamespaceBinder.startElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(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( HTMLParser.java:346) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:229) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage( DefaultPageCreator.java:112) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage( DefaultPageCreator.java:85) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto( WebClient.java:441) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:345) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:372) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:211) at com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction( HtmlSubmitInput.java:78) at com.gargoylesoftware.htmlunit.html.ClickableElement.click( ClickableElement.java:114) at com.pushtotest.testmaker.XSTest.client.TestGenForWeb.runActionsHTML( TestGenForWeb.java:166) 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:585) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute( ScriptRunner.java:982) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustOne (ScriptRunner.java:667) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.runOneTime (TestusecaseRunner.java:383) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.runFunctionaltest (TestscenarioRunner.java:288) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.access$000 (TestscenarioRunner.java:91) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner$FunctionalTest.run (TestscenarioRunner.java:272) ======= EXCEPTION END ======== == CALLING JAVASCRIPT == /* * Ext JS Library 2.0 Dev 5 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * This code has not yet been licensed for use. */ Ext.DomHelper=function(){var _1=null;var _2=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;var _3=/^table|tbody|tr|td$/i;var _4=function(o){if(typeof o=="string"){return o;} var b="";if(!o.tag){o.tag="div";} b+="<"+o.tag;for(var _7 in o){if(_7=="tag"||_7=="children"||_7=="cn"||_7=="html"||typeof o[_7]=="function"){continue;} if(_7=="style"){var s=o["style"];if(typeof s=="function"){s=s.call();} if(typeof s=="string"){b+=" style=\""+s+"\"";}else{if(typeof s=="object"){b+=" style=\"";for(var _9 in s){if(typeof s[_9]!="function"){b+=_9+":"+s[_9]+";";}} b+="\"";}}}else{if(_7=="cls"){b+=" class=\""+o["cls"]+"\"";}else{if(_7=="htmlFor"){b+=" for=\""+o["htmlFor"]+"\"";}else{b+=" "+_7+"=\""+o[_7]+"\"";}}}} if(_2.test(o.tag)){b+="/>";}else{b+=">";var cn=o.children||o.cn;if(cn){if(cn instanceof Array){for(var i=0,_c=cn.length ;i<_c;i++){b+=_4(cn[i],b);}}else{b+=_4(cn,b);}} if(o.html){b+=o.html;} b+="";} return b;};var _d=function(o,_f){var el=document.createElement(o.tag||"div");var _11=el.setAttribute?true:false;for(var _12 in o){if(_12=="tag"||_12=="children"||_12=="cn"||_12=="html"||_12=="style"||typeof o[_12]=="function"){continue;} if(_12=="cls"){el.className=o["cls"];}else{if(_11){el.setAttribute (_12,o[_12]);}else{el[_12]=o[_12];}}} Ext.DomHelper.applyStyles(el,o.style);var cn=o.children||o.cn;if(cn){if(cn instanceof Array){for(var i=0,len=cn.length ;i",tbe=""+te,trs=tbs+"",tre=""+tbe;var _23=function(tag,_25,el,_27){if(!_1){_1=document.createElement("div");} var _28;var _29=null;if(tag=="td"){if(_25=="afterbegin"||_25=="beforeend"){return;} if(_25=="beforebegin"){_29=el;el=el.parentNode;}else{_29=el.nextSibling;el= el.parentNode;} _28=_16(4,trs,_27,tre);}else{if(tag=="tr"){if(_25=="beforebegin"){_29=el;el= el.parentNode;_28=_16(3,tbs,_27,tbe);}else{if(_25=="afterend"){_29= el.nextSibling;el=el.parentNode ;_28=_16(3,tbs,_27,tbe);}else{if(_25=="afterbegin"){_29=el.firstChild;} _28=_16(4,trs,_27,tre);}}}else{if(tag=="tbody"){if(_25=="beforebegin"){_29=el;el= el.parentNode;_28=_16(2,ts,_27,te);}else{if(_25=="afterend"){_29= el.nextSibling;el=el.parentNode ;_28=_16(2,ts,_27,te);}else{if(_25=="afterbegin"){_29=el.firstChild;} _28=_16(3,tbs,_27,tbe);}}}else{if(_25=="beforebegin"||_25=="afterend"){return;} if(_25=="afterbegin"){_29=el.firstChild;} _28=_16(2,ts,_27,te);}}} el.insertBefore(_28,_29);return _28;};return{useDom:false,markup:function(o){return _4(o);},applyStyles:function(el,_2c){if(_2c){el=Ext.fly(el);if(typeof _2c=="string"){var re=/\s?([a-z\-]*)\:\s?([^;]*);?/gi;var _2e;while((_2e= re.exec(_2c))!=null){el.setStyle(_2e[1],_2e[2]);}}else{if(typeof _2c=="object"){for(var _2f in _2c){el.setStyle(_2f,_2c[_2f]);}}else{if(typeof _2c=="function"){Ext.DomHelper.applyStyles (el,_2c.call());}}}}},insertHtml:function(_30,el,_32){_30=_30.toLowerCase();if( el.insertAdjacentHTML){if(_3.test(el.tagName)){var rs;if(rs=_23( el.tagName.toLowerCase(),_30,el,_32)){return rs;}} switch(_30){case"beforebegin":el.insertAdjacentHTML("BeforeBegin",_32);return el.previousSibling;case"afterbegin":el.insertAdjacentHTML("AfterBegin",_32);return el.firstChild;case"beforeend":el.insertAdjacentHTML("BeforeEnd",_32);return el.lastChild;case"afterend":el.insertAdjacentHTML("AfterEnd",_32);return el.nextSibling;} throw"Illegal insertion point -> \""+_30+"\"";} var _34=el.ownerDocument.createRange();var _35;switch(_30){case"beforebegin":_34.setStartBefore(el);_35=_34.createContextualFragment(_32);el.parentNode.insertBefore(_35,el);return el.previousSibling;case"afterbegin":if(el.firstChild){_34.setStartBefore( el.firstChild);_35=_34.createContextualFragment(_32);el.insertBefore(_35, el.firstChild);return el.firstChild;}else{el.innerHTML=_32;return el.firstChild;} case"beforeend":if(el.lastChild){_34.setStartAfter(el.lastChild);_35=_34.createContextualFragment(_32);el.appendChild(_35);return el.lastChild;}else{el.innerHTML=_32;return el.lastChild;} case"afterend":_34.setStartAfter(el);_35=_34.createContextualFragment(_32);el.parentNode.insertBefore(_35, el.nextSibling);return el.nextSibling;} throw"Illegal insertion point -> \""+_30+"\"";},insertBefore:function(el,o,_38){return this.doInsert(el,o,_38,"beforeBegin");},insertAfter:function(el,o,_3b){return this.doInsert(el,o,_3b,"afterEnd","nextSibling");},insertFirst:function(el,o,_3e){return this.doInsert (el,o,_3e,"afterBegin");},doInsert:function(el,o,_41,pos,_43){el=Ext.getDom(el);var _44;if(this.useDom){_44=_d(o,null);el.parentNode.insertBefore(_44,_43?el[_43]:el);}else{var _45=_4(o);_44=this.insertHtml(pos,el,_45);} return _41?Ext.get(_44,true):_44;},append:function(el,o,_48){el=Ext.getDom(el);var _49;if(this.useDom){_49=_d(o,null);el.appendChild(_49);}else{var _4a=_4(o);_49=this.insertHtml("beforeEnd",el,_4a);} return _48?Ext.get(_49,true):_49;},overwrite:function(el,o,_4d){el= Ext.getDom(el);el.innerHTML=_4(o);return _4d?Ext.get(el.firstChild,true): el.firstChild;},createTemplate:function(o){var _4f=_4(o);return new Ext.Template(_4f);}};}(); Ext.Template=function(_1){var a=arguments;if(_1 instanceof Array){_1=_1.join("");}else{if(a.length>1){var _3=[];for(var i=0,_5=a.length;i<_5;i++){if(typeof a[i]=="object"){Ext.apply(this,a[i]);}else{_3[_3.length]=a[i];}} _1=_3.join("");}} this.html=_1;if(this.compiled){this.compile ();}};Ext.Template.prototype={applyTemplate:function(_6){if(this.compiled){return this.compiled(_6);} var _7=this.disableFormats!==true;var fm=Ext.util.Format,_9=this;var fn=function(m,_c,_d,_e){if(_d&&_7){if(_d.substr(0,5)=="this."){return _9.call(_d.substr(5),_6[_c],_6);}else{if(_e){var re=/^\s*['"](.*)["']\s*$/;_e=_e.split(",");for(var i=0,len=_e.length;i+~]\s?|\s|$)/;var _8=/^(#)?([\w-\*]+)/;var _9=/(\d*)n\+?(\d*)/,_a=/\D/;function child(p,_c){var i=0;var n=p.firstChild;while(n){if(n.nodeType==1){if(++i==_c){return n;}} n=n.nextSibling;} return null;} function next(n){while((n=n.nextSibling)&&n.nodeType!=1){} return n;} function prev(n){while((n=n.previousSibling)&&n.nodeType!=1){} return n;} function children(d){var n=d.firstChild,ni=-1;while(n){var nx=n.nextSibling ;if(n.nodeType==3&&!_4.test(n.nodeValue)){d.removeChild(n);}else{ n.nodeIndex=++ni;} n=nx;} return this;} function byClassName(c,a,v){if(!v){return c;} var r=[],ri=-1,cn;for(var i=0,ci;ci=c[i];i++){if((" "+ci.className+" ").indexOf(v)!=-1){r[++ri]=ci;}} return r;} function attrValue(n,_1e){if(!n.tagName&&typeof n.length!= "undefined"){n=n[0];} if(!n){return null;} if(_1e=="for"){return n.htmlFor;} if(_1e=="class"||_1e=="className"){return n.className;} return n.getAttribute(_1e)||n[_1e];} function getNodes(ns,_20,_21){var _22=[],ri=-1,cs;if(!ns){return _22;} _21=_21||"*";if(typeof ns.getElementsByTagName!="undefined"){ns=[ns];} if(!_20){for(var i=0,ni;ni=ns[i];i++){cs=ni.getElementsByTagName(_21);for(var j=0,ci;ci=cs[j];j++){_22[++ri]=ci;}}}else{if(_20=="/"||_20==">"){var _29=_21.toUpperCase();for(var i=0,ni,cn;ni=ns[i];i++){cn= ni.children||ni.childNodes;for(var j=0,cj;cj=cn[j];j++){if( cj.nodeName==_29||cj.nodeName==_21||_21=="*"){_22[++ri]=cj;}}}}else{if(_20=="+"){var _29=_21.toUpperCase();for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling )&&n.nodeType!=1){} if(n&&(n.nodeName==_29||n.nodeName==_21||_21=="*")){_22[++ri]=n;}}}else{if(_20=="~"){for(var i=0,n;n=ns[i];i++){while((n=n.nextSibling)&&(n.nodeType!=1|| (_21=="*"||n.tagName.toLowerCase()!=_21))){} if(n){_22[++ri]=n;}}}}}} return _22;} function concat(a,b){if(b.slice){return a.concat(b);} for(var i=0,l=b.length;i1){return nodup(_87);} return _87;},selectNode:function(_8c,_8d){return Ext.DomQuery.select (_8c,_8d)[0];},selectValue:function(_8e,_8f,_90){_8e=_8e.replace(_5,"");if(!_3[_8e]){_3[_8e]= Ext.DomQuery.compile(_8e,"select");} var n=_3[_8e](_8f);n=n[0]?n[0]:n;var v=(n&&n.firstChild?n.firstChild.nodeValue:null);return((v===null||v===undefined||v==="")?_90:v);},selectNumber:function(_93,_94,_95){var v=Ext.DomQuery.selectValue(_93,_94,_95||0);return parseFloat(v);},is:function(el,ss){if(typeof el=="string"){el= document.getElementById(el);} var _99=(el instanceof Array);var _9a=Ext.DomQuery.filter(_99?el:[el],ss);return _99?(_9a.length==el.length):(_9a.length>0);},filter:function(els,ss,_9d){ss= ss.replace(_5,"");if(!_2[ss]){_2[ss]=Ext.DomQuery.compile(ss,"simple");} var _9e=_2[ss](els);return _9d?quickDiff(_9e,els):_9e;},matchers:[{re:/^\.([\w-]+)/,select:"n = byClassName(n, null, \" {1} \");"},{re:/^\:([\w-]+)(?:\(((?:[^\s>\/]*|.*?))\))?/,select:"n = byPseudo(n, \"{1}\", \"{2}\");"},{re:/^(?:([\[\{])(?:@)?([\w-]+)\s?(?:(=|.=)\s?['"]?(.*?)["']?)?[\]\}])/,select:"n = byAttribute(n, \"{2}\", \"{4}\", \"{3}\", \"{1}\");"},{re:/^#([\w-]+)/,select:"n = byId(n, null, \"{1}\");"},{re:/^@([\w-]+)/,select:"return {firstChild:{nodeValue:attrValue(n, \"{1}\")}};"}],operators:{"=":function(a,v){return a==v;},"!=":function(a,v){return a!=v;},"^=":function(a,v){return a&&a.substr(0,v.length)==v;},"$=":function(a,v){return a&&a.substr( a.length-v.length)==v;},"*=":function(a,v){return a&&a.indexOf(v)!==-1;},"%=":function(a,v){return(a%v)==0;},"|=":function(a,v){return a&&(a==v||a.substr(0,v.length+1)==v+"-");},"~=":function(a,v){return a&&(" "+a+" ").indexOf(" "+v+" ")!=-1;}},pseudos:{"first-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.previousSibling )&&n.nodeType!=1){} if(!n){r[++ri]=ci;}} return r;},"last-child":function(c){var r=[],ri=-1,n;for(var i=0,ci;ci=n=c[i];i++){while((n=n.nextSibling)&&n.nodeType!=1){} if(!n){r[++ri]=ci;}} return r;},"nth-child":function(c,a){var r=[],ri=-1;var m=_9.exec(a=="even"&&"2n"||a=="odd"&&"2n+1"||!_a.test(a)&&"n+"+a||a);var f=(m[1]||1)-0,l=m[2]-0;for(var i=0,n;n=c[i];i++){var pn=n.parentNode;if(batch!=pn._batch){var j=0;for(var cn=pn.firstChild;cn;cn=cn.nextSibling){if(cn.nodeType==1){ cn.nodeIndex=++j;}} pn._batch=batch;} if(f==1){if(l==0||n.nodeIndex==l){r[++ri]=n;}}else{if((n.nodeIndex+l )%f==0){r[++ri]=n;}}} return r;},"only-child":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(!prev(ci)&&!next(ci)){r[++ri]=ci;}} return r;},"empty":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var cns=ci.childNodes ,j=0,cn,_d4=true;while(cn=cns[j]){++j;if(cn.nodeType==1||cn.nodeType==3 ){_d4=false;break;}} if(_d4){r[++ri]=ci;}} return r;},"contains":function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if((ci.textContent||ci.innerText|| "").indexOf(v)!=-1){r[++ri]=ci;}} return r;},"nodeValue":function(c,v){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.firstChild&&ci.firstChild.nodeValue==v ){r[++ri]=ci;}} return r;},"checked":function(c){var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(ci.checked==true){r[++ri]=ci;}} return r;},"not":function(c,ss){return Ext.DomQuery.filter(c,ss,true);},"any":function(c,_e9){var ss=_e9.split("|");var r=[],ri=-1,s;for(var i=0,ci;ci=c[i];i++){for(var j=0;s=ss[j];j++){if(Ext.DomQuery.is(ci,s)){r[++ri]=ci;break;}}} return r;},"odd":function(c){return this["nth-child"](c,"odd");},"even":function(c){return this["nth-child"](c,"even");},"nth":function(c,a){return c[a-1]||[];},"first":function(c){return c[0]||[];},"last":function(c){return c[c.length-1]||[];},"has":function(c,ss){var s=Ext.DomQuery.select;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){if(s(ss,ci).length>0){r[++ri]=ci;}} return r;},"next":function(c,ss){var is=Ext.DomQuery.is;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=next(ci);if(n&&is(n,ss)){r[++ri]=ci;}} return r;},"prev":function(c,ss){var is=Ext.DomQuery.is;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=prev(ci);if(n&&is(n,ss)){r[++ri]=ci;}} return r;}}};}();Ext.query=Ext.DomQuery.select; Ext.util.Observable=function(){if(this.listeners){this.on(this.listeners);delete this.listeners;}};Ext.util.Observable.prototype={fireEvent:function(){if( this.eventsSuspended!==true){var ce=this.events[arguments[0].toLowerCase()];if(typeof ce=="object"){return ce.fire.apply(ce,Array.prototype.slice.call (arguments,1));}} return true;},filterOptRe:/^(?:scope|delay|buffer|single)$/,addListener:function(_2,fn,_4,o){if(typeof _2=="object"){o=_2;for(var e in o){if(this.filterOptRe.test(e)){continue;} if(typeof o[e]=="function"){this.addListener(e,o[e],o.scope,o);}else{ this.addListener(e,o[e].fn,o[e].scope,o[e]);}} return;} o=(!o||typeof o=="boolean")?{}:o;_2=_2.toLowerCase();var ce=this.events[_2]||true;if(typeof ce=="boolean"){ce=new Ext.util.Event(this,_2);this.events[_2]=ce;} ce.addListener(fn,_4,o);},removeListener:function(_8,fn,_a){var ce= this.events[_8.toLowerCase()];if(typeof ce=="object"){ce.removeListener(fn,_a);}},purgeListeners:function(){for(var _c in this.events){if(typeof this.events[_c]=="object"){this.events[_c].clearListeners();}}},relayEvents:function(o,_e){var _f=function(_10){return function(){return this.fireEvent.apply(this, Ext.combine(_10,Array.prototype.slice.call(arguments,0)));};};for(var i=0,len=_e.length;i0;},suspendEvents:function(){ this.eventsSuspended=true;},resumeEvents:function(){ this.eventsSuspended=false ;},getMethodEvent:function(_17){if(!this.methodEvents){this.methodEvents={} ;} var e=this.methodEvents[_17];if(!e){e={};this.methodEvents[_17]=e;e.originalFn=this[_17];e.methodName=_17;e.before=[];e.after=[];var _19,v,_1b;var obj=this;var _1d=function(fn,_1f,_20){if((v=fn.apply(_1f||obj,_20))!==undefined){if(typeof v==="object"){if(v.returnValue!==undefined){_19=v.returnValue;}else{_19=v;} if(v.cancel===true){_1b=true;}}else{if(v===false){_1b=true;}else{_19=v;}}}};this[_17]=function(){_19=v=undefined;_1b=false;var _21=Array.prototype.slice.call(arguments,0);for(var i=0,len=e.before.length ;i0){this.firing=true;var _5e= Array.prototype.slice.call(arguments,0);for(var i=0;i");var _d=document.getElementById ("ie-deferred-loader");_d.onreadystatechange=function(){if(this.readyState== "complete"){_a();}};}else{if(Ext.isSafari){_2=setInterval(function(){var rs= document.readyState;if(rs=="complete"){_a();}},10);}}} E.on(window,"load",_a);};var _f=function(h,o){var _12=new Ext.util.DelayedTask(h);return function(e){e=new Ext.EventObjectImpl (e);_12.delay(o.buffer,h,null,[e]);};};var _14=function(h,el,_17,fn){return function(e){Ext.EventManager.removeListener(el,_17,fn);h(e);};};var _1a=function(h,o){return function(e){e=new Ext.EventObjectImpl (e);setTimeout(function(){h(e);},o.delay||10);};};var _1e=function(_1f,_20,opt,fn,_23){var o=(!opt||typeof opt=="boolean")?{}:opt;fn=fn||o.fn;_23=_23||o.scope;var el=Ext.getDom(_1f);if(!el){throw"Error listening for \""+_20+"\". Element \""+_1f+"\" doesn't exist.";} var h=function(e){e=Ext.EventObject.setEvent(e);var t;if(o.delegate){t= e.getTarget(o.delegate,el);if(!t){return;}}else{t=e.target;} if(o.stopEvent===true){e.stopEvent();} if(o.preventDefault===true){e.preventDefault();} if(o.stopPropagation===true){e.stopPropagation();} if(o.normalized===false){e=e.browserEvent;} fn.call(_23||el,e,t,o);};if(o.delay){h=_1a(h,o);} if(o.single){h=_14(h,el,_20,fn);} if(o.buffer){h=_f(h,o);} fn._handlers=fn._handlers||[];fn._handlers.push([Ext.id (el),_20,h]);E.on(el,_20,h);if(_20=="mousewheel"&&el.addEventListener){ el.addEventListener ("DOMMouseScroll",h,false);E.on(window,"unload",function(){ el.removeEventListener("DOMMouseScroll",h,false);});} if(_20=="mousedown"&&el==document){ Ext.EventManager.stoppedMouseDownEvent.addListener(h);} return h;};var _29=function(el,_2b,fn){var id=Ext.id(el),hds=fn._handlers,hd=fn;if(hds){for(var i=0,len=hds.length;i=33&&k<=40)||k== this.RETURN||k==this.TAB||k==this.ESC;},isSpecialKey:function(){var k= this.keyCode;return(this.type== "keypress"&&this.ctrlKey)||k==9||k==13||k==40||k==27||(k==16)||(k==17)||(k>=18&&k<=20)||(k>=33&&k<=35)||(k>=36&&k<=39)||(k>=44&&k<=45);},stopPropagation:function(){if( this.browserEvent){if(this.browserEvent.type=="mousedown"){ Ext.EventManager.stoppedMouseDownEvent.fire(this);} E.stopPropagation(this.browserEvent);}},getCharCode:function(){return this.charCode||this.keyCode;},getKey:function(){var k= this.keyCode||this.charCode;return Ext.isSafari?(_4f[k]||k):k;},getPageX:function(){return this.xy[0];},getPageY:function(){return this.xy[1];},getTime:function(){if( this.browserEvent){return E.getTime(this.browserEvent);} return null;},getXY:function(){return this.xy;},getTarget:function(_56,_57,_58){return _56?Ext.fly(this.target).findParent(_56,_57,_58):this.target ;},getRelatedTarget:function(){if(this.browserEvent){return E.getRelatedTarget(this.browserEvent);} return null;},getWheelDelta:function(){var e=this.browserEvent;var _5a=0;if( e.wheelDelta){_5a=e.wheelDelta/120;}else{if(e.detail){_5a=-e.detail/3;}} return _5a;},hasModifier:function(){return((this.ctrlKey||this.altKey)||this.shiftKey)?true:false;},within:function(el,_5c){var t=this[_5c?"getRelatedTarget":"getTarget"]();return t&&Ext.fly(el).contains(t);},getPoint:function(){return new Ext.lib.Point( this.xy[0],this.xy[1]);}};return new Ext.EventObjectImpl();}(); (function(){var D=Ext.lib.Dom;var E=Ext.lib.Event;var A=Ext.lib.Anim;var _4={};var _5=/(-[a-z])/gi;var _6=function(m,a){return a.charAt(1).toUpperCase();};var _9=document.defaultView;Ext.Element=function(_a,_b){var _c=typeof _a=="string"?document.getElementById(_a):_a;if(!_c){return null;} var id=_c.id;if(_b!==true&&id&&Ext.Element.cache[id]){return Ext.Element.cache[id];} this.dom=_c;this.id=id||Ext.id(_c);};var El=Ext.Element ;El.prototype={originalDisplay:"",visibilityMode:1,defaultUnit:"px",setVisibilityMode:function(_f){ this.visibilityMode=_f;return this;},enableDisplayMode:function(_10){ this.setVisibilityMode(El.DISPLAY);if(typeof _10!="undefined"){ this.originalDisplay=_10;} return this;},findParent:function(_11,_12,_13){var p=this.dom,b= document.body,_16=0,dq=Ext.DomQuery,_18;_12=_12||50;if(typeof _12!="number"){_18=Ext.getDom(_12);_12=10;} while(p&&p.nodeType==1&&_16<_12&&p!=b&&p!=_18){if(dq.is(p,_11)){return _13?Ext.get(p):p;} _16++;p=p.parentNode;} return null;},findParentNode:function(_19,_1a,_1b){var p=Ext.fly( this.dom.parentNode,"_internal");return p?p.findParent(_19,_1a,_1b):null;},up:function(_1d,_1e){return this.findParentNode(_1d,_1e,true);},is:function(_1f){return Ext.DomQuery.is( this.dom,_1f);},animate:function(_20,_21,_22,_23,_24){this.anim(_20,{duration:_21,callback:_22,easing:_23},_24);return this;},anim:function(_25,opt,_27,_28,_29,cb){_27=_27||"run";opt=opt||{};var _2b=Ext.lib.Anim[_27](this.dom,_25,(opt.duration||_28)||0.35,( opt.easing||_29)||"easeOut",function(){Ext.callback(cb,this);Ext.callback( opt.callback,opt.scope||this,[this,opt]);},this);opt.anim=_2b;return _2b;},preanim:function(a,i){return!a[i]?false:(typeof a[i]=="object"?a[i]:{duration:a[i+1],callback:a[i+2],easing:a[i+3]});},clean:function(_2e){if( this.isCleaned&&_2e!==true){return this;} var ns=/\S/;var d=this.dom,n=d.firstChild,ni=-1;while(n){var nx= n.nextSibling;if(n.nodeType==3&&!ns.test(n.nodeValue)){d.removeChild (n);}else{n.nodeIndex=++ni;} n=nx;} this.isCleaned=true;return this;},scrollIntoView:function(_34,_35){var c= Ext.getDom(_34)||Ext.getBody().dom;var el=this.dom;var o=this.getOffsetsTo(c),l=o[0]+c.scrollLeft,t=o[1]+c.scrollTop,b=t+el.offsetHeight,r=l+el.offsetWidth;var ch=c.clientHeight;var ct=parseInt(c.scrollTop,10);var cl=parseInt( c.scrollLeft,10);var cb=ct+ch;var cr=cl+c.clientWidth;if(tcb){c.scrollTop=b-ch;}} c.scrollTop=c.scrollTop;if(_35!==false){if(lcr){c.scrollLeft=r-c.clientWidth;}} c.scrollLeft=c.scrollLeft;} return this;},scrollChildIntoView:function(_42,_43){Ext.fly(_42,"_scrollChildIntoView").scrollIntoView(this,_43);},autoHeight:function(_44,_45,_46,_47){var _48=this.getHeight();this.clip();this.setHeight(1);setTimeout(function(){var _49=parseInt(this.dom.scrollHeight,10);if(!_44){this.setHeight(_49);this.unclip();if(typeof _46=="function"){_46();}}else{this.setHeight (_48);this.setHeight(_49,_44,_45,function(){this.unclip();if(typeof _46=="function"){_46();}}.createDelegate(this),_47);}}.createDelegate(this),0);return this;},contains:function(el){if(!el){return false;} return D.isAncestor(this.dom,el.dom?el.dom:el);},isVisible:function(_4b){var vis=!(this.getStyle("visibility")=="hidden"||this.getStyle("display")=="none");if(_4b!==true||!vis){return vis;} var p=this.dom.parentNode;while(p&&p.tagName.toLowerCase()!="body"){if(!Ext.fly(p,"_isVisible").isVisible()){return false;} p=p.parentNode;} return true;},select:function(_4e,_4f){return El.select(_4e,_4f,this.dom);},query:function(_50,_51){return Ext.DomQuery.select(_50,this.dom);},child:function(_52,_53){var n= Ext.DomQuery.selectNode(_52,this.dom);return _53?n:Ext.get(n);},down:function(_55,_56){var n=Ext.DomQuery.selectNode(" > "+_55,this.dom);return _56?n:Ext.get(n);},initDD:function(_58,_59,_5a){var dd=new Ext.dd.DD(Ext.id(this.dom),_58,_59);return Ext.apply(dd,_5a);},initDDProxy:function(_5c,_5d,_5e){var dd=new Ext.dd.DDProxy(Ext.id(this.dom),_5c,_5d);return Ext.apply(dd,_5e);},initDDTarget:function(_60,_61,_62){var dd=new Ext.dd.DDTarget(Ext.id(this.dom),_60,_61);return Ext.apply (dd,_62);},setVisible:function(_64,_65){if(!_65||!A){if( this.visibilityMode==El.DISPLAY){this.setDisplayed(_64);}else{ this.fixDisplay();this.dom.style.visibility=_64?"visible":"hidden";}}else{var dom=this.dom;var _67=this.visibilityMode;if(_64){this.setOpacity(0.01 );this.setVisible(true);} this.anim({opacity:{to:(_64?1:0)}},this.preanim(arguments,1),null,0.35 ,"easeIn",function(){if(!_64){if(_67==El.DISPLAY){dom.style.display= "none";}else{dom.style.visibility="hidden";} Ext.get(dom).setOpacity(1);}});} return this;},isDisplayed:function(){return this.getStyle ("display")!="none";},toggle:function(_68){this.setVisible (!this.isVisible(),this.preanim(arguments,0));return this;},setDisplayed:function(_69){if(typeof _69=="boolean"){_69=_69?this.originalDisplay:"none";} this.setStyle("display",_69);return this;},focus:function(){try{ this.dom.focus();} catch(e){} return this;},blur:function(){try{this.dom.blur();} catch(e){} return this;},addClass:function(_6a){if(_6a instanceof Array){for(var i=0,len=_6a.length;idw+_106){x=_104?r.left-w:dw+_106-w;} if(x<_106){x=_104?r.right:_106;} if((y+h)>dh+_107){y=_103?r.top-h:dh+_107-h;} if(y<_107){y=_103?r.bottom:_107;}} return[x,y];},getConstrainToXY:function(){var os={top:0,left:0,bottom:0,right:0};return function(el,_10a,_10b,_10c){el= Ext.get(el);_10b=_10b?Ext.applyIf(_10b,os):os;var vw,vh,vx=0,vy=0;if( el.dom==document.body||el.dom==document){vw=Ext.lib.Dom.getViewWidth();vh= Ext.lib.Dom.getViewHeight();}else{vw=el.dom.clientWidth;vh= el.dom.clientHeight;if(!_10a){var vxy=el.getXY();vx=vxy[0];vy=vxy[1];}} var s=el.getScroll();vx+=_10b.left+s.left;vy+=_10b.top+s.top;vw-=_10b.right;vh-=_10b.bottom;var vr=vx+vw;var vb=vy+vh;var xy=_10c||(!_10a?this.getXY():[this.getLeft(true), this.getTop(true)]);var x=xy[0],y=xy[1];var w=this.dom.offsetWidth,h= this.dom.offsetHeight;var _11a=false;if((x+w)>vr){x=vr-w;_11a=true;} if((y+h)>vb){y=vb-h;_11a=true;} if(x";E.onAvailable(id,function(){var hd= document.getElementsByTagName("head")[0];var re=/(?:]*)?>)((\n|\r|.)*?)(?:<\/script>)/ig;var _13e=/\ssrc=([\'\"])(.*?)\1/i;var _13f=/\stype=([\'\"])(.*?)\1/i;var _140;while(_140=re.exec(html)){var _141=_140[1];var _142=_141?_141.match(_13e):false;if(_142&&_142[2]){var s= document.createElement("script");s.src=_142[2];var _144=_141.match(_13f);if(_144&&_144[2]){s.type=_144[2];} hd.appendChild(s);}else{if(_140[2]&&_140[2].length>0){if(window.execScript){ window.execScript(_140[2]);}else{window.eval(_140[2]);}}}} var el=document.getElementById(id);if(el){el.parentNode.removeChild(el);} if(typeof _139=="function"){_139();}});dom.innerHTML=html.replace(/(?:)((\n|\r|.)*?)(?:<\/script>)/ig,"");return this;},load:function(){var um=this.getUpdater();um.update.apply(um,arguments);return this;},getUpdater:function(){if(!this.updateManager){this.updateManager=new Ext.Updater(this);} return this.updateManager;},unselectable:function(){this.dom.unselectable="on";this.swallowEvent("selectstart",true);this.applyStyles("-moz-user-select:none;-khtml-user-select:none;");this.addClass("x-unselectable");return this;},getCenterXY:function(){return this.getAlignToXY (document,"c-c");},center:function(_147){this.alignTo(_147||document,"c-c");return this;},isBorderBox:function(){return _148[this.dom.tagName.toLowerCase()]||Ext.isBorderBox;},getBox:function(_149,_14a){var xy;if(!_14a){xy=this.getXY();}else{var left=parseInt(this.getStyle("left"),10)||0;var top=parseInt(this.getStyle("top"),10)||0;xy=[left,top];} var el=this.dom,w=el.offsetWidth,h=el.offsetHeight,bx;if(!_149){bx={x:xy[0],y:xy[1],0:xy[0],1:xy[1],width:w,height:h};}else{var l=this.getBorderWidth("l")+this.getPadding("l");var r=this.getBorderWidth("r")+this.getPadding("r");var t=this.getBorderWidth("t")+this.getPadding("t");var b=this.getBorderWidth ("b")+this.getPadding("b");bx={x:xy[0]+l,y:xy[1]+t,0:xy[0]+l,1:xy[1]+t,width:w-(l+r),height:h-(t+b)};} bx.right=bx.x+bx.width;bx.bottom=bx.y+bx.height;return bx;},getFrameWidth:function(_156,_157){return _157&&Ext.isBorderBox?0:( this.getPadding(_156)+this.getBorderWidth(_156));},setBox:function(box,_159,_15a){var w=box.width,h=box.height ;if((_159&&!this.autoBoxAdjust)&&!this.isBorderBox()){w-=( this.getBorderWidth("lr")+this.getPadding("lr"));h-=(this.getBorderWidth ("tb")+this.getPadding("tb"));} this.setBounds(box.x,box.y,w,h,this.preanim(arguments,2));return this;},repaint:function(){var dom=this.dom ;this.addClass("x-repaint");setTimeout(function(){Ext.get(dom).removeClass("x-repaint");},1);return this;},getMargins:function(side){if(!side){return{top:parseInt(this.getStyle ("margin-top"),10)||0,left:parseInt(this.getStyle ("margin-left"),10)||0,bottom:parseInt(this.getStyle ("margin-bottom"),10)||0,right:parseInt(this.getStyle("margin-right"),10)||0};}else{return this.addStyles(side,El.margins);}},addStyles:function(_15f,_160){var val=0,v,w;for(var i=0,len=_15f.length;i=0?w:-1*w);}}} return val;},createProxy:function(_166,_167,_168){_166=typeof _166=="object"?_166:{tag:"div",cls:_166};var _169;if(_167){_169= Ext.DomHelper.append(_167,_166,true);}else{_169=Ext.DomHelper.insertBefore( this.dom,_166,true);} if(_168){_169.setBox(this.getBox());} return _169;},mask:function(msg,_16b){if(this.getStyle ("position")=="static"){this.setStyle("position","relative");} if(this._mask&&(!this._mask.dom||!this._mask.dom.parentNode)){this.unmask (true);} if(!this._mask){this._mask=Ext.DomHelper.append(this.dom ,{cls:"ext-el-mask"},true);} this.addClass("x-masked");this._mask.setDisplayed(true);if(typeof msg=="string"){if(!this._maskMsg){this._maskMsg=Ext.DomHelper.append( this.dom,{cls:"ext-el-mask-msg",cn:{tag:"div"}},true);} var mm=this._maskMsg;mm.dom.className=_16b?"ext-el-mask-msg "+_16b:"ext-el-mask-msg";mm.dom.firstChild.innerHTML=msg;mm.setDisplayed(true);mm.center(this);} if(Ext.isIE&&!(Ext.isIE7&&Ext.isStrict )&&this.getStyle("height")=="auto"){this._mask.setHeight(this.getHeight());} return this._mask;},unmask:function(_16d){if(this._mask){if(_16d===true){if(this._maskMsg){this._maskMsg.remove();delete this._maskMsg;} this._mask.remove();delete this._mask;}else{this._mask.setDisplayed(false);if(this._maskMsg){this._maskMsg.setDisplayed(false);}}} this.removeClass("x-masked");},isMasked:function(){return this._mask&&this._mask.isVisible();},createShim:function(){var el= document.createElement ("iframe");el.frameBorder="no";el.className="ext-shim";if( Ext.isIE&&Ext.isSecure){el.src=Ext.SSL_SECURE_URL;} var shim=Ext.get(this.dom.parentNode.insertBefore(el,this.dom));shim.autoBoxAdjust=false;return shim;},remove:function(){if(this.dom.parentNode){ this.dom.parentNode.removeChild(this.dom);} delete El.cache[this.dom.id];},addClassOnOver:function(_170,_171){this.on ("mouseover",function(){Ext.fly(this,"_internal").addClass(_170);},this.dom);var _172=function(e){if(_171!==true||!e.within(this,true)){Ext.fly (this,"_internal").removeClass(_170);}};this.on("mouseout",_172,this.dom);return this;},addClassOnFocus:function(_174){this.on("focus",function(){Ext.fly (this,"_internal").addClass(_174);},this.dom);this.on("blur",function(){ Ext.fly(this,"_internal").removeClass(_174);},this.dom);return this;},addClassOnClick:function(_175){var dom=this.dom ;this.on("mousedown",function(){Ext.fly(dom,"_internal").addClass(_175);var d=Ext.getDoc();var fn=function(){Ext.fly(dom,"_internal").removeClass(_175);d.removeListener("mouseup",fn);};d.on("mouseup",fn);});return this;},swallowEvent:function(_179,_17a){var fn=function(e){e.stopPropagation ();if(_17a){e.preventDefault();}};if(_179 instanceof Array){for(var i=0,len=_179.length;idom.clientHeight||dom.scrollWidth>dom.clientWidth;},scrollTo:function(side,_1aa,_1ab){var prop=side.toLowerCase()=="left"?"scrollLeft":"scrollTop";if(!_1ab||!A){ this.dom[prop]=_1aa;}else{var to=prop=="scrollLeft"?[_1aa,this.dom.scrollTop ]:[this.dom.scrollLeft,_1aa];this.anim({scroll:{"to":to}},this.preanim (arguments,2),"scroll");} return this;},scroll:function(_1ae,_1af,_1b0){if(!this.isScrollable()){return;} var el=this.dom;var l=el.scrollLeft,t=el.scrollTop;var w=el.scrollWidth,h= el.scrollHeight;var cw=el.clientWidth,ch=el.clientHeight;_1ae=_1ae.toLowerCase();var _1b8=false;var a=this.preanim(arguments,2);switch(_1ae){case"l":case"left":if(w-l>cw){var v=Math.min(l+_1af,w-cw);this.scrollTo("left",v,a);_1b8=true;} break;case"r":case"right":if(l>0){var v=Math.max (l-_1af,0);this.scrollTo("left",v,a);_1b8=true;} break;case"t":case"top":case"up":if(t>0){var v=Math.max (t-_1af,0);this.scrollTo("top",v,a);_1b8=true;} break;case"b":case"bottom":case"down":if(h-t>ch){var v=Math.min (t+_1af,h-ch);this.scrollTo("top",v,a);_1b8=true;} break;} return _1b8;},translatePoints:function(x,y){if(typeof x=="object"||x instanceof Array){y=x[1];x=x[0];} var p=this.getStyle("position");var o=this.getXY();var l=parseInt( this.getStyle("left"),10);var t=parseInt(this.getStyle ("top"),10);if(isNaN(l)){l=(p=="relative")?0:this.dom.offsetLeft;} if(isNaN(t)){t=(p=="relative")?0:this.dom.offsetTop;} return{left:(x-o[0]+l),top:(y-o[1]+t)};},getScroll:function(){var d=this.dom ,doc=document;if(d==doc||d==doc.body){var l,t;if(Ext.isIE&&Ext.isStrict){l= doc.documentElement.scrollLeft||(doc.body.scrollLeft||0);t= doc.documentElement.scrollTop||(doc.body.scrollTop||0);}else{l= window.pageXOffset||(doc.body.scrollLeft||0);t=window.pageYOffset||( doc.body.scrollTop||0);} return{left:l,top:t};}else{return{left:d.scrollLeft,top:d.scrollTop};}},getColor:function(attr,_1c6,_1c7){var v=this.getStyle(attr);if(!v||v=="transparent"||v=="inherit"){return _1c6;} var _1c9=typeof _1c7=="undefined"?"#":_1c7;if(v.substr(0,4)=="rgb("){var rvs=v.slice(4,v.length-1).split(",");for(var i=0;i<3;i++){var h=parseInt(rvs[i]).toString(16);if(h<16){h="0"+h;} _1c9+=h;}}else{if(v.substr(0,1)=="#"){if(v.length==4){for(var i=1;i<4;i++){var c=v.charAt(i);_1c9+=c+c;}}else{if(v.length==7){_1c9+= v.substr(1);}}}} return(_1c9.length>5?_1c9.toLowerCase():_1c6);},boxWrap:function(cls){cls=cls||"x-box";var el=Ext.get(this.insertHtml("beforeBegin",String.format("
"+El.boxMarkup+"
",cls)));el.child("."+cls+"-mc").dom.appendChild( this.dom);return el;},getAttributeNS:Ext.isIE?function(ns,name){var d= this.dom;var type=typeof d[ns+":"+name];if(type!="undefined"&&type!="unknown"){return d[ns+":"+name];} return d[name];}:function(ns,name){var d=this.dom;return d.getAttributeNS(ns,name)||d.getAttribute(ns+":"+name)||d.getAttribute(name)||d[name];}};var ep=El.prototype;ep.on=ep.addListener;ep.mon=ep.addListener ;ep.getUpdateManager=ep.getUpdater;ep.un=ep.removeListener;ep.autoBoxAdjust=true;El.unitPattern=/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i;El.addUnits=function(v,_1d9){if(v===""||v=="auto"){return v;} if(v===undefined){return"";} if(typeof v=="number"||!El.unitPattern.test(v)){return v+(_1d9||"px");} return v;};El.boxMarkup="
";El.VISIBILITY=1;El.DISPLAY=2;El.borders={l:"border-left-width",r:"border-right-width",t:"border-top-width",b:"border-bottom-width"};El.paddings={l:"padding-left",r:"padding-right",t:"padding-top",b:"padding-bottom"};El.margins={l:"margin-left",r:"margin-right",t:"margin-top",b:"margin-bottom"};El.cache={};var _1da;El.get=function(el){var ex,elm,id;if(!el){return null;} if(typeof el=="string"){if(!(elm=document.getElementById(el))){return null;} if(ex=El.cache[el]){ex.dom=elm;}else{ex=El.cache[el]=new El(elm);} return ex;}else{if(el.tagName){if(!(id=el.id)){id=Ext.id(el);} if(ex=El.cache[id]){ex.dom=el;}else{ex=El.cache[id]=new El(el);} return ex;}else{if(el instanceof El){if(el!=_1da){ el.dom=document.getElementById(el.id)||el.dom;El.cache[el.id]=el;} return el;}else{if(el.isComposite){return el;}else{if(el instanceof Array){return El.select(el);}else{if(el==document){if(!_1da){var f=function(){};f.prototype=El.prototype;_1da=new f();_1da.dom=document;} return _1da;}}}}}} return null;};El.uncache=function(el){for(var i=0,a=arguments,len=a.length;i0){_30();}else{el.afterFx(o);}});};_30.call(this);});return this;},pause:function(_33){var el=this.getFxEl();var o={};el.queueFx(o,function(){setTimeout(function(){el.afterFx(o);},_33*1000);});return this;},fadeIn:function(o){var el=this.getFxEl ();o=o||{};el.queueFx(o,function(){this.setOpacity(0);this.fixDisplay();this.dom.style.visibility="visible";var to=o.endOpacity||1;arguments.callee.anim=this.fxanim ({opacity:{to:to}},o,null,0.5,"easeOut",function(){if(to==1){ this.clearOpacity();} el.afterFx(o);});});return this;},fadeOut:function(o){var el=this.getFxEl ();o=o||{};el.queueFx(o,function(){arguments.callee.anim=this.fxanim ({opacity:{to:o.endOpacity||0}},o,null,0.5,"easeOut",function(){if( this.visibilityMode==Ext.Element.DISPLAY||o.useDisplay){ this.dom.style.display="none";}else{this.dom.style.visibility="hidden";} this.clearOpacity();el.afterFx(o);});});return this;},scale:function(w,h,o){ this.shift(Ext.apply({},o,{width:w,height:h}));return this;},shift:function(o){var el=this.getFxEl();o=o||{};el.queueFx(o,function(){var a={},w=o.width,h=o.height,x=o.x,y=o.y,op=o.opacity;if(w!==undefined){ a.width={to:this.adjustWidth(w)};} if(h!==undefined){a.height={to:this.adjustHeight(h)};} if(x!==undefined||y!==undefined){a.points={to:[x!==undefined?x:this.getX (),y!==undefined?y:this.getY()]};} if(op!==undefined){a.opacity={to:op};} if(o.xy!==undefined){a.points={to:o.xy};} arguments.callee.anim=this.fxanim(a,o,"motion",0.35,"easeOut",function(){ el.afterFx(o);});});return this;},ghost:function(_46,o){var el=this.getFxEl();o=o||{};el.queueFx(o,function(){_46=_46||"b";var r=this.getFxRestore();var w=this.getWidth(),h=this.getHeight();var st= this.dom.style;var _4d=function(){if(o.useDisplay){el.setDisplayed (false);}else{el.hide();} el.clearOpacity();el.setPositioning(r.pos);st.width=r.width;st.height= r.height;el.afterFx(o);};var a={opacity:{to:0},points:{}},pt=a.points ;switch(_46.toLowerCase()){case"t":pt.by=[0,-h];break;case"l":pt.by= [-w,0];break;case"r":pt.by=[w,0];break;case"b":pt.by=[0,h];break;case"tl": pt.by=[-w,-h];break;case"bl":pt.by=[-w,h];break;case"br":pt.by= [w,h];break;case"tr":pt.by=[w,-h];break;} arguments.callee.anim=this.fxanim(a,o,"motion",0.5,"easeOut",_4d);});return this;},syncFx:function(){this.fxDefaults=Ext.apply(this.fxDefaults||{},{block:false,concurrent:true,stopFx:false});return this;},sequenceFx:function(){this.fxDefaults=Ext.apply(this.fxDefaults||{},{block:false,concurrent:false,stopFx:false});return this;},nextFx:function(){var ef=this.fxQueue[0];if(ef){ef.call(this);}},hasActiveFx:function(){return this.fxQueue&&this.fxQueue[0];},stopFx:function(){if(this.hasActiveFx()){var cur=this.fxQueue[0];if(cur&&cur.anim&&cur.anim.isAnimated()){this.fxQueue= [cur];cur.anim.stop(true);}} return this;},beforeFx:function(o){if(this.hasActiveFx()&&!o.concurrent){if( o.stopFx){this.stopFx();return true;} return false;} return true;},hasFxBlock:function(){var q=this.fxQueue;return q&&q[0]&&q[0].block;},queueFx:function(o,fn){if(!this.fxQueue){this.fxQueue= [];} if(!this.hasFxBlock()){Ext.applyIf(o,this.fxDefaults);if(!o.concurrent){var run=this.beforeFx(o);fn.block=o.block;this.fxQueue.push(fn);if(run){ this.nextFx();}}else{fn.call(this);}} return this;},fxWrap:function(pos,o,vis){var _5a;if(!o.wrap||!(_5a=Ext.get( o.wrap))){var _5b;if(o.fixPosition){_5b=this.getXY();} var div=document.createElement("div");div.style.visibility=vis;_5a=Ext.get( this.dom.parentNode.insertBefore(div,this.dom ));_5a.setPositioning(pos);if(_5a.getStyle("position")=="static"){_5a.position("relative");} this.clearPositioning("auto");_5a.clip();_5a.dom.appendChild(this.dom );if(_5b){_5a.setXY(_5b);}} return _5a;},fxUnwrap:function(_5d,pos,o){this.clearPositioning ();this.setPositioning(pos);if(!o.wrap){_5d.dom.parentNode.insertBefore( this.dom,_5d.dom);_5d.remove();}},getFxRestore:function(){var st= this.dom.style;return{pos:this.getPositioning(),width:st.width,height: st.height};},afterFx:function(o){if(o.afterStyle){this.applyStyles( o.afterStyle);} if(o.afterCls){this.addClass(o.afterCls);} if(o.remove===true){this.remove();} Ext.callback(o.callback,o.scope,[this]);if(!o.concurrent){this.fxQueue.shift();this.nextFx();}},getFxEl:function(){return Ext.get(this.dom);},fxanim:function(_62,opt,_64,_65,_66,cb){_64=_64||"run";opt=opt||{};var _68=Ext.lib.Anim[_64](this.dom,_62,(opt.duration||_65)||0.35,( opt.easing||_66)||"easeOut",function(){Ext.callback(cb,this);},this);opt.anim=_68;return _68;}};Ext.Fx.resize=Ext.Fx.scale;Ext.apply(Ext.Element.prototype,Ext.Fx); Ext.CompositeElement=function(_1){this.elements=[];this.addElements(_1);};Ext.CompositeElement.prototype={isComposite:true,addElements:function(_2){if(!_2){return this;} if(typeof _2=="string"){_2=Ext.Element.selectorFunction(_2);} var _3=this.elements;var _4=_3.length-1;for(var i=0,_6=_2.length;i<_6;i++){_3[++_4]=Ext.get(_2[i]);} return this;},fill:function(_7){this.elements=[];this.add(_7);return this;},filter:function(_8){var _9=[];this.each(function(el){if(el.is (_8)){_9[_9.length]=el.dom;}});this.fill(_9);return this;},invoke:function(fn,_c){var _d=this.elements;for(var i=0,_f=_d.length;i<_f;i++){Ext.Element.prototype[fn].apply(_d[i],_c);} return this;},add:function(els){if(typeof els=="string"){this.addElements( Ext.Element.selectorFunction(els));}else{if(els.length!==undefined){ this.addElement