Class NeoAction
java.lang.Object
com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
com.onenetwork.platform.tools.test.ui.neo.components.NeoAction
public class NeoAction extends NeoComponent
This Component deals with action button
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPONENT_NAME
Fields inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
context, driver, element
-
Constructor Summary
Constructors Constructor Description NeoAction(NeoUIContext context, org.openqa.selenium.WebElement element)
-
Method Summary
Modifier and Type Method Description void
clickOnActionButton()
Perform click action on button .java.lang.String
getActionButtonText()
It returns action text.void
selectAction(java.lang.String itemName)
Select action from menu listMethods inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
getEl, getFieldErrorMessage, getTooltipMessage, isDisplayed, setMultipleValues, setValue
-
Field Details
-
COMPONENT_NAME
public static final java.lang.String COMPONENT_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
selectAction
public void selectAction(java.lang.String itemName)Select action from menu list- Parameters:
itemName
- menu item name
-
clickOnActionButton
public void clickOnActionButton()Perform click action on button . -
getActionButtonText
public java.lang.String getActionButtonText()It returns action text.
-