public MasterPlusTestCases() { MpActions = new MasterPlusTestActions(); MpActions.Initialize(); Ireporter = new ReporterXsl(Path.Combine(MpActions.GetResultTimePath(), new StackTrace().GetFrame(0).GetMethod().ReflectedType?.Name + ".xml"), ProjectPath.GetProjectFullPath(), MpActions.GetScreenshotsRelativePath(), new Reporter.ResultTestInfo { AttrProject = "Cooler Master", AttrOs = UtilOs.GetOsVersion(), AttrLanguage = System.Globalization.CultureInfo.InstalledUICulture.Name.Replace("-", "_"), AttrRegion = System.Globalization.CultureInfo.InstalledUICulture.Name.Split('-')[1], AttrDeviceModel = ReportLib.Reporter.DefaultContent, AttrDeviceName = ReportLib.Reporter.DefaultContent, AttrVersion = UtilOs.GetOsProperty(), AttrTotalCases = 0, AttrPasses = 0, AttrFailures = 0, AttrTbds = 0, AttrBlocks = 0 }); MpActions.SetIReport(Ireporter); }