Package net.thucydides.core
Class Thucydides
java.lang.Object
net.thucydides.core.Thucydides
@Deprecated
public class Thucydides
extends java.lang.Object
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 Constructor Description Thucydides()
Deprecated. -
Method Summary
Modifier and Type Method Description static void
done()
Deprecated.Indicate that the test run using this object is finished, and reports can be generated.static SessionMap<java.lang.Object,java.lang.Object>
getCurrentSession()
Deprecated.static java.lang.String
getCurrentSessionID()
Deprecated.static java.lang.String
getDefaultProjectKey()
Deprecated.static org.openqa.selenium.firefox.FirefoxProfile
getFirefoxProfile()
Deprecated.static StepListener
getStepListener()
Deprecated.static void
ignoredStep(java.lang.String reason)
Deprecated.static void
initialize(java.lang.Object testCase)
Deprecated.static void
initializeTestSession()
Deprecated.static void
initializeWithNoStepListener(java.lang.Object testCase)
Deprecated.Initialize Thucydides-related fields in the specified object.static void
injectScenarioStepsInto(java.lang.Object testCase)
Deprecated.Instantiates the @ManagedPages-annotated Pages instance using current WebDriver.static void
pendingStep(java.lang.String reason)
Deprecated.static void
takeScreenshot()
Deprecated.static void
useFirefoxProfile(org.openqa.selenium.firefox.FirefoxProfile profile)
Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Thucydides
public Thucydides()Deprecated.
-
-
Method Details
-
initialize
public static void initialize(java.lang.Object testCase)Deprecated. -
initializeWithNoStepListener
public static void initializeWithNoStepListener(java.lang.Object testCase)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
public static void injectScenarioStepsInto(java.lang.Object testCase)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
public static java.lang.String getCurrentSessionID()Deprecated. -
getStepListener
Deprecated. -
initializeTestSession
public static void initializeTestSession()Deprecated. -
getCurrentSession
Deprecated. -
pendingStep
public static void pendingStep(java.lang.String reason)Deprecated. -
ignoredStep
public static void ignoredStep(java.lang.String reason)Deprecated. -
takeScreenshot
public static void takeScreenshot()Deprecated. -
getDefaultProjectKey
public static java.lang.String 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.
-