myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pau...@apache.org
Subject svn commit: r487449 - in /myfaces/tomahawk/trunk/examples/simple/src: main/webapp/WEB-INF/ main/webapp/testSuite/ test/selenium/
Date Fri, 15 Dec 2006 05:27:17 GMT
Author: paulsp
Date: Thu Dec 14 21:27:16 2006
New Revision: 487449

URL: http://svn.apache.org/viewvc?view=rev&rev=487449
Log:
TOMAHAWK-809 Add more test including <h:input..> and some <h:select...>

Added:
    myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithInputs.jsp 
 (with props)
    myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithSelects.jsp
  (with props)
    myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithInputsTest.html   (with
props)
    myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithSelectsTest.html   (with
props)
Modified:
    myfaces/tomahawk/trunk/examples/simple/src/main/webapp/WEB-INF/testSuite-config.xml
    myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/home.jsp
    myfaces/tomahawk/trunk/examples/simple/src/test/selenium/TestSuite.html

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/WEB-INF/testSuite-config.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/WEB-INF/testSuite-config.xml?view=diff&rev=487449&r1=487448&r2=487449
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/WEB-INF/testSuite-config.xml (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/WEB-INF/testSuite-config.xml Thu
Dec 14 21:27:16 2006
@@ -14,6 +14,18 @@
 			<to-view-id>/testSuite/home.jsp</to-view-id>
 		</navigation-case>
 		<navigation-case>
+			<from-outcome>hForm</from-outcome>
+			<to-view-id>/testSuite/hForm.jsp</to-view-id>
+		</navigation-case>
+		<navigation-case>
+			<from-outcome>hFormWithInputs</from-outcome>
+			<to-view-id>/testSuite/hFormWithInputs.jsp</to-view-id>
+		</navigation-case>
+		<navigation-case>
+			<from-outcome>hFormWithSelects</from-outcome>
+			<to-view-id>/testSuite/hFormWithSelects.jsp</to-view-id>
+		</navigation-case>
+		<navigation-case>
 			<from-outcome>hGraphicImage</from-outcome>
 			<to-view-id>/testSuite/hGraphicImage.jsp</to-view-id>
 		</navigation-case>

Added: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithInputs.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithInputs.jsp?view=auto&rev=487449
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithInputs.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithInputs.jsp Thu
Dec 14 21:27:16 2006
@@ -0,0 +1,82 @@
+<%@ page session="false" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+//-->
+
+<f:view>
+  <t:document>
+    <t:documentHead>
+      <t:htmlTag value="title">
+        <h:outputText value="Test #{view.viewId}" />
+      </t:htmlTag>
+    </t:documentHead>
+    <t:documentBody>
+      <h:outputText value="Running test #{view.viewId}" />
+      <t:htmlTag value="br" />
+      <t:htmlTag value="br" />
+
+      <!-- Begin test -->
+
+      <!-- Testing h:OutputLabel and h:InputText -->
+      <h:form id="textInputForm">
+        <h:outputText id="hOutputText" value="in textForm" />
+        <h:outputLabel id="hOutputLabel" for="hInputText" value="Label" />
+        <h:inputText id="hInputText" value="text value" />
+      <!-- 
+  Just testing attributes.  The value for each attribute are not ment
+  to be valid.
+-->
+        <h:inputText id="hInputTextWithAttributes" accesskey="K"
+          alt="altText" dir="ltr" lang="en" maxlength="100" onblur="onBlur" 
+          onchange="onChange" onfocus="onFocus" onkeydown="onKeyDown"
+          onkeyup="onKeyUp" onmousedown="onMouseDown" onmouseout="onMouseOut"
+          onmouseover="onMouseOver" onmouseup="onMouseUp" onselect="onSelect"
+          size="10" style="font-weight: bold;" styleClass="Class"
+          tabindex="7" title="thisTitle" value="text value" />
+        <h:inputText id="hReadOnlyInputText" readonly="true" value="readOnly" />
+        <h:inputText id="hDisabledInputText" disabled="true" value="Disabled" />
+      </h:form>
+
+      <!-- Testing h:inputTextArea -->
+      <h:form id="textAreaInputForm" >
+        <h:inputTextarea id="hInputTextarea" value="Text Area" />
+        <h:inputTextarea id="hInputTextareaWithAttributes" cols="5" 
+          rows="10" value="Text Area with attributes" />
+      </h:form>
+
+
+      <!-- End test -->
+
+      <t:htmlTag value="br" />
+      <t:htmlTag value="br" />
+      <h:form id="footerLinks">
+        <h:commandLink id="homeLink" action="home" value="Home" />
+        <h:outputText value=" " />
+        <h:outputLink id="sourceLink" target="sourceWindow"
+          value="#{facesContext.externalContext.requestContextPath}#{view.viewId}.source">
+          <h:outputText value="View source in popup window" />
+        </h:outputLink>
+      </h:form>
+    </t:documentBody>
+  </t:document>
+</f:view>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithInputs.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithSelects.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithSelects.jsp?view=auto&rev=487449
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithSelects.jsp
(added)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithSelects.jsp
Thu Dec 14 21:27:16 2006
@@ -0,0 +1,92 @@
+<%@ page session="false" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+//-->
+
+<f:view>
+  <t:document>
+    <t:documentHead>
+      <t:htmlTag value="title">
+        <h:outputText value="Test #{view.viewId}" />
+      </t:htmlTag>
+    </t:documentHead>
+    <t:documentBody>
+      <h:outputText value="Running test #{view.viewId}" />
+      <t:htmlTag value="br" />
+      <t:htmlTag value="br" />
+
+      <!-- Begin test -->
+
+      <!-- Testing h:selectBooleanCheckbox -->
+      <h:form id="selectBooleanCheckboxForm" >
+        <h:selectBooleanCheckbox id="hSelectBooleanCheckboxFalse" value="no" />
+        <h:selectBooleanCheckbox id="hSelectBooleanCheckboxTrue" value="true" />
+      </h:form>
+
+      <!-- Testing h:selectManyCheckbox -->
+      <h:form id="selectManyCheckboxForm" >
+        <h:selectManyCheckbox id="hSelectManyCheckbox" >
+          <f:selectItem id="cb_1" itemLabel="Check Box 1" itemValue="CB1"/>
+          <f:selectItem id="cb_2" itemLabel="Check Box 2" itemValue="CB2" itemDisabled="true"/>
+          <f:selectItem id="cb_3" itemLabel="Check Box 3" itemValue="CB3"/>
+          <f:selectItem id="cb_4" itemLabel="Check Box 4" itemValue="CB4"/>
+          <f:selectItem id="cb_5" itemLabel="Check Box 5" itemValue="CB5"/>
+        </h:selectManyCheckbox>
+      </h:form>
+
+      <h:form id="selectManyCheckboxPageDirectionForm">
+        <h:selectManyCheckbox id="hSelectManyCheckbox" layout="pageDirection">
+          <f:selectItem id="cb_1" itemLabel="Check Box 1" itemValue="CB1"/>
+          <f:selectItem id="cb_2" itemLabel="Check Box 2" itemValue="CB2" itemDisabled="true"/>
+          <f:selectItem id="cb_3" itemLabel="Check Box 3" itemValue="CB3"/>
+          <f:selectItem id="cb_4" itemLabel="Check Box 4" itemValue="CB4"/>
+          <f:selectItem id="cb_5" itemLabel="Check Box 5" itemValue="CB5"/>
+        </h:selectManyCheckbox>
+      </h:form>
+
+       <h:form id="selectManyCheckboxLineDirectionForm" >
+        <h:selectManyCheckbox id="hSelectManyCheckbox" layout="lineDirection" border="3">
+          <f:selectItem id="cb_1" itemLabel="Check Box 1" itemValue="CB1"/>
+          <f:selectItem id="cb_2" itemLabel="Check Box 2" itemValue="CB2" itemDisabled="true"/>
+          <f:selectItem id="cb_3" itemLabel="Check Box 3" itemValue="CB3"/>
+          <f:selectItem id="cb_4" itemLabel="Check Box 4" itemValue="CB4"/>
+          <f:selectItem id="cb_5" itemLabel="Check Box 5" itemValue="CB5"/>
+        </h:selectManyCheckbox>
+      </h:form>
+
+      
+      <!-- End test -->
+
+      <t:htmlTag value="br" />
+      <t:htmlTag value="br" />
+      <h:form id="footerLinks">
+        <h:commandLink id="homeLink" action="home" value="Home" />
+        <h:outputText value=" " />
+        <h:outputLink id="sourceLink" target="sourceWindow"
+          value="#{facesContext.externalContext.requestContextPath}#{view.viewId}.source">
+          <h:outputText value="View source in popup window" />
+        </h:outputLink>
+      </h:form>
+    </t:documentBody>
+  </t:document>
+</f:view>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/hFormWithSelects.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/home.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/home.jsp?view=diff&rev=487449&r1=487448&r2=487449
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/home.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testSuite/home.jsp Thu Dec 14 21:27:16
2006
@@ -36,6 +36,8 @@
           <t:navigationMenuItem action="hForm" itemLabel="h:Form" />
           <t:navigationMenuItem action="hGraphicImage" itemLabel="h:graphicImage" />
           <t:navigationMenuItem action="hForm" itemLabel="h:Form" />
+          <t:navigationMenuItem action="hFormWithInputs" itemLabel="h:Form and h:input..."
/>
+          <t:navigationMenuItem action="hFormWithSelects" itemLabel="h:Form and h:select..."
/>
           <t:navigationMenuItem action="hOutputLink" itemLabel="h:outputLink" />
           <t:navigationMenuItem action="hOutputText" itemLabel="h:outputText" />
           <t:navigationMenuItem action="hPanelGrid" itemLabel="h:panelGrid" />

Modified: myfaces/tomahawk/trunk/examples/simple/src/test/selenium/TestSuite.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/test/selenium/TestSuite.html?view=diff&rev=487449&r1=487448&r2=487449
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/test/selenium/TestSuite.html (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/test/selenium/TestSuite.html Thu Dec 14 21:27:16
2006
@@ -36,13 +36,13 @@
            </td>
          </tr>
          <tr>
-           <td>
-               <a href="hFormTest.html">hForm</a>
+            <td>
+               <a href="tOutputTextTest.html">tOutputText</a>
            </td>
          </tr>
          <tr>
-            <td>
-               <a href="tOutputTextTest.html">tOutputText</a>
+           <td>
+               <a href="hFormTest.html">hForm</a>
            </td>
          </tr>
          <tr>
@@ -54,7 +54,17 @@
             <td>
                <a href="tPanelNavigation2Test.html">tPanelNavigation2</a>
             </td>
-          </tr>
+         </tr>
+         <tr>
+           <td>
+               <a href="hFormWithInputsTest.html">hForm with Inputs</a>
+           </td>
+         </tr>
+         <tr>
+           <td>
+               <a href="hFormWithSelectsTest.html">hForm with Selects</a>
+           </td>
+         </tr>
       </table>
    </body>
 </html>

Added: myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithInputsTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithInputsTest.html?view=auto&rev=487449
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithInputsTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithInputsTest.html Thu
Dec 14 21:27:16 2006
@@ -0,0 +1,232 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hFormWithInputsTest</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hFormWithInputsTest</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hFormWithInputs.jsf</td>
+	<td></td>
+</tr>
+<!-- Testing h:OutputLabel and h:InputText -->
+<tr>
+	<td>verifyElementPresent</td>
+	<td>textInputForm:hOutputText</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//label[@id="textInputForm:hOutputLabel"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyText</td>
+	<td>//label[@id="textInputForm:hOutputLabel"]</td>
+	<td>Label</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//label[@id="textInputForm:hOutputLabel"]@for</td>
+	<td>textInputForm:hInputText</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputText"]@name</td>
+	<td>textInputForm:hInputText</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputText"]@type</td>
+	<td>text</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputText"]@value</td>
+	<td>text value</td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>textInputForm:hInputText</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@type</td>
+	<td>text</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@value</td>
+	<td>text value</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@accesskey</td>
+	<td>K</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@alt</td>
+	<td>altText</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@dir</td>
+	<td>ltr</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@lang</td>
+	<td>en</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@maxlength</td>
+	<td>100</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onblur</td>
+	<td>onBlur</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onchange</td>
+	<td>onChange</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onfocus</td>
+	<td>onFocus</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onkeyup</td>
+	<td>onKeyUp</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onkeydown</td>
+	<td>onKeyDown</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onmousedown</td>
+	<td>onMouseDown</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onmouseup</td>
+	<td>onMouseUp</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onmouseover</td>
+	<td>onMouseOver</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onmouseout</td>
+	<td>onMouseOut</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onselect</td>
+	<td>onSelect</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@size</td>
+	<td>10</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@style</td>
+	<td>regexp:(\[object\]|font-weight: bold;)</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@class</td>
+	<td>Class</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@tabindex</td>
+	<td>7</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@title</td>
+	<td>thisTitle</td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//input[@id="textInputForm:hReadOnlyInputText"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hReadOnlyInputText"]@readonly</td>
+	<td>readonly</td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//input[@id="textInputForm:hDisabledInputText"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hDisabledInputText"]@disabled</td>
+	<td>disabled</td>
+</tr>
+<!-- Testing h:inputTextArea -->
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextarea"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyText</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextarea"]</td>
+	<td>Text Area</td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextareaWithAttributes"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyText</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextareaWithAttributes"]</td>
+	<td>Text Area with attributes</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextareaWithAttributes"]@cols</td>
+	<td>5</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextareaWithAttributes"]@rows</td>
+	<td>10</td>
+</tr>
+
+
+</tbody></table>
+</body>
+</html>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithInputsTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithSelectsTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithSelectsTest.html?view=auto&rev=487449
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithSelectsTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithSelectsTest.html Thu
Dec 14 21:27:16 2006
@@ -0,0 +1,40 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hFormWithSelectsTest</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hFormWithSelectsTest</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hFormWithSelects.jsf</td>
+	<td></td>
+</tr>
+<!-- Testing h:selectBooleanCheckbox -->
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="selectBooleanCheckboxForm:hSelectBooleanCheckboxFalse"]@type</td>
+	<td>checkbox</td>
+</tr>
+<tr>
+	<td>verifyValue</td>
+	<td>//input[@id="selectBooleanCheckboxForm:hSelectBooleanCheckboxFalse"]</td>
+	<td>off</td>
+</tr>
+<tr>
+	<td>verifyValue</td>
+	<td>//input[@id="selectBooleanCheckboxForm:hSelectBooleanCheckboxTrue"]</td>
+	<td>on</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithSelectsTest.html
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message