Beispiel #1
0
        public void ThenIVerifyThatCompanyGoalCreatedOnCompanyGoalPage()
        {
            companyGoalsPage = CompanyGoalsPage.Init(CurrentDriver);

            for (int i = 0; i < TitleQuantitativeGoal.Length; i++)
            {
                CompanyGoalsPage.CompanyGoal quantitativeGoal = companyGoalsPage.InitQuantitativeGoal(AddCompanyValueToTheGoalTitle(TitleQuantitativeGoal[i]));
                AssertForQuantitativeCompanyGoals(i, quantitativeGoal);
            }
        }
Beispiel #2
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();
     }
 }
Beispiel #3
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();
     }
 }
Beispiel #4
0
 public void WhenIOpenCompanyGoalsPage()
 {
     companyGoalsPage = CompanyGoalsPage.Open(CurrentDriver);
 }