Beispiel #1
0
 public void VerifyLoanDetailsInterestRateType()
 {
     try
     {
         test = extent.CreateTest("VerifyLoanDetailsInterestRateType").Info("Test Started");
         DebtSummaryPage debt        = new DebtSummaryPage(BaseTest.driver);
         LoanDetailsPage loandetails = new LoanDetailsPage(BaseTest.driver);
         debt.ClickFundATabDebt();
         debt.ClickdebtSummary();
         debt.NavigateToLoanDetails();
         bool res = loandetails.LoanDetailsIntType();
         Assert.IsTrue(res == true, "Int rate is not updated successfully");
         test.Log(Status.Pass, "Test Case Passed");
     }
     catch (Exception e)
     {
         test.Log(Status.Fail, "Test Case Failed");
         baseTest.TakeScreenshot();
         Console.WriteLine(e.StackTrace);
     }
 }