public void Test1() { Hooks.BeforeDataDrivenTest(); StepDefinitions.LoginSteps.GivenILoginAsUserWithPassword(TestContext.DataRow["UserName"].ToString(), TestContext.DataRow["Password"].ToString()); Hooks.AfterDataDrivenTest(TestContext.TestName); }