public void WhenICreateQualitativeGoals() { for (int i = 0; i < TitleQualitativeGoal.Length; i++) { EmployeeQualitativeGoalFrame employeeQualitativeGoalFrame = personalGoals.AssignQualitativeGoalButtonClick(); employeeQualitativeGoalFrame.Title = TitleQualitativeGoal[i]; employeeQualitativeGoalFrame.StartDate = StartGoalTime; employeeQualitativeGoalFrame.Status = StatusQualitativeGoal[i]; employeeQualitativeGoalFrame.Weight = WeightQualitativeGoal[i]; employeeQualitativeGoalFrame.PersentComplete = PersentCompleteQualitativeGoal[i]; employeeQualitativeGoalFrame.KeyResultActivities = GoalKeyResultActivities; employeeQualitativeGoalFrame.KPIs = GoalKPIs; employeeQualitativeGoalFrame.FinalEvaluation = FinalEvaluation; employeeQualitativeGoalFrame.SaveButtonClick(); myGoalsPage = MyGoalsPage.Init(CurrentDriver); personalGoals = myGoalsPage.PersonalGoalsTabClick(); } }
public void WhenICreateQuantitativeGoals() { for (int i = 0; i < TitleQuantitativeGoal.Length; i++) { EmployeeQuantitativeGoalFrame employeeQuantitativeGoalFrame = personalGoals.AssignQuantitativeGoalButtonClick(); employeeQuantitativeGoalFrame.Title = TitleQuantitativeGoal[i]; employeeQuantitativeGoalFrame.BestValue = BestValueQuantitativeGoal[i]; employeeQuantitativeGoalFrame.StartDate = StartGoalTime; employeeQuantitativeGoalFrame.MaxResult = MaxResultForQuantitativeGoal[i]; employeeQuantitativeGoalFrame.TargetResult = TargetForQuantitativeGoal[i]; employeeQuantitativeGoalFrame.ThresholdResult = ThresholdQuantitativeGoal[i]; employeeQuantitativeGoalFrame.ActualResult = ActualResultForQuantitativeGoal[i]; employeeQuantitativeGoalFrame.Weight = WeightQuantitativeGoal[i]; employeeQuantitativeGoalFrame.Status = StatusQualitativeGoal[1]; employeeQuantitativeGoalFrame.SaveButtonClick(); myGoalsPage = MyGoalsPage.Init(CurrentDriver); personalGoals = myGoalsPage.PersonalGoalsTabClick(); } }