[Checkins] SVN: gocept.selenium/trunk/ - API expansion: add ``isChecked`` to verify checkboxes.

Christian Zagrodnick cz at gocept.com
Thu Aug 5 04:05:48 EDT 2010


Log message for revision 115471:
  - API expansion: add ``isChecked`` to verify checkboxes.
  ?\194?\167
  

Changed:
  U   gocept.selenium/trunk/CHANGES.txt
  U   gocept.selenium/trunk/src/gocept/selenium/selenese.py

-=-
Modified: gocept.selenium/trunk/CHANGES.txt
===================================================================
--- gocept.selenium/trunk/CHANGES.txt	2010-08-05 08:05:43 UTC (rev 115470)
+++ gocept.selenium/trunk/CHANGES.txt	2010-08-05 08:05:48 UTC (rev 115471)
@@ -6,7 +6,9 @@
 
 - assertXpathCount now also takes ints (#7681).
 
+- API expansion: add ``isChecked`` to verify checkboxes.
 
+
 0.5 (2010-08-03)
 ----------------
 

Modified: gocept.selenium/trunk/src/gocept/selenium/selenese.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/selenese.py	2010-08-05 08:05:43 UTC (rev 115470)
+++ gocept.selenium/trunk/src/gocept/selenium/selenese.py	2010-08-05 08:05:48 UTC (rev 115471)
@@ -256,6 +256,11 @@
     def getSelectedLabel(self, locator):
         pass
 
+    @assert_type('locator')
+    @passthrough
+    def isChecked(self, locator):
+        pass
+
     @assert_type('locator_pattern')
     @passthrough
     def getText(self, locator):



More information about the checkins mailing list