Beispiel #1
0
 public void OpenRepaymentDayWeekSchedule(string repaymentDay)
 {
     if (!this.driver.IsElementVisisble(LoanPageElements.WeekSchedule))
     {
         this.driver.ClickAllVisibleElements(LoanPageElements.OpenWeekSchedule);
     }
     this.driver.WaitForElementVisible(WeekSchedule, 0);
     this.driver.Click(LoanPageElements.dayOnWeekSchedule(repaymentDay));
 }
Beispiel #2
0
 public void OpenRepaymentDayCalendarAndSelectDay(int repaymentDate)
 {
     if (!this.driver.IsElementVisisble(LoanPageElements.Calander))
     {
         this.driver.ClickAllVisibleElements(LoanPageElements.LoanScheduleButton);
     }
     this.driver.WaitForElementVisible(LoanPageElements.Calander, 1);
     this.driver.Click(LoanPageElements.dateOnCalander(repaymentDate));
 }