public void MyLogin(ArrayList TestData) { #region Instantiate loginSteps = new LoginSteps(driver); dashboardSteps = new DashboardSteps(driver); #endregion loginSteps.LoginApp(TestData[0].ToString(), TestData[1].ToString(), TestData[2].ToString()); NUnit.Framework.Assert.IsTrue(dashboardSteps.dashboardPage.Is_LoggedInUserLabel_Visible()); NUnit.Framework.Assert.IsTrue(dashboardSteps.dashboardPage.GetText_loggedInUser().Equals("ADMIN")); }