Exemplo n.º 1
0
 public void WhenIScheduleQualitativeCompanyGoal()
 {
     for (int i = 0; i < TitleQualitativeGoal.Length; i++)
     {
         companyGoalsPage = CompanyGoalsPage.Init(CurrentDriver);
         AddCompanyGoalFrame addCompanyGoal = companyGoalsPage.AddCompanyGoalButtonClick();
         addCompanyGoal.Title           = AddCompanyValueToTheGoalTitle(TitleQualitativeGoal[i]);
         addCompanyGoal.StartDate       = StartGoalTime;
         addCompanyGoal.DueDate         = EndGoalTime;
         addCompanyGoal.Weight          = WeightQualitativeGoal[i];
         addCompanyGoal.PersentComplete = PersentCompleteQualitativeGoal[i];
         addCompanyGoal.SelectOrgUnit("Quality Control");
         addCompanyGoal.SaveButtonClick();
     }
 }
Exemplo n.º 2
0
 public void WhenIScheduleCompanyGoal()
 {
     for (int i = 0; i < TitleQuantitativeGoal.Length; i++)
     {
         companyGoalsPage = CompanyGoalsPage.Init(CurrentDriver);
         AddCompanyGoalFrame addCompanyGoal = companyGoalsPage.AddCompanyGoalButtonClick();
         addCompanyGoal.Title     = AddCompanyValueToTheGoalTitle(TitleQuantitativeGoal[i]);
         addCompanyGoal.StartDate = StartGoalTime;
         addCompanyGoal.DueDate   = EndGoalTime;
         addCompanyGoal.Weight    = WeightQuantitativeGoal[i];
         addCompanyGoal.SetQuantitativeGoal();
         addCompanyGoal.BestValue       = BestValueQuantitativeGoal[i];
         addCompanyGoal.MaxResult       = MaxResultForQuantitativeGoal[i];
         addCompanyGoal.TargetResult    = TargetForQuantitativeGoal[i];
         addCompanyGoal.ThresholdResult = ThresholdQuantitativeGoal[i];
         addCompanyGoal.ActualResult    = ActualResultForQuantitativeGoal[i];
         addCompanyGoal.SelectOrgUnit("Quality Control");
         addCompanyGoal.SaveButtonClick();
     }
 }