public static DataTable mockLoadDataTableForExcel() { oExcel excel = new oExcel(GetFullPathExcelFile); return (excel.ImportDataForExcel()); //Functions.ImportDataForExcel(); }
public static void Initialization(TestContext context) { excel = new oExcel(DataTests.GetFullPathExcelFile); dtExcel = excel.ImportDataForExcel(); listField = excel.ListField("kmat"); // Functions.ListFieldKmatForExcel(dtExcel, "kmat"); dictionaryGroupBy = excel._groupByFieldAndCount("kmat"); //DictionaryResourceAndCount(listField); listUnique = excel.ListUniqueField("kmat"); //new List<string>(); // Functions.ListUniqueFieldResource(dictionaryGroupBy); // = DoubleKmat.ToArray(); }