Package oit.utilities

Class Actions

java.lang.Object
oit.utilities.Actions

public class Actions extends Object
  • Field Details

    • element

      public static org.openqa.selenium.WebElement element
    • wait

      public static org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver> wait
    • executor

      public static org.openqa.selenium.JavascriptExecutor executor
  • Constructor Details

    • Actions

      public Actions(org.openqa.selenium.WebDriver driver)
  • Method Details

    • checkAvailabilityOf

      public org.openqa.selenium.WebElement checkAvailabilityOf(org.openqa.selenium.By locator) throws Exception
      Throws:
      Exception
    • typeInTextField

      public void typeInTextField(org.openqa.selenium.By locator, String string)
    • typeInField

      public void typeInField(org.openqa.selenium.By locator, String string)
    • typeInteger

      public void typeInteger(org.openqa.selenium.By locator, Integer number)
    • appendText

      public void appendText(org.openqa.selenium.By locator, String string)
    • imageSendKeys

      public void imageSendKeys(org.openqa.selenium.By locator, String string)
    • imageSendKeys_AlertHandling

      public String imageSendKeys_AlertHandling(org.openqa.selenium.By locator, String string)
    • typeInTextFieldAndEnter

      public void typeInTextFieldAndEnter(org.openqa.selenium.By locator, String string)
    • clickAction

      public void clickAction(org.openqa.selenium.By locator)
    • doubleClickAction

      public void doubleClickAction(org.openqa.selenium.By locator)
    • clickActionManyTimes

      public void clickActionManyTimes(org.openqa.selenium.By locator)
    • clickJS

      public void clickJS(org.openqa.selenium.By locator)
    • clickJS2

      public void clickJS2(String id)
    • click

      public void click(org.openqa.selenium.By locator)
    • switchToFrame

      public void switchToFrame(org.openqa.selenium.By locator)
    • scrollToElement

      public void scrollToElement(org.openqa.selenium.By locator) throws InterruptedException
      Throws:
      InterruptedException