Error in selectedLabel(), selectedValue() and selectedId() functions

Call to a member function text() on a non-object in /PHPUnit/Extensions/Selenium2TestCase/Element/Select.php