com.ibm.team.fvt.tests.web
Class FirefoxBrowser

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebBrowser
      extended by com.ibm.team.fvt.tests.web.FirefoxBrowser

public class FirefoxBrowser
extends WebBrowser

The browser class when Firefox is used to run the tests.


Field Summary
 
Fields inherited from class com.ibm.team.fvt.tests.web.WebBrowser
BROWSER_KIND_ID, NO_BROWSER_ELEMENT_FOUND, NO_ELEMENT_FOUND
 
Constructor Summary
FirefoxBrowser()
           
 
Method Summary
 boolean isFirefox()
          Tells whether the current browser is Firefox or not.
 boolean isGoogleChrome()
          Tells whether the current browser is Google Chrome or not.
 boolean isInternetExplorer()
          Tells whether the current browser is Internet Explorer or not.
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebBrowser
back, check, clickButton, close, createInstance, findElement, findElement, findElement, findElementInFrames, findElements, findElements, findElements, get, getCurrentUrl, hasSeveralWindows, maximize, mouseOver, purgeAlert, purgeAlerts, refresh, resetFrame, scrollPageTo, scrollPageTop, select, selectFrame, selectFrame, selectFrame, selectFrame, selectLastFrame, selectVisibleFrame, switchBackToCurrentWindow, switchToNextWindow, takeFailureSnapshot, takeSnapshot, takeSnapshotFailure, takeSnapshotInfo, takeSnapshotWarning, toString, typeText, waitForElement, waitForElement, waitForElements, waitForMultipleElements, waitForText, waitForTextPresent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FirefoxBrowser

public FirefoxBrowser()
Method Detail

isFirefox

public boolean isFirefox()
Description copied from class: WebBrowser
Tells whether the current browser is Firefox or not.

Specified by:
isFirefox in class WebBrowser
Returns:
true if the current browser is FF, false otherwise.

isGoogleChrome

public boolean isGoogleChrome()
Description copied from class: WebBrowser
Tells whether the current browser is Google Chrome or not.

Specified by:
isGoogleChrome in class WebBrowser
Returns:
true if the current browser is GC, false otherwise.

isInternetExplorer

public boolean isInternetExplorer()
Description copied from class: WebBrowser
Tells whether the current browser is Internet Explorer or not.

Specified by:
isInternetExplorer in class WebBrowser
Returns:
true if the current browser is IE, false otherwise.