当前位置: 首页>>代码示例>>Python>>正文


Python SetupEmail.type_email方法代码示例

本文整理汇总了Python中gaiatest.apps.email.regions.setup.SetupEmail.type_email方法的典型用法代码示例。如果您正苦于以下问题:Python SetupEmail.type_email方法的具体用法?Python SetupEmail.type_email怎么用?Python SetupEmail.type_email使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在gaiatest.apps.email.regions.setup.SetupEmail的用法示例。


在下文中一共展示了SetupEmail.type_email方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: basic_setup_email

# 需要导入模块: from gaiatest.apps.email.regions.setup import SetupEmail [as 别名]
# 或者: from gaiatest.apps.email.regions.setup.SetupEmail import type_email [as 别名]
    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,代码行数:30,代码来源:app.py

示例2: setup_IMAP_email

# 需要导入模块: from gaiatest.apps.email.regions.setup import SetupEmail [as 别名]
# 或者: from gaiatest.apps.email.regions.setup.SetupEmail import type_email [as 别名]
    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:hharchani,项目名称:gaia,代码行数:29,代码来源:app.py

示例3: basic_setup_email

# 需要导入模块: from gaiatest.apps.email.regions.setup import SetupEmail [as 别名]
# 或者: from gaiatest.apps.email.regions.setup.SetupEmail import type_email [as 别名]
    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.wait_for_setup_complete()

        setup.tap_continue()
        self.wait_for_condition(lambda m: self.is_element_displayed(*self._header_area_locator))
开发者ID:eeejay,项目名称:gaia-ui-tests,代码行数:14,代码来源:app.py

示例4: basic_setup_email

# 需要导入模块: from gaiatest.apps.email.regions.setup import SetupEmail [as 别名]
# 或者: from gaiatest.apps.email.regions.setup.SetupEmail import type_email [as 别名]
    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,代码行数:16,代码来源:app.py

示例5: setup_active_sync_email

# 需要导入模块: from gaiatest.apps.email.regions.setup import SetupEmail [as 别名]
# 或者: from gaiatest.apps.email.regions.setup.SetupEmail import type_email [as 别名]
    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'])
        basic_setup.type_password(active_sync['password'])
        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.tap_next()

        setup.tap_account_prefs_next()

        setup.wait_for_setup_complete()
        setup.tap_continue()
        self.wait_for_message_list()
开发者ID:JasonWeathersby,项目名称:gaia,代码行数:21,代码来源:app.py

示例6: setup_active_sync_email

# 需要导入模块: from gaiatest.apps.email.regions.setup import SetupEmail [as 别名]
# 或者: from gaiatest.apps.email.regions.setup.SetupEmail import type_email [as 别名]
    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,代码行数:23,代码来源:app.py

示例7: a11y_navigate_to_manual_setup

# 需要导入模块: from gaiatest.apps.email.regions.setup import SetupEmail [as 别名]
# 或者: from gaiatest.apps.email.regions.setup.SetupEmail import type_email [as 别名]
 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,代码行数:7,代码来源:app.py


注:本文中的gaiatest.apps.email.regions.setup.SetupEmail.type_email方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。