Пример #1
0
 public void VerifyHedgingWithNullData()
 {
     try
     {
         test = extent.CreateTest("VerifyHedgingWithNullData").Info("Test Started");
         DebtSummaryPage debt        = new DebtSummaryPage(BaseTest.driver);
         LoanDetailsPage loandetails = new LoanDetailsPage(BaseTest.driver);
         debt.ClickFundATabDebt();
         debt.ClickdebtSummary();
         loandetails.selectPropertyWithIndustrialType();
         loandetails.NavigateToPropertyDetails();
         bool res = loandetails.HedgingWithNullData();
         Assert.IsTrue(res == true, "Values are not updated to hyphen/null");
         test.Log(Status.Pass, "Test Case Passed");
     }
     catch (Exception e)
     {
         test.Log(Status.Fail, "Test Case Failed");
         baseTest.TakeScreenshot();
         Console.WriteLine(e.StackTrace);
     }
 }