Package net.thucydides.core
Class Thucydides
- java.lang.Object
-
- net.thucydides.core.Thucydides
-
@Deprecated public class Thucydides extends 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
All Methods Static Methods Concrete Methods Deprecated Methods 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<Object,Object>
getCurrentSession()
Deprecated.static String
getCurrentSessionID()
Deprecated.static String
getDefaultProjectKey()
Deprecated.static org.openqa.selenium.firefox.FirefoxProfile
getFirefoxProfile()
Deprecated.static StepListener
getStepListener()
Deprecated.static void
ignoredStep(String reason)
Deprecated.static void
initialize(Object testCase)
Deprecated.static void
initializeTestSession()
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
takeScreenshot()
Deprecated.static void
useFirefoxProfile(org.openqa.selenium.firefox.FirefoxProfile profile)
Deprecated.
-
-
-
Method Detail
-
initialize
public static void initialize(Object testCase)
Deprecated.
-
initializeWithNoStepListener
public static void initializeWithNoStepListener(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(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 String getCurrentSessionID()
Deprecated.
-
getStepListener
public static StepListener getStepListener()
Deprecated.
-
initializeTestSession
public static void initializeTestSession()
Deprecated.
-
getCurrentSession
public static SessionMap<Object,Object> getCurrentSession()
Deprecated.
-
pendingStep
public static void pendingStep(String reason)
Deprecated.
-
ignoredStep
public static void ignoredStep(String reason)
Deprecated.
-
takeScreenshot
public static void takeScreenshot()
Deprecated.
-
getDefaultProjectKey
public static 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.
-
-