Author: dolander Date: Sun Jan 16 07:54:29 2005 New Revision: 125357 URL: http://svn.apache.org/viewcvs?view=rev&rev=125357 Log: Jiri 163 fix
There are two types of anchor tags used to navigate with in a page. If an anchor just sets the tagId an not an href or action, it represents a location on the page. For J163 the fix was to output the JavaScript lookup methods to find the anchor. In addition, if an anchor sets the linkName attribute, this is considered a fragment identifier and may be qualified with the scope. If the linkName starts with the '#' it will not be qualified, otherwise it will go through the same qualification as a tagId to construct the fragment identifier. Added two DRTs. Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/Controller.jpf incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/Controller.jpf incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapAnchorLink.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/checkboxResults.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/formLabelResults.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/imageResults.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/radioResults.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/selectResults.jsp incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlCheckBox.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlImage.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlRadio.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlSelect.xml Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java&r1=125356&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java Sun Jan 16 07:54:29 2005 @@ -167,7 +167,11 @@ } /** - * Sets the link name of the Anchor. + * Sets the link name of the Anchor. The link name is treated as a fragment + * identifier and may or may not contain the "#" character. If it does, the + * link name will not be qualified into a ScriptContainer. If the link name + * does not contain the "#" the normal tagId qualification will take place + * to produce the actual fragment identifier. * @param linkName - the link name for the Anchor. * @jsptagref.attributedescription An internal place on the page to go to. * @jsptagref.databindable false Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java&r1=125356&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java Sun Jan 16 07:54:29 2005 @@ -12,10 +12,8 @@ import org.apache.beehive.netui.util.logging.Logger; import org.apache.struts.taglib.html.Constants; -import javax.servlet.ServletContext; import javax.servlet.ServletRequest; import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; import javax.servlet.jsp.JspException; import java.net.URISyntaxException; import java.util.HashMap; @@ -303,7 +301,7 @@ // if only the _linkName or _tagId is set then we are creating the name attribute only. if (have == 0 && tagId != null) { - return createNameAnchor(request, tagId, trb); + return createNameAnchor(request, trb); } // if the anchor is submitting a consider this a submit level problem @@ -395,9 +393,8 @@ } if (uri == null) { - if (hasErrors()) { + if (hasErrors()) return false; - } } else { //TODO... shouldn't this also be a call to response.encodeURL(uri.toString()) for session ID? @@ -463,26 +460,42 @@ } /** - * @param tagId + * + * @param req + * @param trb * @return */ - private boolean createNameAnchor(ServletRequest req, String tagId, TagRenderingBase trb) + private boolean createNameAnchor(ServletRequest req, TagRenderingBase trb) { + assert(_state.id != null) : "tagId must not be nulll"; + WriteRenderAppender writer = new WriteRenderAppender(pageContext); - _state.name = tagId; + _state.id = getIdForTagId(_state.id); + renderDefaultNameAndId(_state,_state.id,null); + _state.name = _state.id; trb = TagRenderingBase.Factory.getRendering(TagRenderingBase.ANCHOR_TAG, req); trb.doStartTag(writer, _state); return !hasErrors(); } + /** + * This method will output an anchor with a fragment identifier. This should + * be a valid ID within the document. If the name begins with the "#" we will + * not qualify the set link name. If the name doesn't begin with #, then we + * will qualify it into the current scope container. + * @param req + * @param trb + * @return + */ private boolean createPageAnchor(ServletRequest req, TagRenderingBase trb) { _linkName = _linkName.trim(); if (_linkName.charAt(0) != '#') { - _state.href = "#" + _linkName; + _state.href = "#" + getIdForTagId(_linkName); } - else + else { _state.href = _linkName; + } WriteRenderAppender writer = new WriteRenderAppender(pageContext); trb = TagRenderingBase.Factory.getRendering(TagRenderingBase.ANCHOR_TAG, req); Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java&r1=125356&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java Sun Jan 16 07:54:29 2005 @@ -131,7 +131,7 @@ * <p>The second parameter ensures that the JavaScript function * begins its search within the correct Portlet scope. Pass the * JavaScript keyword <code>this</code> as the second parameter. - * + * * For detailed information on using the function * <code>getNetuiTagName( tagId, tag )</code> see * <a href="[EMAIL PROTECTED]/../guide/netui/guide/conUsingJavaScript.html"> @@ -424,8 +424,7 @@ if (name.equals(CLASS)) { tsh.styleClass = value; return; - } - else if (name.equals(STYLE)) { + } else if (name.equals(STYLE)) { tsh.style = value; return; } @@ -502,8 +501,7 @@ if (TagConfig.isLegacyJavaScript()) { if (!ctrlState) { idScript = mapLegacyTagId(id, state.id); - } - else { + } else { AbstractHtmlControlState cState = (AbstractHtmlControlState) state; if (cState.name != null) idScript = mapLegacyTagId(id, cState.name); @@ -513,26 +511,34 @@ } // map the tagId to the real id - if (TagConfig.isDefaultJavaScript()) { - String script; - String name = null; - if (ctrlState) { - AbstractHtmlControlState cState = (AbstractHtmlControlState) state; - name = cState.name; - } - script = mapTagId(id, state.id, name); + String name = null; + if (ctrlState) { + AbstractHtmlControlState cState = (AbstractHtmlControlState) state; + name = cState.name; + } - // if we wrote out script in legacy mode, we need to make sure we preserve it. + String script = renderDefaultNameAndId(state, id, name); + if (script != null) { if (idScript != null) { idScript = idScript + script; - } - else { + } else { idScript = script; } } return idScript; } + protected String renderDefaultNameAndId(AbstractHtmlState state, String id, String name) + { + + // map the tagId to the real id + String script = null; + if (TagConfig.isDefaultJavaScript()) { + script = mapTagId(id, state.id, name); + } + return script; + } + /** * Free the state variables of this base class. */ @@ -571,6 +577,7 @@ { IScriptReporter scriptReporter = getScriptReporter(); if (scriptReporter != null) { + //System.err.println("tagid:" + tagId + " RealId:" + realId); scriptReporter.addTagIdMappings(tagId, realId, realName); return null; } Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/Controller.jpf Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/Controller.jpf?view=auto&rev=125357 ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/Controller.jpf Sun Jan 16 07:54:29 2005 @@ -0,0 +1,39 @@ +package bugs.j163; + +import javax.servlet.http.HttpSession; +import org.apache.beehive.netui.pageflow.FormData; +import org.apache.beehive.netui.pageflow.PageFlowController; +import org.apache.beehive.netui.pageflow.Forward; +import org.apache.beehive.netui.pageflow.annotations.Jpf; +import org.apache.beehive.netui.tags.tree.TreeElement; + +/** + * This is the default controller for a blank web application. + */ [EMAIL PROTECTED] +public class Controller extends PageFlowController +{ + @Jpf.Action( + forwards={ + @Jpf.Forward(name="index", path="index.jsp") + } + ) + protected Forward begin() + { + return new Forward("index"); + } + + /** + * Callback that is invoked when this controller instance is created. + */ + protected void onCreate() + { + } + + /** + * Callback that is invoked when this controller instance is destroyed. + */ + protected void onDestroy(HttpSession session) + { + } +} Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp?view=auto&rev=125357 ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp Sun Jan 16 07:54:29 2005 @@ -0,0 +1,40 @@ +<%@ page language="java" contentType="text/html;charset=UTF-8"%> +<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%> +<netui:html> + <head> + <netui:base/> + </head> + <netui:body> + <p style="color:green">This test verifies that an anchor with only a + tagId will produce the proper id. Anchor with only the tagId set, no + href or action, etc., produce an anchor that can be used as a location + for navigating inside of the page. Another anchor can set the + linkName attribute to produce a fragment identifier which targets the + first anchor. + </p><p style="color:green"> + Because the tagId is scoped, the linkName should also be scoped. + An anchor with only a tagId will produce a name attribute, but this is + not added to the name table. The reason for this, is that the name + written for backward compatbility with old browsers. + </p> + <netui:scriptContainer scopeId="one" > + <netui:anchor tagId="top"/> + <h4>Anchor Fragment Identifier Test</h4> + <netui:anchor linkName="bottom">Bottom</netui:anchor> + <div style="border: thin solid;height: 400px;"> + <p id="javaOut"></p> + </div> + <netui:anchor tagId="bottom"/> + <netui:anchor linkName="top">Top</netui:anchor> + </netui:scriptContainer> + </netui:body> + <script language="JavaScript" type="text/JavaScript"> + + var p = document.getElementById("javaOut"); + var val = "<b>Document Access</b><br>"; + var anchorTag = document.getElementById(lookupIdByTagId("top",p)); + val = val + "Anchor Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Anchor ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; + p.innerHTML = val; + </script> +</netui:html> \ No newline at end of file Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/Controller.jpf Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/Controller.jpf?view=auto&rev=125357 ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/Controller.jpf Sun Jan 16 07:54:29 2005 @@ -0,0 +1,39 @@ +package idmap.anchorLink; + +import javax.servlet.http.HttpSession; +import org.apache.beehive.netui.pageflow.FormData; +import org.apache.beehive.netui.pageflow.PageFlowController; +import org.apache.beehive.netui.pageflow.Forward; +import org.apache.beehive.netui.pageflow.annotations.Jpf; +import org.apache.beehive.netui.tags.tree.TreeElement; + +/** + * This is the default controller for a blank web application. + */ [EMAIL PROTECTED] +public class Controller extends PageFlowController +{ + @Jpf.Action( + forwards={ + @Jpf.Forward(name="index", path="index.jsp") + } + ) + protected Forward begin() + { + return new Forward("index"); + } + + /** + * Callback that is invoked when this controller instance is created. + */ + protected void onCreate() + { + } + + /** + * Callback that is invoked when this controller instance is destroyed. + */ + protected void onDestroy(HttpSession session) + { + } +} Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp?view=auto&rev=125357 ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp Sun Jan 16 07:54:29 2005 @@ -0,0 +1,48 @@ +<%@ page language="java" contentType="text/html;charset=UTF-8"%> +<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%> +<netui:html> + <head> + <netui:base/> + </head> + <netui:body> + <netui:anchor tagId="top"/> + <p style="color:green">This test verifies the behavior of anchors + acting as fragment identifiers. Anchor which only set the tagId + act location that may be the target of another anchor. When the + linkName attribute is set, this acts to target a named anchor by + creating a fragment identifier. In this case the link name may or + may not be qualified into a script container. If the link name does + not start with the '#', it will be qualified the same way a tagId + is qualified. If link name begins with '#' it is output as is. + </p> + <p style="color:green">In this test there are two anchors specifying + 'top' as their tagId value. One is above this text and the other + is inside a scoped ScriptContainer and appears below. At the bottom + of the page, two link go to the real top and the test top. + </p> + <div style="border: thin solid;height: 100px;"></div> + <netui:scriptContainer scopeId="one" > + <netui:anchor tagId="top"/> + <h4>Fragment Identifiers and Scoped Ids</h4> + <netui:anchor linkName="bottom">Bottom</netui:anchor> + <div style="border: thin solid;height: 400px;"> + <p id="javaOut"></p> + </div> + <netui:anchor tagId="bottom"/> + <netui:anchor linkName="top">Test Top</netui:anchor><br> + <netui:anchor linkName="#top">Real Top</netui:anchor> + </netui:scriptContainer> + </netui:body> + <script language="JavaScript" type="text/JavaScript"> + + var p = document.getElementById("javaOut"); + var val = "<b>Document Access</b><br>"; + var anchorTag = document.getElementById(lookupIdByTagId("top",p)); + val = val + "Test Top ScopeId: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Test Top ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; + anchorTag = document.getElementById(lookupIdByTagId("top")); + val = val + "Real Top Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Real Top ID: <b>" + lookupIdByTagId("top") + "</b><br/>"; + p.innerHTML = val; + </script> +</netui:html> \ No newline at end of file Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/checkboxResults.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/checkboxResults.jsp?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/checkboxResults.jsp&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/checkboxResults.jsp&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/checkboxResults.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/checkboxResults.jsp Sun Jan 16 07:54:29 2005 @@ -17,7 +17,6 @@ </style> </head> <netui:body> - <netui:anchor tagId="top"/> <table width="400pt"><tr><td align="left"><h1 class="normalHead">Checkbox Results</h1></td> <td align="right"><netui:anchor styleClass="normal" action="goCheckboxTest">Input Tests</netui:anchor></td> </tr></table> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/formLabelResults.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/formLabelResults.jsp?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/formLabelResults.jsp&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/formLabelResults.jsp&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/formLabelResults.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/formLabelResults.jsp Sun Jan 16 07:54:29 2005 @@ -16,7 +16,6 @@ </style> </head> <netui:body> - <netui:anchor tagId="top"/> <table><tr><td align="left"><h1 class="normalHead">Select Post Results</h1></td> <td align="right"><netui:anchor styleClass="normal" action="goFormLabelTest">Form Label Tests</netui:anchor></td> </tr></table> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/imageResults.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/imageResults.jsp?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/imageResults.jsp&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/imageResults.jsp&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/imageResults.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/imageResults.jsp Sun Jan 16 07:54:29 2005 @@ -17,7 +17,6 @@ </style> </head> <netui:body> - <netui:anchor tagId="top"/> <table><tr><td align="left"><h1 class="normalHead">Image Post Results</h1></td> <td align="right"><netui:anchor styleClass="normal" action="goImageTest">Image Tests</netui:anchor></td> </tr></table> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/radioResults.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/radioResults.jsp?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/radioResults.jsp&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/radioResults.jsp&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/radioResults.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/radioResults.jsp Sun Jan 16 07:54:29 2005 @@ -17,7 +17,6 @@ </style> </head> <netui:body> - <netui:anchor tagId="top"/> <table width="400"><tr><td align="left"><h1 class="normalHead">Radio Post Results</h1></td> <td align="right"><netui:anchor styleClass="normal" action="goRadioTest">Radio Tests</netui:anchor></td> </tr></table> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/selectResults.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/selectResults.jsp?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/selectResults.jsp&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/selectResults.jsp&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/selectResults.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/xhtml/selectResults.jsp Sun Jan 16 07:54:29 2005 @@ -17,7 +17,6 @@ </style> </head> <netui:body> - <netui:anchor tagId="top"/> <table><tr><td align="left"><h1 class="normalHead">Select Post Results</h1></td> <td align="right"><netui:anchor styleClass="normal" action="goSelectTest">Select Tests</netui:anchor></td> </tr></table> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml Sun Jan 16 07:54:29 2005 @@ -3112,6 +3112,20 @@ </features> </test> <test> + <name>IdMapAnchorLink</name> + <description>Verify Anchor tagId (only) and linkName are qualified correctly</description> + <webapp>coreWeb</webapp> + <categories> + <category>bvt</category> + <category>tags</category> + </categories> + <features> + <feature>JavaScript</feature> + <feature>Anchor</feature> + <feature>scopeId</feature> + </features> + </test> + <test> <name>IdMapForm</name> <description>Test of setting a tagId on a Form and looking it up</description> <webapp>coreWeb</webapp> @@ -3355,6 +3369,15 @@ <feature>Iterators</feature> <feature>Console Logging</feature> </features> + </test> + <test> + <name>J163</name> + <description>Verify that Anchors with only TagId produce lookup code.</description> + <webapp>coreWeb</webapp> + <categories> + <category>bvt</category> + <category>jiriBugs</category> + </categories> </test> <test> <name>J166</name> Added: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapAnchorLink.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapAnchorLink.xml?view=auto&rev=125357 ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapAnchorLink.xml Sun Jan 16 07:54:29 2005 @@ -0,0 +1,295 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> + <ses:sessionName>IdMapAnchorLink</ses:sessionName> + <ses:tester>Daryl</ses:tester> + <ses:startDate>15 Jan 2005, 11:05:02.343 PM MST</ses:startDate> + <ses:description>Verify that Anchor LinkName property is scoped properly.</ses:description> + <ses:tests> + <ses:test> + <ses:testNumber>1</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/idmap/anchorLink/Controller.jpf</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>------------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <base href="http://localhost:8080/coreWeb/idmap/anchorLink/index.jsp"> + </head> + <body> + <a id="top" name="top"></a> + <p style="color:green">This test verifies the behavior of anchors + acting as fragment identifiers. Anchor which only set the tagId + act location that may be the target of another anchor. When the + linkName attribute is set, this acts to target a named anchor by + creating a fragment identifier. In this case the link name may or + may not be qualified into a script container. If the link name does + not start with the '#', it will be qualified the same way a tagId + is qualified. If link name begins with '#' it is output as is. + </p> + <p style="color:green">In this test there are two anchors specifying + 'top' as their tagId value. One is above this text and the other + is inside a scoped ScriptContainer and appears below. At the bottom + of the page, two link go to the real top and the test top. + </p> + <div style="border: thin solid;height: 100px;"></div> + <div netui:scopeId="one" > + <a id="one.top" name="one.top"></a> + <h4>Fragment Identifiers and Scoped Ids</h4> + <a href="#one.bottom">Bottom</a> + <div style="border: thin solid;height: 400px;"> + <p id="javaOut"></p> + </div> + <a id="one.bottom" name="one.bottom"></a> + <a href="#one.top">Test Top</a><br> + <a href="#top">Real Top</a> + </div> + +<script language="JavaScript" type="text/JavaScript"> +<!-- + +// **** This section contains functions typically run as events **** + + +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var scopeId = lookupScopeId(tag,"."); + return (scopeId == "") ? id : scopeId + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupScopeId(tag,sep) +{ + var val = ""; + while (tag != null && tag.getAttribute != null) { + var attrVal = tag.getAttribute("netui:scopeId"); + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} +--> +</script> + + + </body> + <script language="JavaScript" type="text/JavaScript"> + + var p = document.getElementById("javaOut"); + var val = "<b>Document Access</b><br>"; + var anchorTag = document.getElementById(lookupIdByTagId("top",p)); + val = val + "Test Top ScopeId: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Test Top ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; + anchorTag = document.getElementById(lookupIdByTagId("top")); + val = val + "Real Top Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Real Top ID: <b>" + lookupIdByTagId("top") + "</b><br/>"; + p.innerHTML = val; + </script> + +</html></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>2</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/idmap/anchorLink/index.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>-------</ses:name> + <ses:value>----:-----------:--------------------------------------------</ses:value> + </ses:header> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>------------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <base href="http://localhost:8080/coreWeb/idmap/anchorLink/index.jsp"> + </head> + <body> + <a id="top" name="top"></a> + <p style="color:green">This test verifies the behavior of anchors + acting as fragment identifiers. Anchor which only set the tagId + act location that may be the target of another anchor. When the + linkName attribute is set, this acts to target a named anchor by + creating a fragment identifier. In this case the link name may or + may not be qualified into a script container. If the link name does + not start with the '#', it will be qualified the same way a tagId + is qualified. If link name begins with '#' it is output as is. + </p> + <p style="color:green">In this test there are two anchors specifying + 'top' as their tagId value. One is above this text and the other + is inside a scoped ScriptContainer and appears below. At the bottom + of the page, two link go to the real top and the test top. + </p> + <div style="border: thin solid;height: 100px;"></div> + <div netui:scopeId="one" > + <a id="one.top" name="one.top"></a> + <h4>Fragment Identifiers and Scoped Ids</h4> + <a href="#one.bottom">Bottom</a> + <div style="border: thin solid;height: 400px;"> + <p id="javaOut"></p> + </div> + <a id="one.bottom" name="one.bottom"></a> + <a href="#one.top">Test Top</a><br> + <a href="#top">Real Top</a> + </div> + +<script language="JavaScript" type="text/JavaScript"> +<!-- + +// **** This section contains functions typically run as events **** + + +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var scopeId = lookupScopeId(tag,"."); + return (scopeId == "") ? id : scopeId + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupScopeId(tag,sep) +{ + var val = ""; + while (tag != null && tag.getAttribute != null) { + var attrVal = tag.getAttribute("netui:scopeId"); + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} +--> +</script> + + + </body> + <script language="JavaScript" type="text/JavaScript"> + + var p = document.getElementById("javaOut"); + var val = "<b>Document Access</b><br>"; + var anchorTag = document.getElementById(lookupIdByTagId("top",p)); + val = val + "Test Top ScopeId: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Test Top ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; + anchorTag = document.getElementById(lookupIdByTagId("top")); + val = val + "Real Top Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Real Top ID: <b>" + lookupIdByTagId("top") + "</b><br/>"; + p.innerHTML = val; + </script> + +</html></ses:responseBody> + </ses:response> + </ses:test> + </ses:tests> + <ses:endDate>15 Jan 2005, 11:05:16.656 PM MST</ses:endDate> + <ses:testCount>2</ses:testCount> +</ses:recorderSession> \ No newline at end of file Added: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml?view=auto&rev=125357 ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml Sun Jan 16 07:54:29 2005 @@ -0,0 +1,279 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> + <ses:sessionName>J163</ses:sessionName> + <ses:tester>Daryl</ses:tester> + <ses:startDate>15 Jan 2005, 11:04:10.609 PM MST</ses:startDate> + <ses:description>Verify the tagId (only) will generate the lookup methods</ses:description> + <ses:tests> + <ses:test> + <ses:testNumber>1</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/bugs/j163/Controller.jpf</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>------------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <base href="http://localhost:8080/coreWeb/bugs/j163/index.jsp"> + </head> + <body> + <p style="color:green">This test verifies that an anchor with only a + tagId will produce the proper id. Anchor with only the tagId set, no + href or action, etc., produce an anchor that can be used as a location + for navigating inside of the page. Another anchor can set the + linkName attribute to produce a fragment identifier which targets the + first anchor. + </p><p style="color:green"> + Because the tagId is scoped, the linkName should also be scoped. + An anchor with only a tagId will produce a name attribute, but this is + not added to the name table. The reason for this, is that the name + written for backward compatbility with old browsers. + </p> + <div netui:scopeId="one" > + <a id="one.top" name="one.top"></a> + <h4>Anchor Fragment Identifier Test</h4> + <a href="#one.bottom">Bottom</a> + <div style="border: thin solid;height: 400px;"> + <p id="javaOut"></p> + </div> + <a id="one.bottom" name="one.bottom"></a> + <a href="#one.top">Top</a> + </div> + +<script language="JavaScript" type="text/JavaScript"> +<!-- + +// **** This section contains functions typically run as events **** + + +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var scopeId = lookupScopeId(tag,"."); + return (scopeId == "") ? id : scopeId + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupScopeId(tag,sep) +{ + var val = ""; + while (tag != null && tag.getAttribute != null) { + var attrVal = tag.getAttribute("netui:scopeId"); + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} +--> +</script> + + + </body> + <script language="JavaScript" type="text/JavaScript"> + + var p = document.getElementById("javaOut"); + var val = "<b>Document Access</b><br>"; + var anchorTag = document.getElementById(lookupIdByTagId("top",p)); + val = val + "Anchor Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Anchor ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; + p.innerHTML = val; + </script> + +</html></ses:responseBody> + </ses:response> + </ses:test> + <ses:test> + <ses:testNumber>2</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/bugs/j163/index.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>-------</ses:name> + <ses:value>----:-----------:-------------------------------------</ses:value> + </ses:header> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>------------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>JSESSIONID=5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> + + <head> + <base href="http://localhost:8080/coreWeb/bugs/j163/index.jsp"> + </head> + <body> + <p style="color:green">This test verifies that an anchor with only a + tagId will produce the proper id. Anchor with only the tagId set, no + href or action, etc., produce an anchor that can be used as a location + for navigating inside of the page. Another anchor can set the + linkName attribute to produce a fragment identifier which targets the + first anchor. + </p><p style="color:green"> + Because the tagId is scoped, the linkName should also be scoped. + An anchor with only a tagId will produce a name attribute, but this is + not added to the name table. The reason for this, is that the name + written for backward compatbility with old browsers. + </p> + <div netui:scopeId="one" > + <a id="one.top" name="one.top"></a> + <h4>Anchor Fragment Identifier Test</h4> + <a href="#one.bottom">Bottom</a> + <div style="border: thin solid;height: 400px;"> + <p id="javaOut"></p> + </div> + <a id="one.bottom" name="one.bottom"></a> + <a href="#one.top">Top</a> + </div> + +<script language="JavaScript" type="text/JavaScript"> +<!-- + +// **** This section contains functions typically run as events **** + + +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var scopeId = lookupScopeId(tag,"."); + return (scopeId == "") ? id : scopeId + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupScopeId(tag,sep) +{ + var val = ""; + while (tag != null && tag.getAttribute != null) { + var attrVal = tag.getAttribute("netui:scopeId"); + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} +--> +</script> + + + </body> + <script language="JavaScript" type="text/JavaScript"> + + var p = document.getElementById("javaOut"); + var val = "<b>Document Access</b><br>"; + var anchorTag = document.getElementById(lookupIdByTagId("top",p)); + val = val + "Anchor Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Anchor ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; + p.innerHTML = val; + </script> + +</html></ses:responseBody> + </ses:response> + </ses:test> + </ses:tests> + <ses:endDate>15 Jan 2005, 11:04:25.765 PM MST</ses:endDate> + <ses:testCount>2</ses:testCount> +</ses:recorderSession> \ No newline at end of file Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml Sun Jan 16 07:54:29 2005 @@ -1,76 +1,69 @@ <?xml version="1.0" encoding="UTF-8"?> - -<recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> - - <sessionName>XhtmlAnchor</sessionName> - <tester>Daryl</tester> - <startDate>31 Mar 2004, 11:31:11.824 AM MST</startDate> - <description>Validation of XHTML produced for Anchors</description> - - <tests> - <test> - <testNumber>1</testNumber> - - <request> - - <protocol>HTTP</protocol> - <protocolVersion>1.1</protocolVersion> - <host>localhost</host> - <port>7001</port> - <uri>/coreWeb/xhtml/goAnchorTest.do</uri> - <method>GET</method> - - <parameters> - </parameters> - - <cookies> - <cookie> - <name>JSESSIONID</name> - <value>ArOBcuW0M1yuZGoVGm4anIp12h2bFjq2nP3ORUFV5ADXQLk2m3g2!2032106384</value> - </cookie> - </cookies> - - <headers> - <header> - <name>Accept</name> - <value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</value> - </header> - <header> - <name>Accept-Encoding</name> - <value>gzip, deflate</value> - </header> - <header> - <name>Accept-Language</name> - <value>en-us</value> - </header> - <header> - <name>Connection</name> - <value>Keep-Alive</value> - </header> - <header> - <name>Cookie</name> - <value>JSESSIONID=ArOBcuW0M1yuZGoVGm4anIp12h2bFjq2nP3ORUFV5ADXQLk2m3g2!2032106384</value> - </header> - <header> - <name>Host</name> - <value>localhost:7001</value> - </header> - <header> - <name>User-Agent</name> - <value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</value> - </header> - </headers> - - </request> - - <response> - <statusCode>200</statusCode> - <reason></reason> - <responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> + <ses:sessionName>XhtmlAnchor</ses:sessionName> + <ses:tester>Daryl</ses:tester> + <ses:startDate>15 Jan 2005, 11:22:31.343 PM MST</ses:startDate> + <ses:description>Daryl</ses:description> + <ses:tests> + <ses:test> + <ses:testNumber>1</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/xhtml/goAnchorTest.do</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>3E6EAA4BC854E1D46BA06057159FD5A5</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>----- -------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>Keep-Alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=3E6EAA4BC854E1D46BA06057159FD5A5; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>12660629:1017a234d87:-780d</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Anchor Tests</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -80,7 +73,7 @@ .title {color: #000099;font-family:Verdana; font-size:12pt;margin:2,0,5,0;} .resultDiv {border: thin solid;height: 400px;} </style> - <base href="http://@NON_UNIQUE_HOST@:@NON_UNIQUE_PORT@/coreWeb/xhtml/anchorTest.jsp" /> + <base href="http://localhost:8080/coreWeb/xhtml/anchorTest.jsp" /> </head> <body> <h1 class="normalHead">Anchor Tests</h1> @@ -101,77 +94,71 @@ </ul> </body> -</html>]]></responseBody> - - </response> - </test> - <test> - <testNumber>2</testNumber> - - <request> - - <protocol>HTTP</protocol> - <protocolVersion>1.1</protocolVersion> - <host>localhost</host> - <port>7001</port> - <uri>/coreWeb/xhtml/goAnchorTarget.do</uri> - <method>GET</method> - - <parameters> - </parameters> - - <cookies> - <cookie> - <name>JSESSIONID</name> - <value>ArOBcuW0M1yuZGoVGm4anIp12h2bFjq2nP3ORUFV5ADXQLk2m3g2!2032106384</value> - </cookie> - </cookies> - - <headers> - <header> - <name>Accept</name> - <value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</value> - </header> - <header> - <name>Accept-Encoding</name> - <value>gzip, deflate</value> - </header> - <header> - <name>Accept-Language</name> - <value>en-us</value> - </header> - <header> - <name>Connection</name> - <value>Keep-Alive</value> - </header> - <header> - <name>Cookie</name> - <value>JSESSIONID=ArOBcuW0M1yuZGoVGm4anIp12h2bFjq2nP3ORUFV5ADXQLk2m3g2!2032106384</value> - </header> - <header> - <name>Host</name> - <value>localhost:7001</value> - </header> - <header> - <name>Referer</name> - <value>http://localhost:7001/coreWeb/xhtml/goAnchorTest.do</value> - </header> - <header> - <name>User-Agent</name> - <value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</value> - </header> - </headers> - - </request> - - <response> - <statusCode>200</statusCode> - <reason></reason> - <responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +</html>]]></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>pass</ses:testStatus> + </ses:testResults> + </ses:test> + <ses:test> + <ses:testNumber>2</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/xhtml/goAnchorTarget.do</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>3E6EAA4BC854E1D46BA06057159FD5A5</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>----- -------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>Keep-Alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=3E6EAA4BC854E1D46BA06057159FD5A5; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>12660629:1017a234d87:-780d</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Anchor Target Page</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -193,79 +180,103 @@ </div> <a id="bottom" name="bottom"></a> <p id="bottomP" class="normal"><a href="#top">Bottom of the page...</a></p> - </body> + + +<script language="JavaScript" type="text/JavaScript"> +<!-- + +// **** This section contains functions typically run as events **** -</html>]]></responseBody> - </response> - </test> - <test> - <testNumber>3</testNumber> - - <request> - - <protocol>HTTP</protocol> - <protocolVersion>1.1</protocolVersion> - <host>localhost</host> - <port>7001</port> - <uri>/coreWeb/xhtml/goAnchorTest.do</uri> - <method>GET</method> - - <parameters> - </parameters> - - <cookies> - <cookie> - <name>JSESSIONID</name> - <value>ArOBcuW0M1yuZGoVGm4anIp12h2bFjq2nP3ORUFV5ADXQLk2m3g2!2032106384</value> - </cookie> - </cookies> - - <headers> - <header> - <name>Accept</name> - <value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</value> - </header> - <header> - <name>Accept-Encoding</name> - <value>gzip, deflate</value> - </header> - <header> - <name>Accept-Language</name> - <value>en-us</value> - </header> - <header> - <name>Connection</name> - <value>Keep-Alive</value> - </header> - <header> - <name>Cookie</name> - <value>JSESSIONID=ArOBcuW0M1yuZGoVGm4anIp12h2bFjq2nP3ORUFV5ADXQLk2m3g2!2032106384</value> - </header> - <header> - <name>Host</name> - <value>localhost:7001</value> - </header> - <header> - <name>Referer</name> - <value>http://localhost:7001/coreWeb/xhtml/goAnchorTarget.do</value> - </header> - <header> - <name>User-Agent</name> - <value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</value> - </header> - </headers> - - </request> - - <response> - <statusCode>200</statusCode> - <reason></reason> - <responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +// lookup by tagId to "real id" +function lookupIdByTagId(id, tag) +{ + var scopeId = lookupScopeId(tag,"."); + return (scopeId == "") ? id : scopeId + id; +} + +//Non-Legacy lookup method creating a fully qualified scope id +function lookupScopeId(tag,sep) +{ + var val = ""; + while (tag != null && tag.getAttribute != null) { + var attrVal = tag.getAttribute("netui:scopeId"); + if (attrVal != null) + val = attrVal + sep + val; + tag = tag.parentNode; + } + return val; +} +--> +</script> + +</body> + +</html>]]></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> + </ses:test> + <ses:test> + <ses:testNumber>3</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/xhtml/goAnchorTest.do</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>3E6EAA4BC854E1D46BA06057159FD5A5</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>----- -------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>Keep-Alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=3E6EAA4BC854E1D46BA06057159FD5A5; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>12660629:1017a234d87:-780d</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Anchor Tests</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -275,7 +286,7 @@ .title {color: #000099;font-family:Verdana; font-size:12pt;margin:2,0,5,0;} .resultDiv {border: thin solid;height: 400px;} </style> - <base href="http://@NON_UNIQUE_HOST@:@NON_UNIQUE_PORT@/coreWeb/xhtml/anchorTest.jsp" /> + <base href="http://localhost:8080/coreWeb/xhtml/anchorTest.jsp" /> </head> <body> <h1 class="normalHead">Anchor Tests</h1> @@ -296,14 +307,16 @@ </ul> </body> -</html>]]></responseBody> - - </response> - </test> - - </tests> - - <endDate>31 Mar 2004, 11:31:57.782 AM MST</endDate> - <testCount>3</testCount> - -</recorderSession> \ No newline at end of file +</html>]]></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>pass</ses:testStatus> + </ses:testResults> + </ses:test> + </ses:tests> + <ses:endDate>15 Jan 2005, 11:22:33.750 PM MST</ses:endDate> + <ses:sessionStatus>fail</ses:sessionStatus> + <ses:testCount>3</ses:testCount> + <ses:passedCount>2</ses:passedCount> + <ses:failedCount>1</ses:failedCount> +</ses:recorderSession> \ No newline at end of file Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlCheckBox.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlCheckBox.xml?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlCheckBox.xml&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlCheckBox.xml&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlCheckBox.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlCheckBox.xml Sun Jan 16 07:54:29 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>XhtmlCheckBox</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>08 Jul 2004, 01:42:30.362 PM MDT</ses:startDate> + <ses:startDate>15 Jan 2005, 11:59:30.187 PM MST</ses:startDate> <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> @@ -15,15 +15,20 @@ <ses:uri>/coreWeb/xhtml/goCheckboxTest.do</ses:uri> <ses:method>GET</ses:method> <ses:parameters/> - <ses:cookies/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> + </ses:cookie> + </ses:cookies> <ses:headers> <ses:header> - <ses:name>accept</ses:name> - <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> </ses:header> <ses:header> - <ses:name>accept-encoding</ses:name> - <ses:value>gzip, deflate, x-gzip, compress, x-compress</ses:value> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> </ses:header> <ses:header> <ses:name>accept-language</ses:name> @@ -34,6 +39,10 @@ <ses:value>Keep-Alive, TE</ses:value> </ses:header> <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> <ses:name>cookie2</ses:name> <ses:value>$Version="1"</ses:value> </ses:header> @@ -47,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>5322191f:fd9ffc1336:-5a22</ses:value> + <ses:value>-761cb9ae:1017a4606a0:-7807</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -66,7 +75,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Input Test Page</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -165,7 +174,7 @@ </html></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>fail</ses:testStatus> + <ses:testStatus>pass</ses:testStatus> </ses:testResults> </ses:test> <ses:test> @@ -238,17 +247,17 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>1BFFDA13ECA66F0BFC1745BD8BAB49DE</ses:value> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> </ses:cookie> </ses:cookies> <ses:headers> <ses:header> - <ses:name>accept</ses:name> - <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> </ses:header> <ses:header> - <ses:name>accept-encoding</ses:name> - <ses:value>gzip, deflate, x-gzip, compress, x-compress</ses:value> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> </ses:header> <ses:header> <ses:name>accept-language</ses:name> @@ -272,7 +281,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=1BFFDA13ECA66F0BFC1745BD8BAB49DE; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -288,7 +297,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>5322191f:fd9ffc1336:-5a22</ses:value> + <ses:value>-761cb9ae:1017a4606a0:-7807</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -307,7 +316,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Checkbox Results</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -319,7 +328,6 @@ </style> </head> <body> - <a id="top" name="top"></a> <table width="400pt"><tr><td align="left"><h1 class="normalHead">Checkbox Results</h1></td> <td align="right"><a href="/coreWeb/xhtml/goCheckboxTest.do" class="normal">Input Tests</a></td> </tr></table> @@ -365,7 +373,7 @@ </html>]]></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>pass</ses:testStatus> + <ses:testStatus>fail</ses:testStatus> </ses:testResults> </ses:test> <ses:test> @@ -381,17 +389,17 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>1BFFDA13ECA66F0BFC1745BD8BAB49DE</ses:value> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> </ses:cookie> </ses:cookies> <ses:headers> <ses:header> - <ses:name>accept</ses:name> - <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> </ses:header> <ses:header> - <ses:name>accept-encoding</ses:name> - <ses:value>gzip, deflate, x-gzip, compress, x-compress</ses:value> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> </ses:header> <ses:header> <ses:name>accept-language</ses:name> @@ -403,7 +411,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=1BFFDA13ECA66F0BFC1745BD8BAB49DE; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -419,7 +427,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>5322191f:fd9ffc1336:-5a22</ses:value> + <ses:value>-761cb9ae:1017a4606a0:-7807</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -438,7 +446,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Input Test Page</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -537,7 +545,7 @@ </html></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>fail</ses:testStatus> + <ses:testStatus>pass</ses:testStatus> </ses:testResults> </ses:test> <ses:test> @@ -614,17 +622,17 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>1BFFDA13ECA66F0BFC1745BD8BAB49DE</ses:value> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> </ses:cookie> </ses:cookies> <ses:headers> <ses:header> - <ses:name>accept</ses:name> - <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> </ses:header> <ses:header> - <ses:name>accept-encoding</ses:name> - <ses:value>gzip, deflate, x-gzip, compress, x-compress</ses:value> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> </ses:header> <ses:header> <ses:name>accept-language</ses:name> @@ -648,7 +656,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=1BFFDA13ECA66F0BFC1745BD8BAB49DE; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -664,7 +672,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>5322191f:fd9ffc1336:-5a22</ses:value> + <ses:value>-761cb9ae:1017a4606a0:-7807</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -683,7 +691,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Checkbox Results</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -695,7 +703,6 @@ </style> </head> <body> - <a id="top" name="top"></a> <table width="400pt"><tr><td align="left"><h1 class="normalHead">Checkbox Results</h1></td> <td align="right"><a href="/coreWeb/xhtml/goCheckboxTest.do" class="normal">Input Tests</a></td> </tr></table> @@ -741,7 +748,7 @@ </html>]]></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>pass</ses:testStatus> + <ses:testStatus>fail</ses:testStatus> </ses:testResults> </ses:test> <ses:test> @@ -757,17 +764,17 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>1BFFDA13ECA66F0BFC1745BD8BAB49DE</ses:value> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> </ses:cookie> </ses:cookies> <ses:headers> <ses:header> - <ses:name>accept</ses:name> - <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> </ses:header> <ses:header> - <ses:name>accept-encoding</ses:name> - <ses:value>gzip, deflate, x-gzip, compress, x-compress</ses:value> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> </ses:header> <ses:header> <ses:name>accept-language</ses:name> @@ -779,7 +786,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=1BFFDA13ECA66F0BFC1745BD8BAB49DE; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -795,7 +802,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>5322191f:fd9ffc1336:-5a22</ses:value> + <ses:value>-761cb9ae:1017a4606a0:-7807</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -814,7 +821,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Input Test Page</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -913,13 +920,13 @@ </html></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>fail</ses:testStatus> + <ses:testStatus>pass</ses:testStatus> </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>08 Jul 2004, 01:42:34.377 PM MDT</ses:endDate> + <ses:endDate>15 Jan 2005, 11:59:32.000 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>5</ses:testCount> - <ses:passedCount>2</ses:passedCount> - <ses:failedCount>3</ses:failedCount> -</ses:recorderSession> + <ses:passedCount>3</ses:passedCount> + <ses:failedCount>2</ses:failedCount> +</ses:recorderSession> \ No newline at end of file Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml Sun Jan 16 07:54:29 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>XhtmlFormLabel</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:07:22.000 AM MST</ses:startDate> + <ses:startDate>15 Jan 2005, 11:59:32.062 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,17 +18,17 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> </ses:cookie> </ses:cookies> <ses:headers> <ses:header> - <ses:name>accept</ses:name> - <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> </ses:header> <ses:header> - <ses:name>accept-encoding</ses:name> - <ses:value>gzip, deflate, x-gzip, compress, x-compress</ses:value> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> </ses:header> <ses:header> <ses:name>accept-language</ses:name> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-781d</ses:value> + <ses:value>-761cb9ae:1017a4606a0:-7801</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -206,7 +206,7 @@ </html></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>fail</ses:testStatus> + <ses:testStatus>pass</ses:testStatus> </ses:testResults> </ses:test> <ses:test> @@ -235,17 +235,17 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> </ses:cookie> </ses:cookies> <ses:headers> <ses:header> - <ses:name>accept</ses:name> - <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> </ses:header> <ses:header> - <ses:name>accept-encoding</ses:name> - <ses:value>gzip, deflate, x-gzip, compress, x-compress</ses:value> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> </ses:header> <ses:header> <ses:name>accept-language</ses:name> @@ -269,7 +269,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -285,7 +285,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-781d</ses:value> + <ses:value>-761cb9ae:1017a4606a0:-7801</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -312,7 +312,6 @@ </style> </head> <body> - <a id="top" name="top"></a> <table><tr><td align="left"><h1 class="normalHead">Select Post Results</h1></td> <td align="right"><a href="/coreWeb/xhtml/goFormLabelTest.do" class="normal">Form Label Tests</a></td> </tr></table> @@ -341,11 +340,11 @@ </html>]]></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>pass</ses:testStatus> + <ses:testStatus>fail</ses:testStatus> </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:07:23.132 AM MST</ses:endDate> + <ses:endDate>15 Jan 2005, 11:59:34.109 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> <ses:passedCount>1</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlImage.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlImage.xml?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlImage.xml&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlImage.xml&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlImage.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlImage.xml Sun Jan 16 07:54:29 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>XhtmlImage</ses:sessionName> <ses:tester>null</ses:tester> - <ses:startDate>09 Dec 2004, 03:29:36.316 PM MST</ses:startDate> + <ses:startDate>15 Jan 2005, 11:59:34.171 PM MST</ses:startDate> <ses:description>null</ses:description> <ses:tests> <ses:test> @@ -18,17 +18,17 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>C91A963FD6C9F98C560C89EF405A95CE</ses:value> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> </ses:cookie> </ses:cookies> <ses:headers> <ses:header> - <ses:name>accept</ses:name> - <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> </ses:header> <ses:header> - <ses:name>accept-encoding</ses:name> - <ses:value>gzip, deflate, x-gzip, compress, x-compress</ses:value> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> </ses:header> <ses:header> <ses:name>accept-language</ses:name> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=C91A963FD6C9F98C560C89EF405A95CE; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-15b982e6:100b9dbf29a:-7119</ses:value> + <ses:value>-761cb9ae:1017a4606a0:-77fe</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -164,7 +164,7 @@ </html></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>fail</ses:testStatus> + <ses:testStatus>pass</ses:testStatus> </ses:testResults> </ses:test> <ses:test> @@ -189,17 +189,17 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>C91A963FD6C9F98C560C89EF405A95CE</ses:value> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> </ses:cookie> </ses:cookies> <ses:headers> <ses:header> - <ses:name>accept</ses:name> - <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> </ses:header> <ses:header> - <ses:name>accept-encoding</ses:name> - <ses:value>gzip, deflate, x-gzip, compress, x-compress</ses:value> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> </ses:header> <ses:header> <ses:name>accept-language</ses:name> @@ -223,7 +223,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=C91A963FD6C9F98C560C89EF405A95CE; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -239,7 +239,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-15b982e6:100b9dbf29a:-7119</ses:value> + <ses:value>-761cb9ae:1017a4606a0:-77fe</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -266,7 +266,6 @@ </style> </head> <body> - <a id="top" name="top"></a> <table><tr><td align="left"><h1 class="normalHead">Image Post Results</h1></td> <td align="right"><a href="/coreWeb/xhtml/goImageTest.do" class="normal">Image Tests</a></td> </tr></table> @@ -275,11 +274,11 @@ </html>]]></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>pass</ses:testStatus> + <ses:testStatus>fail</ses:testStatus> </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>09 Dec 2004, 03:29:37.898 PM MST</ses:endDate> + <ses:endDate>15 Jan 2005, 11:59:36.203 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> <ses:passedCount>1</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlRadio.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlRadio.xml?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlRadio.xml&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlRadio.xml&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlRadio.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlRadio.xml Sun Jan 16 07:54:29 2005 @@ -1,78 +1,71 @@ <?xml version="1.0" encoding="UTF-8"?> - -<recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> - - <sessionName>XhtmlRadio</sessionName> - <tester>Daryl</tester> - <startDate>31 Mar 2004, 11:53:13.230 AM MST</startDate> - <description>Validation test of the XHTML produced by Radio buttons</description> - - <tests> - <test> - <testNumber>1</testNumber> - - <request> - - <protocol>HTTP</protocol> - <protocolVersion>1.1</protocolVersion> - <host>localhost</host> - <port>7001</port> - <uri>/coreWeb/xhtml/goRadioTest.do</uri> - <method>GET</method> - - <parameters> - </parameters> - - <cookies> - <cookie> - <name>JSESSIONID</name> - <value>ArT7QtO1zk8uB3raimhEEPO8pZ2j8RV2giYSu3v1JsLJfZ2eGiMF!1530290691</value> - </cookie> - </cookies> - - <headers> - <header> - <name>Accept</name> - <value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</value> - </header> - <header> - <name>Accept-Encoding</name> - <value>gzip, deflate</value> - </header> - <header> - <name>Accept-Language</name> - <value>en-us</value> - </header> - <header> - <name>Connection</name> - <value>Keep-Alive</value> - </header> - <header> - <name>Cookie</name> - <value>JSESSIONID=ArT7QtO1zk8uB3raimhEEPO8pZ2j8RV2giYSu3v1JsLJfZ2eGiMF!1530290691</value> - </header> - <header> - <name>Host</name> - <value>localhost:7001</value> - </header> - <header> - <name>User-Agent</name> - <value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</value> - </header> - </headers> - - </request> - - <response> - <statusCode>200</statusCode> - <reason></reason> - <responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> + <ses:sessionName>XhtmlRadio</ses:sessionName> + <ses:tester>Daryl</ses:tester> + <ses:startDate>15 Jan 2005, 11:59:37.078 PM MST</ses:startDate> + <ses:description>Daryl</ses:description> + <ses:tests> + <ses:test> + <ses:testNumber>1</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/xhtml/goRadioTest.do</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>----- -------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>Keep-Alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-761cb9ae:1017a4606a0:-77f9</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> +<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>RadioGroup Tests</title> - <style type="text/css"> + <head> + <title>RadioGroup Tests</title> + <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} .normal2 {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} .normal3 {color: #00cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -82,174 +75,169 @@ .normalHead {color: #000099;font-family:Verdana; font-size:8pt;font-weight: strong;margin:0,0,0,0;} .title {color: #000099;font-family:Verdana; font-size:12pt;margin:2,0,5,0;} .resultDiv {border: thin solid;margin:5,5,5,5;} - </style> - </head> - <body> - <h1 class="normalHead">RadioGroup Tests</h1> - <a href="/coreWeb/xhtml/begin.do" class="normal" rel="contents" rev="chapter">Home</a> - <div class="resultDiv"> - <p class="normal">RadioGroup Tests</p> - <form id="radioTests" action="/coreWeb/xhtml/postRadioForm.do" method="post"> - <table> - <tr valign="top"> - <td class="normalBold" align="right">RadioButton Group</td> - <td> - <table> - <tr><td><input type="radio" name="wlw-radio_button_group_key:{actionForm.rbg}" value="Radio Opt 1" disabled="disabled" checked="checked" /><span class="normal">Radio Option One</span></td></tr> - <tr><td><input type="radio" name="wlw-radio_button_group_key:{actionForm.rbg}" value="Radio Opt 2" /><span class="normal">Radio Option Two</span></td></tr> - </table> - </td> - </tr> - <tr valign="top"> - <td class="normalBold" align="right">Repeating Options RadioButton Group</td> - <td> + </style> + </head> + <body> + <h1 class="normalHead">RadioGroup Tests</h1> + <a href="/coreWeb/xhtml/begin.do" class="normal" rel="contents" rev="chapter">Home</a> + <div class="resultDiv"> + <p class="normal">RadioGroup Tests</p> + <form id="radioTests" action="/coreWeb/xhtml/postRadioForm.do" method="post"> + <table> + <tr valign="top"> + <td class="normalBold" align="right">RadioButton Group</td> + <td> + <table> + <tr><td><input type="radio" name="wlw-radio_button_group_key:{actionForm.rbg}" value="Radio Opt 1" disabled="disabled" checked="checked" /><span class="normal">Radio Option One</span></td></tr> + <tr><td><input type="radio" name="wlw-radio_button_group_key:{actionForm.rbg}" value="Radio Opt 2" /><span class="normal">Radio Option Two</span></td></tr> + </table> + </td> + </tr> + <tr valign="top"> + <td class="normalBold" align="right">Repeating Options RadioButton Group</td> + <td> - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 1" /> - <span class="normal">RB Option 1</span> + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 1" /> + <span class="normal">RB Option 1</span> - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 2" /> - <span class="normal">RB Option 2</span> + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 2" /> + <span class="normal">RB Option 2</span> - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 3" checked="checked" /> - <span class="normal">RB Option 3</span> + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 3" checked="checked" /> + <span class="normal">RB Option 3</span> - </td> - </tr> - <tr valign="top"> - <td class="normalBold" align="right">Map Options RadioButton Group</td> - <td> + </td> + </tr> + <tr valign="top"> + <td class="normalBold" align="right">Map Options RadioButton Group</td> + <td> - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOptsMap}" value="RB Map 1" /><span class="normal2">RB Map 1</span><br /> -<input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOptsMap}" value="RB Map 2" checked="checked" /><span class="normal2">RB Map 2</span><br /> + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOptsMap}" value="RB Map 1" /><span class="normal2">RB Map 1</span><br /> +<input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOptsMap}" value="RB Map 2" checked="checked" /><span class="normal2">RB Map 2</span><br /> - </td> - </tr> - <tr valign="top"> - <td colspan="2" align="center"> - <table cellspacing="0" border="1"> - <tr><th class="normalBold" valign="top" align="center">Complex Repeater</th><td> - - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-1" /> - <span class="normal">Option One</span><br /> - - - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-2" /> - <span class="normal2">Option Two</span><br /> - - - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-3" /> - <span class="normal3">Option Three</span><br /> - - - </td></tr></table> - </td> - </tr> - </table> - <br /> - <input type="submit" value="Post RadioForm" /> - </form> - </div> - </body> - -</html>]]></responseBody> - - </response> - </test> - <test> - <testNumber>2</testNumber> - - <request> - - <protocol>HTTP</protocol> - <protocolVersion>1.1</protocolVersion> - <host>localhost</host> - <port>7001</port> - <uri>/coreWeb/xhtml/postRadioForm.do</uri> - <method>POST</method> - - <parameters> - <parameter> - <name>wlw-radio_button_group_key:{actionForm.rbgComplex}</name> - <value>opt-2</value> - </parameter> - <parameter> - <name>wlw-radio_button_group_key:{actionForm.rbgOptsMap}</name> - <value>RB Map 1</value> - </parameter> - <parameter> - <name>wlw-radio_button_group_key:{actionForm.rbgOpts}</name> - <value>RB Option 2</value> - </parameter> - <parameter> - <name>wlw-radio_button_group_key:{actionForm.rbg}</name> - <value>Radio Opt 2</value> - </parameter> - </parameters> - - <cookies> - <cookie> - <name>JSESSIONID</name> - <value>ArT7QtO1zk8uB3raimhEEPO8pZ2j8RV2giYSu3v1JsLJfZ2eGiMF!1530290691</value> - </cookie> - </cookies> - - <headers> - <header> - <name>Accept</name> - <value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</value> - </header> - <header> - <name>Accept-Encoding</name> - <value>gzip, deflate</value> - </header> - <header> - <name>Accept-Language</name> - <value>en-us</value> - </header> - <header> - <name>Cache-Control</name> - <value>no-cache</value> - </header> - <header> - <name>Connection</name> - <value>Keep-Alive</value> - </header> - <header> - <name>Content-Length</name> - <value>256</value> - </header> - <header> - <name>Content-Type</name> - <value>application/x-www-form-urlencoded</value> - </header> - <header> - <name>Cookie</name> - <value>JSESSIONID=ArT7QtO1zk8uB3raimhEEPO8pZ2j8RV2giYSu3v1JsLJfZ2eGiMF!1530290691</value> - </header> - <header> - <name>Host</name> - <value>localhost:7001</value> - </header> - <header> - <name>Referer</name> - <value>http://localhost:7001/coreWeb/xhtml/goRadioTest.do</value> - </header> - <header> - <name>User-Agent</name> - <value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</value> - </header> - </headers> - - </request> - - <response> - <statusCode>200</statusCode> - <reason></reason> - <responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + </td> + </tr> + <tr valign="top"> + <td colspan="2" align="center"> + <table cellspacing="0" border="1"> + <tr><th class="normalBold" valign="top" align="center">Complex Repeater</th><td> + + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-1" /> + <span class="normal">Option One</span><br /> + + + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-2" /> + <span class="normal2">Option Two</span><br /> + + + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-3" /> + <span class="normal3">Option Three</span><br /> + + + </td></tr></table> + </td> + </tr> + </table> + <br /> + <input type="submit" value="Post RadioForm" /> + </form> + </div> + </body> + +</html></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>pass</ses:testStatus> + </ses:testResults> + </ses:test> + <ses:test> + <ses:testNumber>2</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/xhtml/postRadioForm.do</ses:uri> + <ses:method>POST</ses:method> + <ses:parameters> + <ses:parameter> + <ses:name>wlw-radio_button_group_key:{actionForm.rbgComplex}</ses:name> + <ses:value>opt-2</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-radio_button_group_key:{actionForm.rbgOptsMap}</ses:name> + <ses:value>RB Map 1</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-radio_button_group_key:{actionForm.rbgOpts}</ses:name> + <ses:value>RB Option 2</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-radio_button_group_key:{actionForm.rbg}</ses:name> + <ses:value>Radio Opt 2</ses:value> + </ses:parameter> + </ses:parameters> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>----- -------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us</ses:value> + </ses:header> + <ses:header> + <ses:name>cache-control</ses:name> + <ses:value>no-cache</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>Keep-Alive</ses:value> + </ses:header> + <ses:header> + <ses:name>content-length</ses:name> + <ses:value>256</ses:value> + </ses:header> + <ses:header> + <ses:name>content-type</ses:name> + <ses:value>application/x-www-form-urlencoded</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-761cb9ae:1017a4606a0:-77f9</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Radio Post Results</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -261,7 +249,6 @@ </style> </head> <body> - <a id="top" name="top"></a> <table width="400"><tr><td align="left"><h1 class="normalHead">Radio Post Results</h1></td> <td align="right"><a href="/coreWeb/xhtml/goRadioTest.do" class="normal">Radio Tests</a></td> </tr></table> @@ -293,79 +280,73 @@ </table> </body> -</html>]]></responseBody> - - </response> - </test> - <test> - <testNumber>3</testNumber> - - <request> - - <protocol>HTTP</protocol> - <protocolVersion>1.1</protocolVersion> - <host>localhost</host> - <port>7001</port> - <uri>/coreWeb/xhtml/goRadioTest.do</uri> - <method>GET</method> - - <parameters> - </parameters> - - <cookies> - <cookie> - <name>JSESSIONID</name> - <value>ArT7QtO1zk8uB3raimhEEPO8pZ2j8RV2giYSu3v1JsLJfZ2eGiMF!1530290691</value> - </cookie> - </cookies> - - <headers> - <header> - <name>Accept</name> - <value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</value> - </header> - <header> - <name>Accept-Encoding</name> - <value>gzip, deflate</value> - </header> - <header> - <name>Accept-Language</name> - <value>en-us</value> - </header> - <header> - <name>Connection</name> - <value>Keep-Alive</value> - </header> - <header> - <name>Cookie</name> - <value>JSESSIONID=ArT7QtO1zk8uB3raimhEEPO8pZ2j8RV2giYSu3v1JsLJfZ2eGiMF!1530290691</value> - </header> - <header> - <name>Host</name> - <value>localhost:7001</value> - </header> - <header> - <name>Referer</name> - <value>http://localhost:7001/coreWeb/xhtml/postRadioForm.do</value> - </header> - <header> - <name>User-Agent</name> - <value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</value> - </header> - </headers> - - </request> - - <response> - <statusCode>200</statusCode> - <reason></reason> - <responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +</html>]]></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> + </ses:test> + <ses:test> + <ses:testNumber>3</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/xhtml/goRadioTest.do</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>----- -------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>Keep-Alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-761cb9ae:1017a4606a0:-77f9</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> +<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>RadioGroup Tests</title> - <style type="text/css"> + <head> + <title>RadioGroup Tests</title> + <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} .normal2 {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} .normal3 {color: #00cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -375,170 +356,165 @@ .normalHead {color: #000099;font-family:Verdana; font-size:8pt;font-weight: strong;margin:0,0,0,0;} .title {color: #000099;font-family:Verdana; font-size:12pt;margin:2,0,5,0;} .resultDiv {border: thin solid;margin:5,5,5,5;} - </style> - </head> - <body> - <h1 class="normalHead">RadioGroup Tests</h1> - <a href="/coreWeb/xhtml/begin.do" class="normal" rel="contents" rev="chapter">Home</a> - <div class="resultDiv"> - <p class="normal">RadioGroup Tests</p> - <form id="radioTests" action="/coreWeb/xhtml/postRadioForm.do" method="post"> - <table> - <tr valign="top"> - <td class="normalBold" align="right">RadioButton Group</td> - <td> - <table> - <tr><td><input type="radio" name="wlw-radio_button_group_key:{actionForm.rbg}" value="Radio Opt 1" disabled="disabled" checked="checked" /><span class="normal">Radio Option One</span></td></tr> - <tr><td><input type="radio" name="wlw-radio_button_group_key:{actionForm.rbg}" value="Radio Opt 2" /><span class="normal">Radio Option Two</span></td></tr> - </table> - </td> - </tr> - <tr valign="top"> - <td class="normalBold" align="right">Repeating Options RadioButton Group</td> - <td> + </style> + </head> + <body> + <h1 class="normalHead">RadioGroup Tests</h1> + <a href="/coreWeb/xhtml/begin.do" class="normal" rel="contents" rev="chapter">Home</a> + <div class="resultDiv"> + <p class="normal">RadioGroup Tests</p> + <form id="radioTests" action="/coreWeb/xhtml/postRadioForm.do" method="post"> + <table> + <tr valign="top"> + <td class="normalBold" align="right">RadioButton Group</td> + <td> + <table> + <tr><td><input type="radio" name="wlw-radio_button_group_key:{actionForm.rbg}" value="Radio Opt 1" disabled="disabled" checked="checked" /><span class="normal">Radio Option One</span></td></tr> + <tr><td><input type="radio" name="wlw-radio_button_group_key:{actionForm.rbg}" value="Radio Opt 2" /><span class="normal">Radio Option Two</span></td></tr> + </table> + </td> + </tr> + <tr valign="top"> + <td class="normalBold" align="right">Repeating Options RadioButton Group</td> + <td> - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 1" /> - <span class="normal">RB Option 1</span> + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 1" /> + <span class="normal">RB Option 1</span> - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 2" /> - <span class="normal">RB Option 2</span> + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 2" /> + <span class="normal">RB Option 2</span> - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 3" checked="checked" /> - <span class="normal">RB Option 3</span> + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOpts}" class="normal" value="RB Option 3" checked="checked" /> + <span class="normal">RB Option 3</span> - </td> - </tr> - <tr valign="top"> - <td class="normalBold" align="right">Map Options RadioButton Group</td> - <td> + </td> + </tr> + <tr valign="top"> + <td class="normalBold" align="right">Map Options RadioButton Group</td> + <td> - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOptsMap}" value="RB Map 1" /><span class="normal2">RB Map 1</span><br /> -<input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOptsMap}" value="RB Map 2" checked="checked" /><span class="normal2">RB Map 2</span><br /> + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOptsMap}" value="RB Map 1" /><span class="normal2">RB Map 1</span><br /> +<input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgOptsMap}" value="RB Map 2" checked="checked" /><span class="normal2">RB Map 2</span><br /> - </td> - </tr> - <tr valign="top"> - <td colspan="2" align="center"> - <table cellspacing="0" border="1"> - <tr><th class="normalBold" valign="top" align="center">Complex Repeater</th><td> - - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-1" /> - <span class="normal">Option One</span><br /> - - - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-2" /> - <span class="normal2">Option Two</span><br /> - - - <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-3" /> - <span class="normal3">Option Three</span><br /> - - - </td></tr></table> - </td> - </tr> - </table> - <br /> - <input type="submit" value="Post RadioForm" /> - </form> - </div> - </body> - -</html>]]></responseBody> - - </response> - </test> - <test> - <testNumber>4</testNumber> - - <request> - - <protocol>HTTP</protocol> - <protocolVersion>1.1</protocolVersion> - <host>localhost</host> - <port>7001</port> - <uri>/coreWeb/xhtml/postRadioForm.do</uri> - <method>POST</method> - - <parameters> - <parameter> - <name>wlw-radio_button_group_key:{actionForm.rbgComplex}</name> - <value>opt-1</value> - </parameter> - <parameter> - <name>wlw-radio_button_group_key:{actionForm.rbgOptsMap}</name> - <value>RB Map 1</value> - </parameter> - <parameter> - <name>wlw-radio_button_group_key:{actionForm.rbgOpts}</name> - <value>RB Option 3</value> - </parameter> - </parameters> - - <cookies> - <cookie> - <name>JSESSIONID</name> - <value>ArT7QtO1zk8uB3raimhEEPO8pZ2j8RV2giYSu3v1JsLJfZ2eGiMF!1530290691</value> - </cookie> - </cookies> - - <headers> - <header> - <name>Accept</name> - <value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</value> - </header> - <header> - <name>Accept-Encoding</name> - <value>gzip, deflate</value> - </header> - <header> - <name>Accept-Language</name> - <value>en-us</value> - </header> - <header> - <name>Cache-Control</name> - <value>no-cache</value> - </header> - <header> - <name>Connection</name> - <value>Keep-Alive</value> - </header> - <header> - <name>Content-Length</name> - <value>194</value> - </header> - <header> - <name>Content-Type</name> - <value>application/x-www-form-urlencoded</value> - </header> - <header> - <name>Cookie</name> - <value>JSESSIONID=ArT7QtO1zk8uB3raimhEEPO8pZ2j8RV2giYSu3v1JsLJfZ2eGiMF!1530290691</value> - </header> - <header> - <name>Host</name> - <value>localhost:7001</value> - </header> - <header> - <name>Referer</name> - <value>http://localhost:7001/coreWeb/xhtml/goRadioTest.do</value> - </header> - <header> - <name>User-Agent</name> - <value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</value> - </header> - </headers> - - </request> - - <response> - <statusCode>200</statusCode> - <reason></reason> - <responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + </td> + </tr> + <tr valign="top"> + <td colspan="2" align="center"> + <table cellspacing="0" border="1"> + <tr><th class="normalBold" valign="top" align="center">Complex Repeater</th><td> + + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-1" /> + <span class="normal">Option One</span><br /> + + + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-2" /> + <span class="normal2">Option Two</span><br /> + + + <input type="radio" name="wlw-radio_button_group_key:{actionForm.rbgComplex}" value="opt-3" /> + <span class="normal3">Option Three</span><br /> + + + </td></tr></table> + </td> + </tr> + </table> + <br /> + <input type="submit" value="Post RadioForm" /> + </form> + </div> + </body> + +</html></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>pass</ses:testStatus> + </ses:testResults> + </ses:test> + <ses:test> + <ses:testNumber>4</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/xhtml/postRadioForm.do</ses:uri> + <ses:method>POST</ses:method> + <ses:parameters> + <ses:parameter> + <ses:name>wlw-radio_button_group_key:{actionForm.rbgComplex}</ses:name> + <ses:value>opt-1</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-radio_button_group_key:{actionForm.rbgOptsMap}</ses:name> + <ses:value>RB Map 1</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-radio_button_group_key:{actionForm.rbgOpts}</ses:name> + <ses:value>RB Option 3</ses:value> + </ses:parameter> + </ses:parameters> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>----- -------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us</ses:value> + </ses:header> + <ses:header> + <ses:name>cache-control</ses:name> + <ses:value>no-cache</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>Keep-Alive</ses:value> + </ses:header> + <ses:header> + <ses:name>content-length</ses:name> + <ses:value>194</ses:value> + </ses:header> + <ses:header> + <ses:name>content-type</ses:name> + <ses:value>application/x-www-form-urlencoded</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-761cb9ae:1017a4606a0:-77f9</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Radio Post Results</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -550,7 +526,6 @@ </style> </head> <body> - <a id="top" name="top"></a> <table width="400"><tr><td align="left"><h1 class="normalHead">Radio Post Results</h1></td> <td align="right"><a href="/coreWeb/xhtml/goRadioTest.do" class="normal">Radio Tests</a></td> </tr></table> @@ -582,14 +557,16 @@ </table> </body> -</html>]]></responseBody> - - </response> - </test> - - </tests> - - <endDate>31 Mar 2004, 11:53:45.196 AM MST</endDate> - <testCount>4</testCount> - -</recorderSession> \ No newline at end of file +</html>]]></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> + </ses:test> + </ses:tests> + <ses:endDate>15 Jan 2005, 11:59:38.781 PM MST</ses:endDate> + <ses:sessionStatus>fail</ses:sessionStatus> + <ses:testCount>4</ses:testCount> + <ses:passedCount>2</ses:passedCount> + <ses:failedCount>2</ses:failedCount> +</ses:recorderSession> \ No newline at end of file Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlSelect.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlSelect.xml?view=diff&rev=125357&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlSelect.xml&r1=125356&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlSelect.xml&r2=125357 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlSelect.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlSelect.xml Sun Jan 16 07:54:29 2005 @@ -1,98 +1,79 @@ <?xml version="1.0" encoding="UTF-8"?> - -<recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> - - <sessionName>XhtmlSelect</sessionName> - <tester>ekoneil</tester> - <startDate>17 May 2004, 03:57:56.508 PM GMT-07:00</startDate> - <description>Validation of the XHTML produced by the select.</description> - - <tests> - <test> - <testNumber>1</testNumber> - - <request> - - <protocol>HTTP</protocol> - <protocolVersion>1.1</protocolVersion> - <host>localhost</host> - <port>7001</port> - <uri>/coreWeb/xhtml/goSelectTest.do</uri> - <method>GET</method> - - <parameters> - </parameters> - - <cookies> - <cookie> - <name>JSESSIONID</name> - <value>ApDxf9VZ2p9POBhQZz24lRffpH1fdrTiT11pmvtH7sa7Y1RwAk0Z!-1982197774</value> - </cookie> - </cookies> - - <headers> - <header> - <name>Accept</name> - <value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</value> - </header> - <header> - <name>Accept-Encoding</name> - <value>gzip, deflate, x-gzip, compress, x-compress</value> - </header> - <header> - <name>Accept-Language</name> - <value>en-us</value> - </header> - <header> - <name>Connection</name> - <value>Keep-Alive, TE</value> - </header> - <header> - <name>Cookie</name> - <value>JSESSIONID=ApDxf9VZ2p9POBhQZz24lRffpH1fdrTiT11pmvtH7sa7Y1RwAk0Z!-1982197774</value> - </header> - <header> - <name>Cookie2</name> - <value>$Version="1"</value> - </header> - <header> - <name>Host</name> - <value>localhost:7001</value> - </header> - <header> - <name>TE</name> - <value>trailers, deflate, gzip, compress</value> - </header> - <header> - <name>User-Agent</name> - <value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) RPT-HTTPClient/0.3-3E</value> - </header> - <header> - <name>testRecorder.playback.failMode</name> - <value>continue</value> - </header> - <header> - <name>testRecorder.playback.testID</name> - <value>-a6589e4:fc951a1e07:-7f4a</value> - </header> - <header> - <name>testRecorder.playback.testNumber</name> - <value>1</value> - </header> - </headers> - - </request> - - <response> - <statusCode>200</statusCode> - <reason></reason> - <responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> + <ses:sessionName>XhtmlSelect</ses:sessionName> + <ses:tester>ekoneil</ses:tester> + <ses:startDate>15 Jan 2005, 11:59:38.859 PM MST</ses:startDate> + <ses:description>ekoneil</ses:description> + <ses:tests> + <ses:test> + <ses:testNumber>1</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/xhtml/goSelectTest.do</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>Keep-Alive, TE</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie2</ses:name> + <ses:value>$Version="1"</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>te</ses:name> + <ses:value>trailers, deflate, gzip, compress</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-761cb9ae:1017a4606a0:-77f4</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) RPT-HTTPClient/0.3-3E</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> +<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>Select Tests</title> - <style type="text/css"> + <head> + <title>Select Tests</title> + <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} .normalAttr {color: #ff9900;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} .normalAttr2 {color: #0099ff;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -104,234 +85,216 @@ .normalHead {color: #000099;font-family:Verdana; font-size:8pt;font-weight: strong;margin:0,0,0,0;} .title {color: #000099;font-family:Verdana; font-size:12pt;margin:2,0,5,0;} .resultDiv {border: thin solid;margin:5,5,5,5;} - </style> - </head> - <body> - <h1 class="normalHead">Select Tests</h1> - <a href="/coreWeb/xhtml/begin.do" class="normal" rel="contents" rev="chapter">Home</a> - <div class="resultDiv"> - <p class="normal">Select Tests</p> - <form id="selectTests" action="/coreWeb/xhtml/postSelectForm.do" method="post"> - <table> - <tr valign="top"> - <td class="normalBold" align="right">Select</td> - <td> - <input type="hidden" name="wlw-select_key:{actionForm.sel}OldValue" value="true" /> -<select name="wlw-select_key:{actionForm.sel}"><option class="normalAttr" value="Select Opt 1" disabled="disabled" selected="selected">Select Option One</option> - <option class="normalAttr2" value="Select Opt 2">Select Option Two</option></select> - </td> - </tr> - <tr valign="top"> - <td class="normalBold" align="right">Select With Options</td> - <td> - <input type="hidden" name="wlw-select_key:{actionForm.multiSel}OldValue" value="true" /> -<select name="wlw-select_key:{actionForm.multiSel}" class="normalAttr" multiple="multiple" size="3" style="background-color:#00ffff;"> -<option class="normalAttr" value="Select Option 1" style="background-color:#00ffff;">Select Option 1</option> -<option class="normalAttr" value="Select Option 2" style="background-color:#00ffff;">Select Option 2</option> -<option class="normalAttr" value="Select Option 3" style="background-color:#00ffff;">Select Option 3</option></select> - </td> - </tr> - <tr valign="top"> - <td class="normalBold" align="right">Map Select</td> - <td> - <input type="hidden" name="wlw-select_key:{actionForm.selOpts}OldValue" value="true" /> -<select name="wlw-select_key:{actionForm.selOpts}"> -<option value="Sel Opt 1">Sel Opt 1</option> -<option value="Sel Opt 2">Sel Opt 2</option></select> - </td> - </tr> - <tr valign="top"> - <td class="normalBold" align="right">Nullable Select</td> - <td> - <input type="hidden" name="wlw-select_key:{actionForm.nullable}OldValue" value="true" /> -<select name="wlw-select_key:{actionForm.nullable}" size="7"><option class="normalAttr" value="Null Opt 1">Null Opt 1</option> + </style> + </head> + <body> + <h1 class="normalHead">Select Tests</h1> + <a href="/coreWeb/xhtml/begin.do" class="normal" rel="contents" rev="chapter">Home</a> + <div class="resultDiv"> + <p class="normal">Select Tests</p> + <form id="selectTests" action="/coreWeb/xhtml/postSelectForm.do" method="post"> + <table> + <tr valign="top"> + <td class="normalBold" align="right">Select</td> + <td> + <input type="hidden" name="wlw-select_key:{actionForm.sel}OldValue" value="true" /> +<select name="wlw-select_key:{actionForm.sel}"><option class="normalAttr" value="Select Opt 1" disabled="disabled" selected="selected">Select Option One</option> + <option class="normalAttr2" value="Select Opt 2">Select Option Two</option></select> + </td> + </tr> + <tr valign="top"> + <td class="normalBold" align="right">Select With Options</td> + <td> + <input type="hidden" name="wlw-select_key:{actionForm.multiSel}OldValue" value="true" /> +<select name="wlw-select_key:{actionForm.multiSel}" class="normalAttr" multiple="multiple" size="3" style="background-color:#00ffff;"> +<option class="normalAttr" value="Select Option 1" style="background-color:#00ffff;">Select Option 1</option> +<option class="normalAttr" value="Select Option 2" style="background-color:#00ffff;">Select Option 2</option> +<option class="normalAttr" value="Select Option 3" style="background-color:#00ffff;">Select Option 3</option></select> + </td> + </tr> + <tr valign="top"> + <td class="normalBold" align="right">Map Select</td> + <td> + <input type="hidden" name="wlw-select_key:{actionForm.selOpts}OldValue" value="true" /> +<select name="wlw-select_key:{actionForm.selOpts}"> +<option value="Sel Opt 1">Sel Opt 1</option> +<option value="Sel Opt 2">Sel Opt 2</option></select> + </td> + </tr> + <tr valign="top"> + <td class="normalBold" align="right">Nullable Select</td> + <td> + <input type="hidden" name="wlw-select_key:{actionForm.nullable}OldValue" value="true" /> +<select name="wlw-select_key:{actionForm.nullable}" size="7"><option class="normalAttr" value="Null Opt 1">Null Opt 1</option> - <option class="normalAttr" value="Null Opt 2">Null Opt 2</option> + <option class="normalAttr" value="Null Opt 2">Null Opt 2</option> - <option class="normalAttr" value="Null Opt 3">Null Opt 3</option> + <option class="normalAttr" value="Null Opt 3">Null Opt 3</option> - <option class="normalAttr2" value="ds Form Opt 1">ds Form Opt 1</option> + <option class="normalAttr2" value="ds Form Opt 1">ds Form Opt 1</option> - <option class="normalAttr2" value="ds Form Opt 2">ds Form Opt 2</option> + <option class="normalAttr2" value="ds Form Opt 2">ds Form Opt 2</option> - <option class="normalAttr3" value="def Default Opt">def Default Opt</option> + <option class="normalAttr3" value="def Default Opt">def Default Opt</option> - <option class="normalAttr4" value="Null">Null</option></select> - </td> - </tr> + <option class="normalAttr4" value="Null">Null</option></select> + </td> + </tr> - </table> - <br /> - <input type="submit" value="Post Form" /> - </form> - </div> - </body> - -</html>]]></responseBody> - - </response> - - <testResults> - <testStatus>fail</testStatus> - - </testResults> - </test> - <test> - <testNumber>2</testNumber> - - <request> - - <protocol>HTTP</protocol> - <protocolVersion>1.1</protocolVersion> - <host>localhost</host> - <port>7001</port> - <uri>/coreWeb/xhtml/postSelectForm.do</uri> - <method>POST</method> - - <parameters> - <parameter> - <name>wlw-select_key:${actionForm.multiSel}</name> - <value>Select Option 1</value> - </parameter> - <parameter> - <name>wlw-select_key:${actionForm.multiSel}</name> - <value>Select Option 2</value> - </parameter> - <parameter> - <name>wlw-select_key:${actionForm.multiSel}</name> - <value>Select Option 3</value> - </parameter> - <parameter> - <name>wlw-select_key:${actionForm.multiSel}OldValue</name> - <value>true</value> - </parameter> - <parameter> - <name>wlw-select_key:${actionForm.nullable}</name> - <value>Null Opt 3</value> - </parameter> - <parameter> - <name>wlw-select_key:${actionForm.nullable}OldValue</name> - <value>true</value> - </parameter> - <parameter> - <name>wlw-select_key:${actionForm.selOpts}</name> - <value>Sel Opt 1</value> - </parameter> - <parameter> - <name>wlw-select_key:${actionForm.selOpts}OldValue</name> - <value>true</value> - </parameter> - <parameter> - <name>wlw-select_key:${actionForm.sel}</name> - <value>Select Opt 2</value> - </parameter> - <parameter> - <name>wlw-select_key:${actionForm.sel}OldValue</name> - <value>true</value> - </parameter> - </parameters> - - <cookies> - <cookie> - <name>JSESSIONID</name> - <value>ApDxf9VZ2p9POBhQZz24lRffpH1fdrTiT11pmvtH7sa7Y1RwAk0Z!-1982197774</value> - </cookie> - </cookies> - - <headers> - <header> - <name>Accept</name> - <value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</value> - </header> - <header> - <name>Accept-Encoding</name> - <value>gzip, deflate, x-gzip, compress, x-compress</value> - </header> - <header> - <name>Accept-Language</name> - <value>en-us</value> - </header> - <header> - <name>Cache-Control</name> - <value>no-cache</value> - </header> - <header> - <name>Connection</name> - <value>Keep-Alive, TE</value> - </header> - <header> - <name>Content-length</name> - <value>581</value> - </header> - <header> - <name>Content-type</name> - <value>application/x-www-form-urlencoded</value> - </header> - <header> - <name>Cookie</name> - <value>JSESSIONID=ApDxf9VZ2p9POBhQZz24lRffpH1fdrTiT11pmvtH7sa7Y1RwAk0Z!-1982197774</value> - </header> - <header> - <name>Cookie2</name> - <value>$Version="1"</value> - </header> - <header> - <name>Host</name> - <value>localhost:7001</value> - </header> - <header> - <name>TE</name> - <value>trailers, deflate, gzip, compress</value> - </header> - <header> - <name>User-Agent</name> - <value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) RPT-HTTPClient/0.3-3E</value> - </header> - <header> - <name>testRecorder.playback.failMode</name> - <value>continue</value> - </header> - <header> - <name>testRecorder.playback.testID</name> - <value>-a6589e4:fc951a1e07:-7f4a</value> - </header> - <header> - <name>testRecorder.playback.testNumber</name> - <value>2</value> - </header> - </headers> - - </request> - - <response> - <statusCode>200</statusCode> - <reason></reason> - <responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + </table> + <br /> + <input type="submit" value="Post Form" /> + </form> + </div> + </body> + +</html></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>pass</ses:testStatus> + </ses:testResults> + </ses:test> + <ses:test> + <ses:testNumber>2</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/xhtml/postSelectForm.do</ses:uri> + <ses:method>POST</ses:method> + <ses:parameters> + <ses:parameter> + <ses:name>wlw-select_key:${actionForm.multiSel}</ses:name> + <ses:value>Select Option 1</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-select_key:${actionForm.multiSel}</ses:name> + <ses:value>Select Option 2</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-select_key:${actionForm.multiSel}</ses:name> + <ses:value>Select Option 3</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-select_key:${actionForm.multiSel}OldValue</ses:name> + <ses:value>true</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-select_key:${actionForm.nullable}</ses:name> + <ses:value>Null Opt 3</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-select_key:${actionForm.nullable}OldValue</ses:name> + <ses:value>true</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-select_key:${actionForm.selOpts}</ses:name> + <ses:value>Sel Opt 1</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-select_key:${actionForm.selOpts}OldValue</ses:name> + <ses:value>true</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-select_key:${actionForm.sel}</ses:name> + <ses:value>Select Opt 2</ses:value> + </ses:parameter> + <ses:parameter> + <ses:name>wlw-select_key:${actionForm.sel}OldValue</ses:name> + <ses:value>true</ses:value> + </ses:parameter> + </ses:parameters> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us</ses:value> + </ses:header> + <ses:header> + <ses:name>cache-control</ses:name> + <ses:value>no-cache</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>Keep-Alive, TE</ses:value> + </ses:header> + <ses:header> + <ses:name>content-length</ses:name> + <ses:value>581</ses:value> + </ses:header> + <ses:header> + <ses:name>content-type</ses:name> + <ses:value>application/x-www-form-urlencoded</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie2</ses:name> + <ses:value>$Version="1"</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>te</ses:name> + <ses:value>trailers, deflate, gzip, compress</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-761cb9ae:1017a4606a0:-77f4</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) RPT-HTTPClient/0.3-3E</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> + <head> <title>Select Post Results</title> <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -343,7 +306,6 @@ </style> </head> <body> - <a id="top" name="top"></a> <table><tr><td align="left"><h1 class="normalHead">Select Post Results</h1></td> <td align="right"><a href="/coreWeb/xhtml/goSelectTest.do" class="normal">Select Tests</a></td> </tr></table> @@ -384,100 +346,81 @@ </table> </body> -</html>]]></responseBody> - - </response> - - <testResults> - <testStatus>fail</testStatus> - - </testResults> - </test> - <test> - <testNumber>3</testNumber> - - <request> - - <protocol>HTTP</protocol> - <protocolVersion>1.1</protocolVersion> - <host>localhost</host> - <port>7001</port> - <uri>/coreWeb/xhtml/goSelectTest.do</uri> - <method>GET</method> - - <parameters> - </parameters> - - <cookies> - <cookie> - <name>JSESSIONID</name> - <value>ApDxf9VZ2p9POBhQZz24lRffpH1fdrTiT11pmvtH7sa7Y1RwAk0Z!-1982197774</value> - </cookie> - </cookies> - - <headers> - <header> - <name>Accept</name> - <value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</value> - </header> - <header> - <name>Accept-Encoding</name> - <value>gzip, deflate, x-gzip, compress, x-compress</value> - </header> - <header> - <name>Accept-Language</name> - <value>en-us</value> - </header> - <header> - <name>Connection</name> - <value>Keep-Alive, TE</value> - </header> - <header> - <name>Cookie</name> - <value>JSESSIONID=ApDxf9VZ2p9POBhQZz24lRffpH1fdrTiT11pmvtH7sa7Y1RwAk0Z!-1982197774</value> - </header> - <header> - <name>Cookie2</name> - <value>$Version="1"</value> - </header> - <header> - <name>Host</name> - <value>localhost:7001</value> - </header> - <header> - <name>TE</name> - <value>trailers, deflate, gzip, compress</value> - </header> - <header> - <name>User-Agent</name> - <value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) RPT-HTTPClient/0.3-3E</value> - </header> - <header> - <name>testRecorder.playback.failMode</name> - <value>continue</value> - </header> - <header> - <name>testRecorder.playback.testID</name> - <value>-a6589e4:fc951a1e07:-7f4a</value> - </header> - <header> - <name>testRecorder.playback.testNumber</name> - <value>3</value> - </header> - </headers> - - </request> - - <response> - <statusCode>200</statusCode> - <reason></reason> - <responseBody><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +</html>]]></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> + </ses:test> + <ses:test> + <ses:testNumber>3</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/xhtml/goSelectTest.do</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>----- -------- ------- --------- ----------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>Keep-Alive, TE</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie2</ses:name> + <ses:value>$Version="1"</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>te</ses:name> + <ses:value>trailers, deflate, gzip, compress</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-761cb9ae:1017a4606a0:-77f4</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) RPT-HTTPClient/0.3-3E</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> + <ses:responseBody><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> +<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>Select Tests</title> - <style type="text/css"> + <head> + <title>Select Tests</title> + <style type="text/css"> .normal {color: #000099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} .normalAttr {color: #ff9900;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} .normalAttr2 {color: #0099ff;font-family:Verdana; font-size:8pt;margin:0,0,0,0;} @@ -489,105 +432,100 @@ .normalHead {color: #000099;font-family:Verdana; font-size:8pt;font-weight: strong;margin:0,0,0,0;} .title {color: #000099;font-family:Verdana; font-size:12pt;margin:2,0,5,0;} .resultDiv {border: thin solid;margin:5,5,5,5;} - </style> - </head> - <body> - <h1 class="normalHead">Select Tests</h1> - <a href="/coreWeb/xhtml/begin.do" class="normal" rel="contents" rev="chapter">Home</a> - <div class="resultDiv"> - <p class="normal">Select Tests</p> - <form id="selectTests" action="/coreWeb/xhtml/postSelectForm.do" method="post"> - <table> - <tr valign="top"> - <td class="normalBold" align="right">Select</td> - <td> - <input type="hidden" name="wlw-select_key:{actionForm.sel}OldValue" value="true" /> -<select name="wlw-select_key:{actionForm.sel}"><option class="normalAttr" value="Select Opt 1" disabled="disabled" selected="selected">Select Option One</option> - <option class="normalAttr2" value="Select Opt 2">Select Option Two</option></select> - </td> - </tr> - <tr valign="top"> - <td class="normalBold" align="right">Select With Options</td> - <td> - <input type="hidden" name="wlw-select_key:{actionForm.multiSel}OldValue" value="true" /> -<select name="wlw-select_key:{actionForm.multiSel}" class="normalAttr" multiple="multiple" size="3" style="background-color:#00ffff;"> -<option class="normalAttr" value="Select Option 1" style="background-color:#00ffff;">Select Option 1</option> -<option class="normalAttr" value="Select Option 2" style="background-color:#00ffff;">Select Option 2</option> -<option class="normalAttr" value="Select Option 3" style="background-color:#00ffff;">Select Option 3</option></select> - </td> - </tr> - <tr valign="top"> - <td class="normalBold" align="right">Map Select</td> - <td> - <input type="hidden" name="wlw-select_key:{actionForm.selOpts}OldValue" value="true" /> -<select name="wlw-select_key:{actionForm.selOpts}"> -<option value="Sel Opt 1">Sel Opt 1</option> -<option value="Sel Opt 2">Sel Opt 2</option></select> - </td> - </tr> - <tr valign="top"> - <td class="normalBold" align="right">Nullable Select</td> - <td> - <input type="hidden" name="wlw-select_key:{actionForm.nullable}OldValue" value="true" /> -<select name="wlw-select_key:{actionForm.nullable}" size="7"><option class="normalAttr" value="Null Opt 1">Null Opt 1</option> + </style> + </head> + <body> + <h1 class="normalHead">Select Tests</h1> + <a href="/coreWeb/xhtml/begin.do" class="normal" rel="contents" rev="chapter">Home</a> + <div class="resultDiv"> + <p class="normal">Select Tests</p> + <form id="selectTests" action="/coreWeb/xhtml/postSelectForm.do" method="post"> + <table> + <tr valign="top"> + <td class="normalBold" align="right">Select</td> + <td> + <input type="hidden" name="wlw-select_key:{actionForm.sel}OldValue" value="true" /> +<select name="wlw-select_key:{actionForm.sel}"><option class="normalAttr" value="Select Opt 1" disabled="disabled" selected="selected">Select Option One</option> + <option class="normalAttr2" value="Select Opt 2">Select Option Two</option></select> + </td> + </tr> + <tr valign="top"> + <td class="normalBold" align="right">Select With Options</td> + <td> + <input type="hidden" name="wlw-select_key:{actionForm.multiSel}OldValue" value="true" /> +<select name="wlw-select_key:{actionForm.multiSel}" class="normalAttr" multiple="multiple" size="3" style="background-color:#00ffff;"> +<option class="normalAttr" value="Select Option 1" style="background-color:#00ffff;">Select Option 1</option> +<option class="normalAttr" value="Select Option 2" style="background-color:#00ffff;">Select Option 2</option> +<option class="normalAttr" value="Select Option 3" style="background-color:#00ffff;">Select Option 3</option></select> + </td> + </tr> + <tr valign="top"> + <td class="normalBold" align="right">Map Select</td> + <td> + <input type="hidden" name="wlw-select_key:{actionForm.selOpts}OldValue" value="true" /> +<select name="wlw-select_key:{actionForm.selOpts}"> +<option value="Sel Opt 1">Sel Opt 1</option> +<option value="Sel Opt 2">Sel Opt 2</option></select> + </td> + </tr> + <tr valign="top"> + <td class="normalBold" align="right">Nullable Select</td> + <td> + <input type="hidden" name="wlw-select_key:{actionForm.nullable}OldValue" value="true" /> +<select name="wlw-select_key:{actionForm.nullable}" size="7"><option class="normalAttr" value="Null Opt 1">Null Opt 1</option> - <option class="normalAttr" value="Null Opt 2">Null Opt 2</option> + <option class="normalAttr" value="Null Opt 2">Null Opt 2</option> - <option class="normalAttr" value="Null Opt 3">Null Opt 3</option> + <option class="normalAttr" value="Null Opt 3">Null Opt 3</option> - <option class="normalAttr2" value="ds Form Opt 1">ds Form Opt 1</option> + <option class="normalAttr2" value="ds Form Opt 1">ds Form Opt 1</option> - <option class="normalAttr2" value="ds Form Opt 2">ds Form Opt 2</option> + <option class="normalAttr2" value="ds Form Opt 2">ds Form Opt 2</option> - <option class="normalAttr3" value="def Default Opt">def Default Opt</option> + <option class="normalAttr3" value="def Default Opt">def Default Opt</option> - <option class="normalAttr4" value="Null">Null</option></select> - </td> - </tr> + <option class="normalAttr4" value="Null">Null</option></select> + </td> + </tr> - </table> - <br /> - <input type="submit" value="Post Form" /> - </form> - </div> - </body> - -</html>]]></responseBody> - - </response> - - <testResults> - <testStatus>fail</testStatus> - - </testResults> - </test> - - </tests> - - <endDate>17 May 2004, 03:57:56.649 PM GMT-07:00</endDate> - <sessionStatus>fail</sessionStatus> - <testCount>3</testCount> - <passedCount>0</passedCount> - <failedCount>3</failedCount> -</recorderSession> \ No newline at end of file + </table> + <br /> + <input type="submit" value="Post Form" /> + </form> + </div> + </body> + +</html></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>pass</ses:testStatus> + </ses:testResults> + </ses:test> + </ses:tests> + <ses:endDate>15 Jan 2005, 11:59:41.031 PM MST</ses:endDate> + <ses:sessionStatus>fail</ses:sessionStatus> + <ses:testCount>3</ses:testCount> + <ses:passedCount>2</ses:passedCount> + <ses:failedCount>1</ses:failedCount> +</ses:recorderSession> \ No newline at end of file
