Test if text field is editable before setting text

Text should contain method isEditable() for testing if the text field is editable. This method should be also called in setText() method.