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 Details

    • Thucydides

      public Thucydides()
      Deprecated.
  • Method Details

    • 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.