public void ExportReport()
        {
            driver.FindElement(By.Id("59648")).Click();
            driver.FindElement(By.Name("File")).Click();
            driver.FindElement(By.Name("Export")).Click();
            driver.FindElement(By.Name("Report To Excel")).Click();

            Thread.Sleep(40000);

            var directory = new DirectoryInfo(@"C:/Users/hamrabet/Documents/");
            var myFile    = (from f in directory.GetFiles()
                             orderby f.LastWriteTime descending
                             select f).First();

            ExcelUtil.PopulateInCollection(myFile.FullName);
        }
 public void CheckValue2()
 {//change4
     Assert.AreEqual("100,00000000", ExcelUtil.ReadData(13, "Model Percent"));
 }
 public void CheckValue1()
 {
     Assert.AreEqual("100,00000000", ExcelUtil.ReadData(16, "Model Percent"));
 }