[Checkins] SVN: gocept.selenium/trunk/ API expansion: ``getSelectedValue``, ``getSelectedIndex``

Wolfgang Schnerring wosc at wosc.de
Fri Aug 6 08:54:49 EDT 2010


Log message for revision 115520:
  API expansion: ``getSelectedValue``, ``getSelectedIndex``
  

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-06 10:11:36 UTC (rev 115519)
+++ gocept.selenium/trunk/CHANGES.txt	2010-08-06 12:54:48 UTC (rev 115520)
@@ -25,7 +25,9 @@
 
 - API expansion: add the assertions for ``getLocation``.
 
+- API expansion: ``getSelectedValue``, ``getSelectedIndex``.
 
+
 0.5 (2010-08-03)
 ----------------
 

Modified: gocept.selenium/trunk/src/gocept/selenium/selenese.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/selenese.py	2010-08-06 10:11:36 UTC (rev 115519)
+++ gocept.selenium/trunk/src/gocept/selenium/selenese.py	2010-08-06 12:54:48 UTC (rev 115520)
@@ -264,6 +264,16 @@
     def getSelectedLabel(self, locator):
         pass
 
+    @assert_type('locator_pattern')
+    @passthrough
+    def getSelectedValue(self, locator):
+        pass
+
+    @assert_type('locator_pattern')
+    @passthrough
+    def getSelectedIndex(self, locator):
+        pass
+
     @assert_type('locator')
     @passthrough
     def isChecked(self, locator):



More information about the checkins mailing list