Interface View

All Superinterfaces:
EnabledProvider, Scrollable, TestObject, TestObjectDescriber, UiObjectBase, WaitUntilEnabledProvider

public interface View extends UiObjectBase, TestObject, Scrollable
A view object in a mobile application. (iOS Only)
  • Method Details

    • zoom

      void zoom(Location focalPoint, double scale) throws GeneralLeanFtException
      Zoom to the specified scale.
      Parameters:
      focalPoint - the center point of the zoom.
      scale - the zoom scale (0.5 to reduce to half, 2 to double the size, and so on).
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • isScrollable

      boolean isScrollable() throws GeneralLeanFtException
      Indicates whether the view can be scrolled.
      Returns:
      true if the view can be scrolled.
      Throws:
      GeneralLeanFtException - if error occurs during execution.