public class Thucydides extends Object
Constructor and Description |
---|
Thucydides() |
Modifier and Type | Method and Description |
---|---|
static void |
done()
Indicate that the test run using this object is finished, and reports can be generated.
|
static SessionMap |
getCurrentSession() |
static String |
getCurrentSessionID() |
static String |
getDefaultProjectKey()
The current working directory name is used as a default project key if no other key is provided.
|
protected static org.openqa.selenium.WebDriver |
getDriver() |
static org.openqa.selenium.firefox.FirefoxProfile |
getFirefoxProfile() |
protected static Pages |
getPages() |
static StepFactory |
getStepFactory() |
static StepListener |
getStepListener() |
static void |
ignoredStep(String reason) |
static void |
initialize(Object testCase)
Initialize Thucydides-related fields in the specified object.
|
static void |
initializeTestSession() |
protected static void |
injectAnnotatedPagesObjectInto(Object testCase)
Instantiates the @ManagedPages-annotated Pages instance using current WebDriver.
|
protected static void |
injectDriverInto(Object testCase)
Instantiate the @Managed-annotated WebDriver instance with current WebDriver.
|
static void |
injectScenarioStepsInto(Object testCase)
Instantiates the @ManagedPages-annotated Pages instance using current WebDriver.
|
static void |
pendingStep(String reason) |
protected static void |
stopUsingMockDriver() |
static void |
takeScreenshot() |
static void |
useFirefoxProfile(org.openqa.selenium.firefox.FirefoxProfile profile) |
public static void initialize(Object testCase)
protected static void injectDriverInto(Object testCase)
public static void injectScenarioStepsInto(Object testCase)
protected static void injectAnnotatedPagesObjectInto(Object testCase)
public static void done()
public static String getCurrentSessionID()
protected static org.openqa.selenium.WebDriver getDriver()
protected static Pages getPages()
protected static void stopUsingMockDriver()
public static StepFactory getStepFactory()
public static StepListener getStepListener()
public static void initializeTestSession()
public static SessionMap getCurrentSession()
public static void pendingStep(String reason)
public static void ignoredStep(String reason)
public static void takeScreenshot()
public static String getDefaultProjectKey()
public static void useFirefoxProfile(org.openqa.selenium.firefox.FirefoxProfile profile)
public static org.openqa.selenium.firefox.FirefoxProfile getFirefoxProfile()
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.