Test Output Index

testFocusURL

Setup after run:
HtmlFixture
WARNING: no focus element
Escape HTML:onon
Javascript:onon
Display HTML:onon
Show SSL Errors:offoff
Show Javascript Errors:onon
Preserve:onon
Set Browser Versiondefault
Web Client restarted with new browser version. UserAgent = Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
Clear
web client restarted, cookies cleared
fitnesse table before run:
HtmlFixture
Focushttp://firstthePage
fitnesse table after run:
HtmlFixture
WARNING: no focus element
Focushttp://first
loaded time: 0 milliseconds
thePage<?xml version="1.0" encoding="ISO-8859-1"?>
<html id="htmlTag">
  <head id="headTag">
    <title id="titleTag">
         This is the title  
    </title>
  </head>
  <body id="bodyTag">
     This is the body
  </body>
</html>

testFocusURLFail

Setup after run:
HtmlFixture
WARNING: no focus element
Escape HTML:onon
Javascript:onon
Display HTML:onon
Show SSL Errors:offoff
Show Javascript Errors:onon
Preserve:onon
Set Browser Versiondefault
Web Client restarted with new browser version. UserAgent = Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
Clear
web client restarted, cookies cleared
fitnesse table before run:
HtmlFixture
Focushttp://notfoundthePage
fitnesse table after run:
HtmlFixture
WARNING: no focus element
Focushttp://notfound
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 Not Found for http://notfound at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:537) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:354) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:403) at com.jbergin.HtmlFixture.loadElement(HtmlFixture.java:2264) at com.jbergin.HtmlFixture.cmd_focus(HtmlFixture.java:718) 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.jbergin.HtmlFixture.doRow(HtmlFixture.java:298) at fit.Fixture.doRows(Fixture.java:165) at com.jbergin.HtmlFixture.doTable(HtmlFixture.java:247) at com.jbergin.HtmlFixtureTestCase.prepareTest(HtmlFixtureTestCase.java:334) at com.jbergin.FocusTest.testFocusURLFail(FocusTest.java:46) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) at org.apache.maven.surefire.Surefire.run(Surefire.java:132) 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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)

This element is not in storage.
thePage

testFocusElement

Setup after run:
HtmlFixture
WARNING: no focus element
Escape HTML:onon
Javascript:onon
Display HTML:onon
Show SSL Errors:offoff
Show Javascript Errors:onon
Preserve:onon
Set Browser Versiondefault
Web Client restarted with new browser version. UserAgent = Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
Clear
web client restarted, cookies cleared
fitnesse table before run:
HtmlFixture
http://firstthePage
Element FocusbodyTagbodytheBody
TextThis is the body
FocusthePage
TextThis is the title This is the body
Element FocustitleTagtheTitle
TextThis is the title
FocustheBody
TextThis is the body
fitnesse table after run:
HtmlFixture
http://first
loaded time: 0 milliseconds
thePage<?xml version="1.0" encoding="ISO-8859-1"?>
<html id="htmlTag">
  <head id="headTag">
    <title id="titleTag">
         This is the title  
    </title>
  </head>
  <body id="bodyTag">
     This is the body
  </body>
</html>
Element FocusbodyTag
bodytheBody<body id="bodyTag">
   This is the body
</body>
TextThis is the body
FocusthePage
TextThis is the title This is the body
Element FocustitleTag
titletheTitle
TextThis is the title
FocustheBody<body id="bodyTag">
   This is the body
</body>
TextThis is the body

testFocusElementFail

Setup after run:
HtmlFixture
WARNING: no focus element
Escape HTML:onon
Javascript:onon
Display HTML:onon
Show SSL Errors:offoff
Show Javascript Errors:onon
Preserve:onon
Set Browser Versiondefault
Web Client restarted with new browser version. UserAgent = Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
Clear
web client restarted, cookies cleared
fitnesse table before run:
HtmlFixture
http://firstthePage
FocusdoesNotExist
fitnesse table after run:
HtmlFixture
http://first
loaded time: 0 milliseconds
thePage<?xml version="1.0" encoding="ISO-8859-1"?>
<html id="htmlTag">
  <head id="headTag">
    <title id="titleTag">
         This is the title  
    </title>
  </head>
  <body id="bodyTag">
     This is the body
  </body>
</html>
FocusdoesNotExist
This element is not in storage.