public static enum PtlWebDriverStrategy.SessionLevel extends java.lang.Enum<PtlWebDriverStrategy.SessionLevel>
列挙型定数と説明 |
---|
GLOBAL
テスト全体を通じて共通のWebDriverセッションを利用します。
|
PERSISTED
テスト情報をファイルに格納し、次回再利用します。
|
TEST_CASE
テストケース毎に個別のWebDriverセッションを利用します。
|
TEST_CLASS
テストクラス内の全てのテストケースで同一のWebDriverセッションを利用します。
|
USE_CONFIG
PtlWebDriverStrategy.sessionLevel() のデフォルト値です。 |
修飾子とタイプ | メソッドと説明 |
---|---|
static PtlWebDriverStrategy.SessionLevel |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static PtlWebDriverStrategy.SessionLevel[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final PtlWebDriverStrategy.SessionLevel USE_CONFIG
PtlWebDriverStrategy.sessionLevel()
のデフォルト値です。
com.htmlhifive.pitalium.core.config.EnvironmentConfig#reuseDriverForAllClasses
の設定を利用します。public static final PtlWebDriverStrategy.SessionLevel TEST_CASE
com.htmlhifive.pitalium.core.config.EnvironmentConfig#reuseDriverForAllClasses
の設定をクラス単位で上書きします。public static final PtlWebDriverStrategy.SessionLevel TEST_CLASS
com.htmlhifive.pitalium.core.config.EnvironmentConfig#reuseDriverForAllClasses
の設定をクラス単位で上書きします。public static final PtlWebDriverStrategy.SessionLevel GLOBAL
com.htmlhifive.pitalium.core.config.EnvironmentConfig#reuseDriverForAllClasses
の設定をクラス単位で上書きします。public static final PtlWebDriverStrategy.SessionLevel PERSISTED
com.htmlhifive.pitalium.core.config.EnvironmentConfig#reuseDriverForAllClasses
の設定をクラス単位で上書きします。public static PtlWebDriverStrategy.SessionLevel[] values()
for(PtlWebDriverStrategy.SessionLevel c: PtlWebDriverStrategy.SessionLevel.values()) System.out.println(c);
public static PtlWebDriverStrategy.SessionLevel valueOf(java.lang.String name)
name
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合