com.unitedinternet.portal.selenium.utils.logging
Class LoggingWait

java.lang.Object
  extended by com.thoughtworks.selenium.Wait
      extended by com.unitedinternet.portal.selenium.utils.logging.LoggingWait

public abstract class LoggingWait
extends com.thoughtworks.selenium.Wait

Extends the selenium wait class with error handling.

Author:
ralf2511

Nested Class Summary
 
Nested classes/interfaces inherited from class com.thoughtworks.selenium.Wait
com.thoughtworks.selenium.Wait.WaitTimedOutException
 
Field Summary
 
Fields inherited from class com.thoughtworks.selenium.Wait
DEFAULT_INTERVAL, DEFAULT_TIMEOUT
 
Constructor Summary
LoggingWait(LoggingSelenium selenium)
          Create new wait instance.
 
Method Summary
 void wait(java.lang.String message, long timeoutInMilliseconds, long intervalInMilliseconds)
           Overrides the wait function and catch the timeout.
 
Methods inherited from class com.thoughtworks.selenium.Wait
until, wait, wait
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingWait

public LoggingWait(LoggingSelenium selenium)
Create new wait instance.

Parameters:
selenium - Instance of LoggingSelenium to bail out exceptions
Method Detail

wait

public void wait(java.lang.String message,
                 long timeoutInMilliseconds,
                 long intervalInMilliseconds)
Overrides the wait function and catch the timeout.

Overrides:
wait in class com.thoughtworks.selenium.Wait


Copyright © 2009. All Rights Reserved.