Class StopWatch


  • public final class StopWatch
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void cleanupThreadLocals()
      cleans all local threads
      static java.util.List<eu.tsystems.mms.tic.testframework.internal.TimingInfo> getPageLoadInfos()  
      static void initializeStopWatch()
      initializes the ThreadLocal List for saving LoadTimes
      static void startPageLoad​(java.lang.Object reference)
      starts to load page
      static void stopPageLoad​(org.openqa.selenium.WebDriver driver, java.lang.Class page)  
      static void storePageLoadInfosAfterTestMethod​(org.testng.ITestResult iTestResult)
      loads infos of store page after test method
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • startPageLoad

        public static void startPageLoad​(java.lang.Object reference)
        starts to load page
        Parameters:
        reference - .
      • initializeStopWatch

        public static void initializeStopWatch()
        initializes the ThreadLocal List for saving LoadTimes
      • stopPageLoad

        public static void stopPageLoad​(org.openqa.selenium.WebDriver driver,
                                        java.lang.Class page)
        Parameters:
        driver - .
        page - .
      • getPageLoadInfos

        public static java.util.List<eu.tsystems.mms.tic.testframework.internal.TimingInfo> getPageLoadInfos()
      • cleanupThreadLocals

        public static void cleanupThreadLocals()
        cleans all local threads
      • storePageLoadInfosAfterTestMethod

        public static void storePageLoadInfosAfterTestMethod​(org.testng.ITestResult iTestResult)
        loads infos of store page after test method
        Parameters:
        iTestResult - .