Esempio n. 1
0
        public static DataTable mockLoadDataTableForExcel()
        {
            oExcel excel = new oExcel(GetFullPathExcelFile);


            return
                (excel.ImportDataForExcel());
            //Functions.ImportDataForExcel();
        }
Esempio n. 2
0
        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();
        }