Exemple #1
0
        public static void BeforeFeature()
        {
            string featureName = FeatureContext.Current.FeatureInfo.Title;

            ConfigReader.SetFrameworkSettings();
            string path = $"{Settings.ReportPath}\\Test_{featureName}_{DateTime.Now.ToString("yyyyMMddHHmmss")}.html";

            Report.ReportInitialize(path);
            LogHelpers.CreateLogFile(featureName);
            Report.AddFeature(featureName);
            dtLogin = GetTestData();
        }