當前位置: 首頁>>代碼示例>>Python>>正文


Python setup.SetupEmail類代碼示例

本文整理匯總了Python中gaiatest.apps.email.regions.setup.SetupEmail的典型用法代碼示例。如果您正苦於以下問題:Python SetupEmail類的具體用法?Python SetupEmail怎麽用?Python SetupEmail使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了SetupEmail類的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: setup_IMAP_email

    def setup_IMAP_email(self, imap):
        basic_setup = SetupEmail(self.marionette)
        basic_setup.type_name(imap['name'])
        basic_setup.type_email(imap['email'])

        setup = self.tap_manual_setup()

        setup.select_account_type('IMAP+SMTP')

        setup.type_imap_hostname(imap['imap_hostname'])
        setup.type_imap_name(imap['imap_name'])
        setup.type_imap_password(imap['password'])
        setup.type_imap_port(imap['imap_port'])

        setup.type_smtp_hostname(imap['smtp_hostname'])
        setup.type_smtp_password(imap['password'])
        setup.type_smtp_name(imap['smtp_name'])
        setup.type_smtp_port(imap['smtp_port'])

        setup.tap_next()
        setup.check_for_emails_interval('20000')

        setup.tap_account_prefs_next()

        setup.wait_for_setup_complete()
        setup.tap_continue()
        self.wait_for_message_list()
開發者ID:pacorampas,項目名稱:gaia,代碼行數:27,代碼來源:app.py

示例2: setup_active_sync_email

    def setup_active_sync_email(self, active_sync):
        basic_setup = SetupEmail(self.marionette)
        basic_setup.type_name(active_sync["name"])
        basic_setup.type_email(active_sync["email"])

        setup = self.tap_manual_setup()

        setup.select_account_type("ActiveSync")

        setup.type_activesync_hostname(active_sync["active_sync_hostname"])
        setup.type_activesync_name(active_sync["active_sync_username"])
        setup.type_password(active_sync["password"])

        setup.tap_next()

        setup.check_for_emails_interval("20000")
        setup.tap_account_prefs_next()

        setup.wait_for_setup_complete()
        setup.tap_continue()
        self.wait_for_message_list()
開發者ID:hharchani,項目名稱:gaia,代碼行數:21,代碼來源:app.py

示例3: setup_active_sync_email

    def setup_active_sync_email(self, active_sync):
        basic_setup = SetupEmail(self.marionette)
        basic_setup.type_name('ActiveSync account')
        basic_setup.type_email(active_sync['email'])

        setup = self.tap_manual_setup()

        setup.select_account_type('ActiveSync')

        setup.type_password(active_sync['password'])
        setup.type_activesync_hostname(active_sync['hostname'])
        setup.type_activesync_name(active_sync['username'])

        setup.tap_next()

        setup.check_for_emails_interval('20000')
        setup.tap_account_prefs_next()

        setup.wait_for_setup_complete()
        setup.tap_continue()
        self.wait_for_message_list()
開發者ID:Amrltqt,項目名稱:gaia,代碼行數:21,代碼來源:app.py

示例4: basic_setup_email

    def basic_setup_email(self, name, email, password):

        setup = SetupEmail(self.marionette)
        setup.type_name(name)
        setup.type_email(email)

        setup.tap_next()

        google_login = GoogleLogin(self.marionette)

        # check if the google autocomplete on email field works as expected
        assert google_login.email == email

        google_login.type_password(password)
        google_login.tap_sign_in()

        # approve access to your account
        google_login.wait_for_approve_access()
        google_login.tap_approve_access()

        self.apps.switch_to_displayed_app()

        setup.tap_account_prefs_next()

        setup.wait_for_setup_complete()

        setup.tap_continue()
        self.wait_for_message_list()
開發者ID:hharchani,項目名稱:gaia,代碼行數:28,代碼來源:app.py

示例5: a11y_navigate_to_manual_setup

 def a11y_navigate_to_manual_setup(self, name, email):
     setup = SetupEmail(self.marionette)
     setup.type_name(name)
     setup.type_email(email)
     setup = self.a11y_click_manual_setup()
開發者ID:hharchani,項目名稱:gaia,代碼行數:5,代碼來源:app.py

示例6: basic_setup_email

    def basic_setup_email(self, name, email, password):

        setup = SetupEmail(self.marionette)
        setup.type_name(name)
        setup.type_email(email)
        setup.type_password(password)
        setup.tap_next()

        setup.tap_account_prefs_next()

        setup.wait_for_setup_complete()

        setup.tap_continue()
        self.wait_for_condition(lambda m: self.is_element_displayed(*self._header_area_locator))
開發者ID:AaronMT,項目名稱:gaia-ui-tests,代碼行數:14,代碼來源:app.py

示例7: basic_setup_email

    def basic_setup_email(self, name, email, password):

        setup = SetupEmail(self.marionette)
        setup.type_name(name)
        setup.type_email(email)
        setup.type_password(password)
        setup.tap_next()

        setup.tap_account_prefs_next()

        setup.wait_for_setup_complete()

        setup.tap_continue()
        self.wait_for_message_list()
開發者ID:farnaud,項目名稱:gaia,代碼行數:14,代碼來源:app.py


注:本文中的gaiatest.apps.email.regions.setup.SetupEmail類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。