edu.samplu.common
Class WebDriverUtil

java.lang.Object
  extended by edu.samplu.common.WebDriverUtil

public class WebDriverUtil
extends Object

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static int DEFAULT_IMPLICIT_WAIT_TIME
           
static String REMOTE_DRIVER_SAUCELABS_PROPERTY
           
static int SHORT_IMPLICIT_WAIT_TIME
           
 
Constructor Summary
WebDriverUtil()
           
 
Method Summary
static void checkForIncidentReport(org.openqa.selenium.WebDriver driver, String locator)
           
static void checkForIncidentReport(org.openqa.selenium.WebDriver driver, String locator, String message)
           
static org.openqa.selenium.chrome.ChromeDriverService createAndStartService()
           
static org.openqa.selenium.WebDriver setUp(String username, String url)
           
static org.openqa.selenium.WebDriver setUp(String username, String url, String className, org.junit.rules.TestName testName)
          Setup the WebDriver test, login and load the tested web page
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_IMPLICIT_WAIT_TIME

public static int DEFAULT_IMPLICIT_WAIT_TIME

SHORT_IMPLICIT_WAIT_TIME

public static int SHORT_IMPLICIT_WAIT_TIME

REMOTE_DRIVER_SAUCELABS_PROPERTY

public static final String REMOTE_DRIVER_SAUCELABS_PROPERTY
See Also:
Constant Field Values
Constructor Detail

WebDriverUtil

public WebDriverUtil()
Method Detail

setUp

public static org.openqa.selenium.WebDriver setUp(String username,
                                                  String url)
                                           throws Exception
Parameters:
username -
url -
Returns:
Throws:
Exception

setUp

public static org.openqa.selenium.WebDriver setUp(String username,
                                                  String url,
                                                  String className,
                                                  org.junit.rules.TestName testName)
                                           throws Exception
Setup the WebDriver test, login and load the tested web page

Throws:
Exception

checkForIncidentReport

public static void checkForIncidentReport(org.openqa.selenium.WebDriver driver,
                                          String locator)

checkForIncidentReport

public static void checkForIncidentReport(org.openqa.selenium.WebDriver driver,
                                          String locator,
                                          String message)

createAndStartService

public static org.openqa.selenium.chrome.ChromeDriverService createAndStartService()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.