public void TestMethod1() { DriverContext.Driver = new FirefoxDriver(); DriverContext.Driver.Navigate().GoToUrl(url); LoginPage loginPage = new LoginPage(); loginPage.Login("tryout", "tryout"); DashBoardPage dashBoardPage = loginPage.ClickLogin(); dashBoardPage.Optionsheader(); NewsPage newsPage = dashBoardPage.ClickMyDashboard(); MyRecentActivity myRecentActivity = newsPage.ClickNews(); myRecentActivity.ClickRecentActivities(); }
public void WhenUserClicksOnClickNewsSectionToValidateMessageBoard() { DashBoardPage dashBoardPage = new DashBoardPage(); NewsPage newsPage = dashBoardPage.ClickMyDashboard(); }