Exemplo n.º 1
0
 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();
     }
 }
Exemplo n.º 2
0
 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();
     }
 }
Exemplo n.º 3
0
 public void WhenIOpenMyGoalPage()
 {
     myGoalsPage   = MyGoalsPage.Open(CurrentDriver);
     personalGoals = myGoalsPage.PersonalGoalsTabClick();
 }