コード例 #1
0
 public void ThenUserShouldCheckByDefaultDrillDownInternet_TSpec_TNNIsDisplayingOrNot()
 {
     try
     {
         Synchronization.VisibleElement(SelectBrowser.driver, By.XPath("//span[contains(text(),'Month Start')]"));
         bool b = ActivityHomePage.DrillDownDisplay(SelectBrowser.driver).Displayed;
         test.Info("Internet_TSpec_TNN is displaying on the page.");
         //Thread.Sleep(10000);
         //Console.WriteLine(b);
     }
     catch (Exception ex)
     {
         Console.WriteLine("Exception==>" + ex);
         ScreenshotPage.TakesScreenshotWithDate(@"Screesnhot", System.Drawing.Imaging.ImageFormat.Png);
     }
 }