Exemple #1
0
        public RentalAgreementPage GoToTabRentalAgreement()
        {
            Actions action = new Actions(driver);

            action.MoveToElement(UsefulMenuButton).Perform();
            WaiterOfItemLoad.WaitUntilElementToBeClickable(driver, RentalAgreementSubmenuButton);
            RentalAgreementSubmenuButton.Click();
            return(new RentalAgreementPage(driver));
        }
Exemple #2
0
        public OnlinePaymentPage GoToTabOnlinePayment()
        {
            Actions action = new Actions(driver);

            action.MoveToElement(RequirementMenuButton).Perform();
            WaiterOfItemLoad.WaitUntilElementToBeClickable(driver, OnlinePaymentSubmenuButton);
            OnlinePaymentSubmenuButton.Click();
            return(new OnlinePaymentPage(driver));
        }
Exemple #3
0
        public TransportOutsourcingPage GoToTabTransportOutsourcing()
        {
            Actions action = new Actions(driver);

            action.MoveToElement(ServicesMenuButton).Perform();
            WaiterOfItemLoad.WaitUntilElementToBeClickable(driver, TransportOutsourcingSubMenuButton);
            TransportOutsourcingSubMenuButton.Click();
            return(new TransportOutsourcingPage(driver));
        }
Exemple #4
0
 public CalculatePage FillCalculationParametrs()
 {
     WaiterOfItemLoad.WaitUntilElementToBeClickable(driver, LimitationOfLiabilityCheckBox);
     LimitationOfLiabilityCheckBox.Click();
     ReductionOfAgeAndSeniorityCheckBox.Click();
     new Actions(driver).MoveToElement(RetutnsDayCalendarButton).Build().Perform();
     PickTenDaysLeftDate(RetutnsDayCalendarButton);
     return(this);
 }
Exemple #5
0
        public CarsPage GoToTabChevroletCars()
        {
            Actions action = new Actions(driver);

            action.MoveToElement(AutoparkMenuButton).Perform();
            WaiterOfItemLoad.WaitUntilElementToBeClickable(driver, ByBrandSubmenuButton);
            action.MoveToElement(ByBrandSubmenuButton).Perform();
            WaiterOfItemLoad.WaitUntilElementToBeClickable(driver, ChevreletSubMenuButton);
            action.MoveToElement(ByBrandSubmenuButton).Perform();
            ChevreletSubMenuButton.Click();
            return(new CarsPage(driver));
        }