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 voiddone()Deprecated.Indicate that the test run using this object is finished, and reports can be generated.static SessionMap<Object,Object> Deprecated.static StringDeprecated.static StringDeprecated.static org.openqa.selenium.firefox.FirefoxProfileDeprecated.static StepListenerDeprecated.static voidignoredStep(String reason) Deprecated.static voidinitialize(Object testCase) Deprecated.static voidDeprecated.static voidinitializeWithNoStepListener(Object testCase) Deprecated.Initialize Thucydides-related fields in the specified object.static voidinjectScenarioStepsInto(Object testCase) Deprecated.Instantiates the @ManagedPages-annotated Pages instance using current WebDriver.static voidpendingStep(String reason) Deprecated.static voidDeprecated.static voiduseFirefoxProfile(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.
-