Class WebUIAbstract

java.lang.Object
org.ndviet.library.WebUIAbstract

public class WebUIAbstract extends Object
  • Constructor Details

    • WebUIAbstract

      public WebUIAbstract()
  • Method Details

    • click

      public static void click(org.openqa.selenium.WebDriver driver, TestObject testObject)
    • click

      public static void click(org.openqa.selenium.WebDriver driver, TestObject testObject, int timeout)
    • setText

      public static void setText(org.openqa.selenium.WebDriver driver, TestObject testObject, String text)
    • getText

      public static String getText(org.openqa.selenium.WebDriver driver, TestObject testObject)
    • getTexts

      public static List<String> getTexts(org.openqa.selenium.WebDriver driver, TestObject testObject)
    • moveToElement

      public static void moveToElement(org.openqa.selenium.WebDriver driver, TestObject testObject)
    • scrollToElement

      public static void scrollToElement(org.openqa.selenium.WebDriver driver, TestObject testObject)
    • uploadFile

      public static void uploadFile(org.openqa.selenium.WebDriver driver, TestObject testObject, String absolutePath)
    • verifyElementPresent

      public static void verifyElementPresent(org.openqa.selenium.WebDriver driver, TestObject testObject)
    • verifyElementNotPresent

      public static void verifyElementNotPresent(org.openqa.selenium.WebDriver driver, TestObject testObject)
    • verifyElementVisible

      public static void verifyElementVisible(org.openqa.selenium.WebDriver driver, TestObject testObject)
    • verifyElementNotVisible

      public static void verifyElementNotVisible(org.openqa.selenium.WebDriver driver, TestObject testObject)
    • verifyElementTextEquals

      public static void verifyElementTextEquals(org.openqa.selenium.WebDriver driver, TestObject testObject, String expectText)
    • verifyElementTextContains

      public static void verifyElementTextContains(org.openqa.selenium.WebDriver driver, TestObject testObject, String expectText)