Exemplo n.º 1
0
 public void ThenUserClickOnTheDownloadLinkForPendingRenewals()
 {
     try
     {
         Synchronization.VisibleElement(SelectBrowser.driver, By.XPath("//div[@class='span12 pending-renewal-gap']//div[@class='widget-header-highlite']/a"));
         ActivityHomePage.DownloadPendingRenewalsLink(SelectBrowser.driver).Click();
         test.Log(Status.Pass, "User Clicks on the download link for Pending Renewals");
         //Thread.Sleep(10000);
     }
     catch (Exception ex)
     {
         Console.WriteLine("Exception==>" + ex);
         ScreenshotPage.TakesScreenshotWithDate(@"Screesnhot", System.Drawing.Imaging.ImageFormat.Png);
     }
 }