Interface EditField

All Superinterfaces:
Clickable, EditFieldBase, EditFieldCommon, EnabledProvider, LocationInfoProvider, SupportDragAndDrop, SupportsNativeObject, TestObject, TestObjectDescriber, VisibleProvider, WaitUntilEnabledProvider, WaitUntilVisibleProvider, WebElement, WebTestObject, WebTestObjectDescriber
All Known Subinterfaces:
EditField, Password

public interface EditField extends WebElement, EditFieldCommon, WaitUntilEnabledProvider
A Web edit box.
  • Method Details

    • setSecure

      void setSecure(String encryptedText) throws GeneralLeanFtException
      Sets the encoded value of this edit box.
      Generate the encoded value using the Password Encoder utility (CryptonApp.exe), available from the OpenText Functional Testing for Developers menu in your IDE, or from the OpenText Functional Testing for Developers installation\bin folder.
      Note: While the SetSecure method enables you to hide passwords displayed on the screen while running or editing a test, it is not intended to be a secure way to protect password information.

      Parameters:
      encryptedText - the encoded text.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • submit

      void submit() throws GeneralLeanFtException
      When working in a Web form, simulates pressing the Enter key while the focus is on the object specified in the statement.
      Note: If the object is not part of a Web form, Submit has no effect.
      Throws:
      GeneralLeanFtException - if error occurs during execution