public void TC_ForgotUserName() { //To call the Page Login Method Page_Login plogin = new Page_Login(); string username = plogin.forgotUserName(); Assert.AreEqual(GlobalVariables.username, username); Page_HAPrompt haprompt = new Page_HAPrompt(); //Assert.IsTrue(haprompt.AtHaPrompt(), "Not at HA Prompt Page"); haprompt.GoToDashboard(); //To call the Page Login Method Page_Dashboard Dashboard = new Page_Dashboard(); Assert.IsTrue(Dashboard.AtDashboard()); }