Exemplo n.º 1
0
 public void ThenCheckAmountIsMatchingWithTheTotalOfNewPopupWindowUnderSPECImplementationLink()
 {
     try
     {
         Synchronization.VisibleElement(SelectBrowser.driver, By.XPath("//h4[@class='ng-binding']"));
         string s1 = ActivityHomePage.TextAmtSpeckImplementation(SelectBrowser.driver).Text;
         string s2 = ActivityHomePage.TexttotamtSpeckImplementation(SelectBrowser.driver).Text;
         Assert.AreEqual(s1, s2);
         test.Info("Assert pass successfully for Custom SPEC Implementation amount with respect to total amount");
         //Console.WriteLine("Assert Pass");
     }
     catch (Exception ex)
     {
         Console.WriteLine("Exception==>" + ex);
         ScreenshotPage.TakesScreenshotWithDate(@"Screesnhot", System.Drawing.Imaging.ImageFormat.Png);
     }
 }