Class MobileTextBox


  • public class MobileTextBox
    extends MobileElement<MobileTextBox>
    A single line mobile Text Box element - native or HTML one

    Can be identified by:

    • id
    • name
    • text - the exact text that element displays
    • partialText - some part of the text that element displays
    • xpath

    • Method Detail

      • getValue

        public String getValue()
        Get the Text Box value
        Returns:
      • setValue

        public MobileTextBox setValue​(String value)
        Set the Text Box value
        Parameters:
        value -
      • pressEnterKey

        public void pressEnterKey()
      • verifyValue

        public void verifyValue​(String expectedValue)
        Verify the Text Box value is as specified
        Parameters:
        expectedValue -
      • verifyNotValue

        public void verifyNotValue​(String notExpectedValue)
        Verify the Text Box value is NOT as specified
        Parameters:
        notExpectedValue -