com.appfoundation.automation.framework
Enum BrowserVersion

java.lang.Object
  extended by java.lang.Enum<BrowserVersion>
      extended by com.appfoundation.automation.framework.BrowserVersion
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BrowserVersion>

public enum BrowserVersion
extends java.lang.Enum<BrowserVersion>

Represents a list of supported HTML Browser versions, which can be additionally specified for an test class for HTML Unit.

Author:
john.valentino

Enum Constant Summary
CHOME_16
           
CHROME
           
FIREFOX_10
           
FIREFOX_17
           
FIREFOX_3_6
           
INTERNET_EXPLORER_6
           
INTERNET_EXPLORER_7
           
INTERNET_EXPLORER_8
           
INTERNET_EXPLORER_9
           
 
Method Summary
static BrowserVersion valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BrowserVersion[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CHROME

public static final BrowserVersion CHROME

CHOME_16

public static final BrowserVersion CHOME_16

FIREFOX_10

public static final BrowserVersion FIREFOX_10

FIREFOX_17

public static final BrowserVersion FIREFOX_17

FIREFOX_3_6

public static final BrowserVersion FIREFOX_3_6

INTERNET_EXPLORER_6

public static final BrowserVersion INTERNET_EXPLORER_6

INTERNET_EXPLORER_7

public static final BrowserVersion INTERNET_EXPLORER_7

INTERNET_EXPLORER_8

public static final BrowserVersion INTERNET_EXPLORER_8

INTERNET_EXPLORER_9

public static final BrowserVersion INTERNET_EXPLORER_9
Method Detail

values

public static BrowserVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BrowserVersion c : BrowserVersion.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BrowserVersion valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null