Package net.thucydides.core
Class Thucydides
java.lang.Object
net.thucydides.core.Thucydides
Deprecated.
Use Serenity class instead
A utility class that provides services to initialize web testing and reporting-related fields in arbitrary objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
done()
Deprecated.Indicate that the test run using this object is finished, and reports can be generated.static SessionMap<Object,
Object> Deprecated.static String
Deprecated.static String
Deprecated.static org.openqa.selenium.firefox.FirefoxProfile
Deprecated.static StepListener
Deprecated.static void
ignoredStep
(String reason) Deprecated.static void
initialize
(Object testCase) Deprecated.static void
Deprecated.static void
initializeWithNoStepListener
(Object testCase) Deprecated.Initialize Thucydides-related fields in the specified object.static void
injectScenarioStepsInto
(Object testCase) Deprecated.Instantiates the @ManagedPages-annotated Pages instance using current WebDriver.static void
pendingStep
(String reason) Deprecated.static void
Deprecated.static void
useFirefoxProfile
(org.openqa.selenium.firefox.FirefoxProfile profile) Deprecated.
-
Constructor Details
-
Thucydides
public Thucydides()Deprecated.
-
-
Method Details
-
initialize
Deprecated. -
initializeWithNoStepListener
Deprecated.Initialize Thucydides-related fields in the specified object. This includes managed WebDriver instances,- Parameters:
testCase
- any object (testcase or other) containing injectable Thucydides components
-
injectScenarioStepsInto
Deprecated.Instantiates the @ManagedPages-annotated Pages instance using current WebDriver.- Parameters:
testCase
- any object (testcase or other) containing injectable Thucydides components
-
done
public static void done()Deprecated.Indicate that the test run using this object is finished, and reports can be generated. -
getCurrentSessionID
Deprecated. -
getStepListener
Deprecated. -
initializeTestSession
public static void initializeTestSession()Deprecated. -
getCurrentSession
Deprecated. -
pendingStep
Deprecated. -
ignoredStep
Deprecated. -
takeScreenshot
public static void takeScreenshot()Deprecated. -
getDefaultProjectKey
Deprecated.- Returns:
- The current working directory name is used as a default project key if no other key is provided.
-
useFirefoxProfile
public static void useFirefoxProfile(org.openqa.selenium.firefox.FirefoxProfile profile) Deprecated. -
getFirefoxProfile
public static org.openqa.selenium.firefox.FirefoxProfile getFirefoxProfile()Deprecated.
-