Package 

Interface UiBottomNavigationViewAssertions

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum UiBottomNavigationViewAssertionType
    • Method Summary

      Modifier and Type Method Description
      Unit hasSelectedItemWithId(String id) Checks if the view's selected menu item id matches given one
      Unit hasNotSelectedItemWithId(String id) Checks if the view's selected menu item id does not match given one.
      Unit hasSelectedItemWithIndex(Integer index) Checks if the view's selected menu item index matches given one.
      Unit hasNotSelectedItemWithIndex(Integer index) Checks if the view's selected menu item index does not match given one.
      Unit hasSelectedItemWithTitle(String title) Checks if the view's selected menu item title matches given one.
      Unit hasNotSelectedItemWithTitle(String title) Checks if the view's selected menu item title does not match given one.
      abstract UiObjectInteractionDelegate getView()
      • Methods inherited from class com.kaspersky.components.kautomator.component.bottomnav.UiBottomNavigationViewAssertions

        isClickable, isDisabled, isDisplayed, isEnabled, isFocusable, isFocused, isNotClickable, isNotDisplayed, isNotFocusable, isNotFocused, isNotSelected, isSelected
      • Methods inherited from class com.kaspersky.components.kautomator.component.common.assertions.UiBaseAssertions

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • hasSelectedItemWithIndex

         Unit hasSelectedItemWithIndex(Integer index)

        Checks if the view's selected menu item index matches given one. Note that this method uses view hierarchy which could be changed at any time.

        Parameters:
        index - Menu item index
      • hasNotSelectedItemWithIndex

         Unit hasNotSelectedItemWithIndex(Integer index)

        Checks if the view's selected menu item index does not match given one. Note that this method uses view hierarchy which could be changed at any time.

        Parameters:
        index - Menu item index
      • hasSelectedItemWithTitle

         Unit hasSelectedItemWithTitle(String title)

        Checks if the view's selected menu item title matches given one. Note that this method uses view hierarchy which could be changed at any time.

        Parameters:
        title - Menu item title
      • hasNotSelectedItemWithTitle

         Unit hasNotSelectedItemWithTitle(String title)

        Checks if the view's selected menu item title does not match given one. Note that this method uses view hierarchy which could be changed at any time.

        Parameters:
        title - Menu item title