public void OpenAllSubmenus() { AdminPage adminPage = new AdminPage(driver); adminPage.OpenAdminPage(); adminPage.Login(Properties.Settings.Default.AdminLogin, Properties.Settings.Default.AdminPassword); Assert.IsTrue(adminPage.ClickOnMenus(), "Header wasn't found"); }