Beispiel #1
0
        /// <summary>
        /// Initializes the reporting by setting the file-path and test DisplayOrder
        /// </summary>
        /// <param name="FilePath">Path of the file, in .htm or .html format</param>
        /// <param name="ReplaceExisting">Setting to overwrite (true) the existing file or append (false) to it</param>
        /// <param name="DisplayOrder">Determines the order in which your tests will be displayed</param>
        public ExtentReports(string FilePath, bool ReplaceExisting, DisplayOrder DisplayOrder = DisplayOrder.OldestFirst)
        {
            reportInstance = new ReportInstance();
            reportInstance.Initialize(FilePath, ReplaceExisting, DisplayOrder);

            systemInfo = new SystemInfo();
        }
        /// <summary>
        /// Initializes the reporting by setting the file-path and test DisplayOrder
        /// </summary>
        /// <param name="FilePath">Path of the file, in .htm or .html format</param>
        /// <param name="ReplaceExisting">Setting to overwrite (true) the existing file or append (false) to it</param>
        /// <param name="DisplayOrder">Determines the order in which your tests will be displayed</param>
        public ExtentReports(string FilePath, bool ReplaceExisting, DisplayOrder DisplayOrder = DisplayOrder.OldestFirst)
        {
            reportInstance = new ReportInstance();
            reportInstance.Initialize(FilePath, ReplaceExisting, DisplayOrder);

            systemInfo = new SystemInfo();
        }
Beispiel #3
0
 internal ReportConfig(ReportInstance report)
 {
     this.report = report;
 }