类 Recorder


  • public class Recorder
    extends Object
    作者:
    Yun
    • 构造器详细资料

      • Recorder

        public Recorder()
    • 方法详细资料

      • log

        public static void log​(String note)
        log a text note to current test
        参数:
        note -
      • log

        public static void log​(Recordable<?> record)
        log a record to current test
        参数:
        record -
      • getCurrentTestResult

        public static org.testng.ITestResult getCurrentTestResult()
        Get Current Test Result
      • setCurrentTestResult

        public static void setCurrentTestResult​(org.testng.ITestResult result)
        Set Current Test Result
        参数:
        result -
      • getNotes

        public static List<String> getNotes​(org.testng.ITestResult result)
        Get all text notes of a specific test which include both tech.testnx.cah.common.reports.Recorder and org.testng.Reporter
        参数:
        result -
      • getRecords

        public static List<Recordable<?>> getRecords​(org.testng.ITestResult result)
        Get all records of a specific test. Return new and empty list if does not have
        参数:
        result -