Class Tabs

  • All Implemented Interfaces:
    com.epam.jdi.light.asserts.generic.HasAssert<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>, com.epam.jdi.light.elements.complex.IHasSize, com.epam.jdi.light.elements.complex.ISelector, com.epam.jdi.light.elements.interfaces.base.HasCache, com.epam.jdi.light.elements.interfaces.base.HasInit, com.epam.jdi.light.elements.interfaces.base.HasUIList, com.epam.jdi.light.elements.interfaces.base.HasValue, com.epam.jdi.light.elements.interfaces.base.IBaseElement, com.epam.jdi.light.elements.interfaces.base.ICoreElement, com.epam.jdi.light.elements.interfaces.base.INamed, com.epam.jdi.light.elements.interfaces.base.JDIElement, com.epam.jdi.light.elements.interfaces.base.SetValue, com.epam.jdi.light.elements.interfaces.common.IsText, com.jdiai.tools.HasStartIndex

    public class Tabs
    extends com.epam.jdi.light.elements.base.UIListBase<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>
    Created by Roman Iovlev on 26.09.2019 Email: roman.iovlev.jdi@gmail.com; Skype: roman.iovlev
    • Field Summary

      • Fields inherited from class com.epam.jdi.light.elements.base.UIListBase

        startIndex
      • Fields inherited from class com.epam.jdi.light.elements.base.UIBaseElement

        thisParent
    • Constructor Summary

      Constructors 
      Constructor Description
      Tabs()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.epam.jdi.light.elements.common.UIElement get​(int index)  
      com.epam.jdi.light.elements.common.UIElement get​(String value)  
      <TEnum extends Enum<?>>
      com.epam.jdi.light.elements.common.UIElement
      get​(TEnum value)  
      void highlight()  
      void highlight​(String color)  
      void hover()  
      com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?> is()  
      boolean isDisplayed()  
      boolean isEnabled()  
      List<String> listDisabled()  
      List<String> listEnabled()  
      void select​(int index)  
      void select​(String value)  
      String selected()  
      boolean selected​(String value)  
      void show()  
      List<String> values()  
      List<String> values​(com.epam.jdi.light.common.TextTypes type)  
      boolean wait​(com.jdiai.tools.func.JFunc1<Tabs,​Boolean> condition)  
      • Methods inherited from class com.epam.jdi.light.elements.base.UIListBase

        first, getLocation, getSize, getStartIndex, getValue, isDisabled, isEmpty, isNotEmpty, isNotVisible, isVisible, last, list, offCache, setStartIndex, setValue
      • Methods inherited from class com.epam.jdi.light.elements.base.UIBaseElement

        base, core, init, linked, linkedList, toString
      • Methods inherited from interface com.epam.jdi.light.asserts.generic.HasAssert

        assertThat, has, shouldBe, verify, waitFor, waitFor
      • Methods inherited from interface com.epam.jdi.light.elements.interfaces.base.IBaseElement

        base, getFullName, getName, isUseCache, setCore, setName, setTimeout, setup, waitSec
      • Methods inherited from interface com.epam.jdi.light.elements.interfaces.base.ICoreElement

        attr, attrs, children, classes, classLike, classLike, command, commands, core, css, doubleClick, dragAndDropTo, dragAndDropTo, find, find, find, finds, finds, finds, firstChild, getDirectionTo, getDirectionTo, getTagName, hasAttribute, hasClass, iCore, isAbove, isAbove, isBelow, isBelow, isExist, isNotExist, isOnLeftOf, isOnLeftOf, isOnRightOf, isOnRightOf, pasteText, pasteText, press, printHtml, pseudo, rightClick, setAttribute, should, shouldBe, visualValidation, visualValidation, waitFor, waitFor, with
      • Methods inherited from interface com.epam.jdi.light.elements.complex.ISelector

        attrs, getText, isHidden, labels, select, select, select, select, selectByText, selected, size
      • Methods inherited from interface com.epam.jdi.light.elements.interfaces.common.IsText

        getTextForce, text, text
    • Constructor Detail

      • Tabs

        public Tabs()
    • Method Detail

      • select

        public void select​(String value)
      • select

        public void select​(int index)
      • get

        public com.epam.jdi.light.elements.common.UIElement get​(String value)
        Overrides:
        get in class com.epam.jdi.light.elements.base.UIListBase<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>
      • get

        public <TEnum extends Enum<?>> com.epam.jdi.light.elements.common.UIElement get​(TEnum value)
      • get

        public com.epam.jdi.light.elements.common.UIElement get​(int index)
        Overrides:
        get in class com.epam.jdi.light.elements.base.UIListBase<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>
      • selected

        public String selected()
      • selected

        public boolean selected​(String value)
      • values

        public List<String> values​(com.epam.jdi.light.common.TextTypes type)
      • listDisabled

        public List<String> listDisabled()
      • wait

        public boolean wait​(com.jdiai.tools.func.JFunc1<Tabs,​Boolean> condition)
      • hover

        public void hover()
      • isDisplayed

        public boolean isDisplayed()
        Specified by:
        isDisplayed in interface com.epam.jdi.light.elements.interfaces.base.ICoreElement
        Specified by:
        isDisplayed in interface com.epam.jdi.light.elements.complex.ISelector
        Overrides:
        isDisplayed in class com.epam.jdi.light.elements.base.UIListBase<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>
      • highlight

        public void highlight​(String color)
        Specified by:
        highlight in interface com.epam.jdi.light.elements.interfaces.base.ICoreElement
        Overrides:
        highlight in class com.epam.jdi.light.elements.base.UIListBase<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>
      • highlight

        public void highlight()
        Specified by:
        highlight in interface com.epam.jdi.light.elements.interfaces.base.ICoreElement
        Overrides:
        highlight in class com.epam.jdi.light.elements.base.UIListBase<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>
      • show

        public void show()
        Specified by:
        show in interface com.epam.jdi.light.elements.interfaces.base.ICoreElement
        Overrides:
        show in class com.epam.jdi.light.elements.base.UIListBase<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface com.epam.jdi.light.elements.interfaces.base.ICoreElement
        Overrides:
        isEnabled in class com.epam.jdi.light.elements.base.UIListBase<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>
      • is

        public com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?> is()
        Specified by:
        is in interface com.epam.jdi.light.asserts.generic.HasAssert<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>
        Overrides:
        is in class com.epam.jdi.light.elements.base.UIListBase<com.epam.jdi.light.asserts.generic.UISelectAssert<?,​?>>