You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by pa...@apache.org on 2007/01/11 03:51:57 UTC

svn commit: r495095 - /myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithSelectsTest.html

Author: paulsp
Date: Wed Jan 10 18:51:56 2007
New Revision: 495095

URL: http://svn.apache.org/viewvc?view=rev&rev=495095
Log:
Use verifyXxxx instead of assertXxxx so the test will not stop after the first failure 

Modified:
    myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithSelectsTest.html

Modified: 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=diff&rev=495095&r1=495094&r2=495095
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithSelectsTest.html (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/test/selenium/hFormWithSelectsTest.html Wed Jan 10 18:51:56 2007
@@ -36,84 +36,89 @@
 </tr>
 <!-- Testing h:selectManyCheckbox -->
 <tr>
-	<td>assertElementPresent</td>
+	<td>verifyElementPresent</td>
 	<td>document.forms[1].elements['selectManyCheckboxForm:hSelectManyCheckbox'][0]</td>
 	<td></td>
 </tr>
 <tr>
-	<td>assertTable</td>
+	<td>verifyTable</td>
 	<td>selectManyCheckboxForm:hSelectManyCheckbox.0.0</td>
 	<td>Check Box 1</td>
 </tr>
 <tr>
-	<td>assertAttribute</td>
+	<td>verifyAttribute</td>
 	<td>//input[@name="selectManyCheckboxForm:hSelectManyCheckbox" and @value="CB2"]@disabled</td>
 	<td>glob:*</td>
 </tr>
 <!-- Testing h:selectManyCheckbox  Page Direction -->
 <tr>
-	<td>assertElementPresent</td>
+	<td>verifyElementPresent</td>
 	<td>//table[@id="selectManyCheckboxPageDirectionForm:hSelectManyCheckbox"]//tr[5]</td>
 	<td></td>
 </tr>
 <tr>
-	<td>assertElementNotPresent</td>
+	<td>verifyElementNotPresent</td>
 	<td>//table[@id="selectManyCheckboxPageDirectionForm:hSelectManyCheckbox"]//tr[6]</td>
 	<td></td>
 </tr>
 <!-- Testing h:selectManyCheckbox  Line Direction -->
 <tr>
-	<td>assertElementPresent</td>
+	<td>verifyAttribute</td>
+	<td>//table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]@border</td>
+	<td>3</td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
 	<td>//table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]//tr/td[5]</td>
 	<td></td>
 </tr>
 <tr>
-	<td>assertElementNotPresent</td>
+	<td>verifyElementNotPresent</td>
 	<td>//table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]//tr/td[6]</td>
 	<td></td>
 </tr>
 <tr>
-	<td>assertElementNotPresent</td>
+	<td>verifyElementNotPresent</td>
 	<td>//table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]//tr[2]</td>
 	<td></td>
 </tr>
 <!-- Testing h:selectManyListBoxForm" -->
 <tr>
-	<td>assertAttribute</td>
+	<td>verifyAttribute</td>
 	<td>//select[@name="selectManyListBoxForm:hSelectManyListbox"]@size</td>
 	<td>2</td>
 </tr>
 <tr>
-	<td>assertAttribute</td>
+	<td>verifyAttribute</td>
 	<td>//select[@name="selectManyListBoxForm:hSelectManyListbox"]/option[1]@value</td>
 	<td>LB1</td>
 </tr>
 <tr>
-	<td>assertAttribute</td>
+	<td>verifyAttribute</td>
 	<td>//select[@name="selectManyListBoxForm:hSelectManyListbox"]//option[@value="LB2"]@disabled</td>
 	<td>glob:*</td>
 </tr>
 <!-- Testing h:selectManyMenuForm" -->
 <tr>
-	<td>assertAttribute</td>
+	<td>verifyAttribute</td>
 	<td>//select[@name="selectManyMenuForm:hSelectManyMenu"]@size</td>
 	<td>1</td>
 </tr>
 <!-- Testing h:selectOneListboxForm" -->
 <tr>
-	<td>assertAttribute</td>
+	<td>verifyAttribute</td>
 	<td>//select[@name="selectOneListBoxForm:hSelectOneListbox"]@size</td>
 	<td>10</td>
 </tr>
 <!-- Testing h:selectOneMenuForm" -->
 <tr>
-	<td>assertAttribute</td>
+	<td>verifyAttribute</td>
 	<td>//select[@name="selectOneMenuForm:hSelectOneMenu"]@size</td>
 	<td>1</td>
 </tr>
 <!-- Testing h:selectOneRadioForm" -->
 <tr>
-	<td>assertAttribute</td>
+	<td>verifyAttribute</td>
 	<td>//input[@name="selectOneRadioForm:hSelectOneRadio" and @value="RB1"]@type</td>
 	<td>radio</td>
 </tr>