public void SelectVisibilityEndDate(string day, string month, string year)
 {
     VisibilityEndDate.ScrollElementAndClick();
     GenericHelper.WaitForElement(By.XPath(GetCalanderXpath(LabelRepository.VisibilityEndDate)));
     CalenderHelper.SelectDate(GetCalanderXpath(LabelRepository.VisibilityEndDate), day, month, year);
     GenericHelper.WaitForLoadingMask();
 }
Beispiel #2
0
 public void SelectShipDate(string day, string month, string year)
 {
     JavaScriptExecutorHelper.ScrollElementAndClick(ShipDate);
     GenericHelper.WaitForElement(By.XPath("//div[@title='Ship Date']//table[@role='grid']"));
     CalenderHelper.SelectDate("//div[@title='Ship Date']//table[@role='grid']", day, month, year);
     GenericHelper.WaitForLoadingMask();
 }
 public void SelectProgramLastSubmitDate(string day, string month, string year)
 {
     JavaScriptExecutorHelper.ScrollElementAndClick(LastSubmitDate);
     GenericHelper.WaitForElement(By.XPath("//div[@data-control='DATA_5']//table[@role='grid']"));
     /* LastSubmitDate  */
     CalenderHelper.SelectDate("//div[@data-control='DATA_5']//table[@role='grid']", day, month, year);
     GenericHelper.WaitForLoadingMask();
 }
        public void SelectProgramVisibilityStartDate(string day, string month, string year)
        {
            JavaScriptExecutorHelper.ScrollElementAndClick(SelectPrograDates);
            GenericHelper.WaitForLoadingMask();
            VisibilityStartDate.Click();

            GenericHelper.WaitForElement(By.XPath("//div[@data-control='DATA_1']//table[@role='grid']"));
            /* VisibilityStartDate  */
            CalenderHelper.SelectDate("//div[@data-control='DATA_1']//table[@role='grid']", day, month, year);
            GenericHelper.WaitForLoadingMask();
        }
Beispiel #5
0
 public void SelectDateOfBirth(string day, string month, string year)
 {
     DateOfBirth.ScrollToElementAndClick();
     CalenderHelper.SelectDate(Properties.Settings.Default.DateOfBirthId, day, month, year);
 }