Class ZestLoopClientElements

    • Constructor Detail

      • ZestLoopClientElements

        public ZestLoopClientElements​(String variableName,
                                      String windowHandle,
                                      String type,
                                      String element,
                                      String attribute)
      • ZestLoopClientElements

        public ZestLoopClientElements()
        Instantiates a new loop of client elements.
    • Method Detail

      • isLastState

        public boolean isLastState()
        Description copied from class: ZestLoop
        checks if the loop is on its last state
        Specified by:
        isLastState in class ZestLoop<String>
        Returns:
        true if the loop is over
      • increase

        public void increase()
        Description copied from class: ZestLoop
        increase the loop indexes
        Specified by:
        increase in class ZestLoop<String>
      • toLastState

        public void toLastState()
        Description copied from class: ZestLoop
        ends the loop taking its current state to the last state
        Specified by:
        toLastState in class ZestLoop<String>
      • getCurrentToken

        public String getCurrentToken()
        Description copied from class: ZestLoop
        return the current token considered inside the loop.
        Overrides:
        getCurrentToken in class ZestLoop<String>
        Returns:
        the current token considered inside the loop
      • loop

        public boolean loop()
      • endLoop

        public void endLoop()
      • getWindowHandle

        public String getWindowHandle()
      • getElement

        public String getElement()
      • getType

        public String getType()
      • getAttribute

        public String getAttribute()
      • setWindowHandle

        public void setWindowHandle​(String windowHandle)
      • setElement

        public void setElement​(String element)
      • setType

        public void setType​(String type)
      • setAttribute

        public void setAttribute​(String attribute)