public void WhenIEditTheTaskNameTo(string p0) { // Click Edit taskPage.ClickEdit(); // Check to see if Task Name field is present Assert.True(editTaskPage.TaskNameFieldVisisble()); // Edit Task Name editTaskPage.SetTaskName(p0); // Save editTaskPage.ClickSave(); // Click View Task on Set Task Screen editTaskPage.SetTask_viewTask(); // Set Global Variable for newTaskName newTaskName = p0; }