Esempio n. 1
0
 def calendar_disconnect(self):
     personal = Personalsetting(driver)
     personal.click_profile_icon()
     exchangecalendar = ExchangeCalendar(self.driver)
     exchangecalendar.select_calendarconnection_from_menu()
     check = Connection_checking(self.driver)
     check.check_Whether_MS_calendar_is_connected_or_not_if_not_connect_MS_Calendar()
Esempio n. 2
0
    def so_sync_setting(self):
        sync = sync_2way_setting(self.driver)
        sync.scroll_till_so_advanced_setting_visible()
        sync.change_togglevalue_for_delete_event()
        sync.change_togglevalue_for_change_event()

    def so_setup(self):
        setup_so = so_setup_calendarpage(self.driver)
        setup_so.scroll_till_so_continueSetup_visible()
        setup_so.select_continue_setup_from_calendarpage()
        self.driver.back()


if __name__ == "__main__":
    driver = get_chrome_driver().launch_chrome()
    personal_setting = OH_personal_setting(driver)
    personal_setting.navigate_to_url()
    personal_setting.login_to_OH()
    personal = Personalsetting(driver)
    personal.click_profile_icon()
    exchangecalendar = ExchangeCalendar(driver)
    exchangecalendar.select_calendarconnection_from_menu()
    calendar = Connection_checking_for_exchange(driver)
    calendar.check_Whether_Exchange_calendar_is_connected_or_not_if_not_connect_Exchange_Calendar(
    )
    # calendar1 = Exchange_calendar_connection_setting(driver)
    # calendar1.Oh_reminder_setting()
    # calendar1.so_sync_setting()
    # calendar1.so_setup()
    # driver.close()
 def calendarconnection_from_menu(self):
     exchangecalendar = ExchangeCalendar(self.driver)
     exchangecalendar.select_calendarconnection_from_menu()
 def Oh_Exchange_calendar_connect(self):
     exchangecalendar = ExchangeCalendar(self.driver)
     exchangecalendar.select_calendarconnection_from_menu()
     connection = Connection_check(self.driver)
     connection.disconnect_connected_calendar()
     exchangecalendar.click_exchange_connect_button()
     exchangecalendar.enter_username("*****@*****.**")
     exchangecalendar.enter_password("schEdu1e")
     exchangecalendar.expand_advanced_setting()
     exchangecalendar.enter_ews_url("https://mex09.emailsrvr.com/owa")
     exchangecalendar.click_connect_button()