Ejemplo n.º 1
0
        public void VerifyNavigationToDevelopmentBudgetScreen()
        {
            //try
            //{
            test = extent.CreateTest("VerifyNavigationToDevelopmentBudgetScreen").Info("Test Started");
            //Verify user navigated to development budget summary screen
            BudgetSummaryPage budget = new BudgetSummaryPage(BaseTest.driver);

            Thread.Sleep(2000);
            var screentitle = budget.UserLandsOnDevelopmentBudget();

            Assert.AreEqual("Development Budget Summary", screentitle, "Unable to reach development budget landing screen");
            test.Log(Status.Pass, "Test Case Passed");
            //}
            //catch (Exception e)
            //{
            //    test.Log(Status.Fail, "Test Case Failed");
            //    baseTest.TakeScreenshot();
            //    Console.WriteLine(e.StackTrace);
            //}
        }