Package br.com.jarch.test
Class TestUtils
- java.lang.Object
-
- br.com.jarch.test.TestUtils
-
public final class TestUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
login(org.openqa.selenium.WebDriver driver, java.lang.String url, java.lang.String login, java.lang.String senha)
static void
logout(org.openqa.selenium.WebDriver driver)
static void
screenshot(org.openqa.selenium.WebDriver driver, java.io.File filePng)
static void
scrollTo(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement webElement)
static void
scrollToButtonsDivDataMaster(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement webElement)
static void
waitForAjaxProcess(org.openqa.selenium.WebDriver driver, int timeSecondsWaitMessage)
static void
waitForMessageProcess(org.openqa.selenium.WebDriver driver, int timeSecondsWaitMessage)
-
-
-
Method Detail
-
login
public static void login(org.openqa.selenium.WebDriver driver, java.lang.String url, java.lang.String login, java.lang.String senha)
-
logout
public static void logout(org.openqa.selenium.WebDriver driver)
-
scrollTo
public static void scrollTo(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement webElement)
-
scrollToButtonsDivDataMaster
public static void scrollToButtonsDivDataMaster(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement webElement)
-
waitForMessageProcess
public static void waitForMessageProcess(org.openqa.selenium.WebDriver driver, int timeSecondsWaitMessage)
-
waitForAjaxProcess
public static void waitForAjaxProcess(org.openqa.selenium.WebDriver driver, int timeSecondsWaitMessage)
-
screenshot
public static void screenshot(org.openqa.selenium.WebDriver driver, java.io.File filePng)
-
-