public void TestMultipleSheet()
        {
            var path   = @"CFMOasisRegistrationTestData.xlsx";
            var sheets = ExcelReaderHelper.GetAllSheetName(path);

            foreach (var sheetName in sheets)
            {
                var hpage = new HomePageClass(ObjectRepository.Driver);
                DataEngine.ExecuteScript(hpage, path, sheetName);
            }
        }
Beispiel #2
0
        public void TestMultipleSheet()
        {
            var path   = @"C:\Users\rahul.rathore\Desktop\Lakshmi\CFMOasisRegistrationTestData.xlsx";
            var sheets = ExcelReaderHelper.GetTotalSheets(path);

            for (var i = 0; i < sheets; i++)
            {
                var hpage = new HomePageClass(ObjectRepository.Driver);
                DataEngine.ExecuteScript(hpage, path, "CFMOasisA");
            }
        }