-
- All Implemented Interfaces:
-
com.kaspersky.components.kautomator.component.common.assertions.UiBaseAssertions
public interface UiBottomNavigationViewAssertions implements UiBaseAssertions
Provides assertions for BottomNavigationview
-
-
Method Summary
Modifier and Type Method Description UnithasSelectedItemWithId(String id)Checks if the view's selected menu item id matches given one UnithasNotSelectedItemWithId(String id)Checks if the view's selected menu item id does not match given one. UnithasSelectedItemWithIndex(Integer index)Checks if the view's selected menu item index matches given one. UnithasNotSelectedItemWithIndex(Integer index)Checks if the view's selected menu item index does not match given one. UnithasSelectedItemWithTitle(String title)Checks if the view's selected menu item title matches given one. UnithasNotSelectedItemWithTitle(String title)Checks if the view's selected menu item title does not match given one. abstract UiObjectInteractionDelegategetView()-
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
-
hasSelectedItemWithId
Unit hasSelectedItemWithId(String id)
Checks if the view's selected menu item id matches given one
- Parameters:
id- Menu item id
-
hasNotSelectedItemWithId
Unit hasNotSelectedItemWithId(String id)
Checks if the view's selected menu item id does not match given one.
- Parameters:
id- Menu item id
-
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
-
getView
abstract UiObjectInteractionDelegate getView()
-
-
-
-