public void DownloadingBudgetSummaryReport() { try { test = extent.CreateTest("UserNavigatesToPropDetailsAndBackToLanding").Info("Test Started"); BudgetSummaryPage budget = new BudgetSummaryPage(BaseTest.driver); budget.ClickBudgetSummaryMenu(); Thread.Sleep(3000); budget.NavigateToBudgetDetails(); budget.downloadDevBudgetSummary(); test.Log(Status.Pass, "Test Case Passed"); } catch (Exception e) { test.Log(Status.Fail, "Test Case Failed"); TakeScreenshot(); Console.WriteLine(e.StackTrace); } }