• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python MtbfTestCase.GaiaMtbfTestCase类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中mtbf_driver.MtbfTestCase.GaiaMtbfTestCase的典型用法代码示例。如果您正苦于以下问题:Python GaiaMtbfTestCase类的具体用法?Python GaiaMtbfTestCase怎么用?Python GaiaMtbfTestCase使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



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

示例1: tearDown

    def tearDown(self):

        # In case the assertion fails this will still kill the call
        # An open call creates problems for future tests
        self.data_layer.kill_active_call()

        GaiaMtbfTestCase.tearDown(self)
开发者ID:Mozilla-TWQA,项目名称:MTBF-Driver,代码行数:7,代码来源:test_mtbf_call_log_all_calls.py


示例2: setUp

 def setUp(self):
     GaiaMtbfTestCase.setUp(self)
     self.data_layer.enable_wifi()
     self.data_layer.forget_all_networks()
     self.data_layer.disable_wifi()
     self.settings = MTBF_Settings(self.marionette)
     self.settings.launch()
开发者ID:alison-shiue,项目名称:MTBF-Driver,代码行数:7,代码来源:test_mtbf_settings_wifi.py


示例3: setUp

    def setUp(self):
        GaiaMtbfTestCase.setUp(self)
        self.data_layer.enable_wifi()
        self.connect_to_local_area_network()

        self.search = Search(self.marionette)
        self.search.launch()
开发者ID:Mozilla-TWQA,项目名称:MTBF-Driver,代码行数:7,代码来源:test_mtbf_browser_search.py


示例4: setUp

    def setUp(self):
        GaiaMtbfTestCase.setUp(self)
        self.data_layer = GaiaData(self.marionette)
        self.data_layer.connect_to_cell_data()

        self.browser = Browser(self.marionette)
        self.browser.launch()
开发者ID:nhirata,项目名称:MTBF-Driver,代码行数:7,代码来源:test_mtbf_browser_cell_data.py


示例5: setUp

    def setUp(self):
        GaiaMtbfTestCase.setUp(self)

        # Turn off geolocation prompt
        self.apps.set_permission('Camera', 'geolocation', 'deny')

        self.camera = Camera(self.marionette)
        self.camera.launch()
开发者ID:Mozilla-TWQA,项目名称:MTBF-Driver,代码行数:8,代码来源:test_mtbf_camera_capture_video.py


示例6: setUp

    def setUp(self):
        GaiaMtbfTestCase.setUp(self)
        self.cards_view = CardsView(self.marionette)

        # Launch the test apps
        for app in self._test_apps:
            self.apps.launch(app)
            # Let's wait a bit for the app to fully launch
            time.sleep(2)
开发者ID:mwargers,项目名称:MTBF-Driver,代码行数:9,代码来源:test_mtbf_cards_view_kill_apps_with_two_apps.py


示例7: setUp

    def setUp(self):
        GaiaMtbfTestCase.setUp(self)
        self.data_layer.enable_wifi()
        self.connect_to_local_area_network()

        self.test_url = self.marionette.absolute_url('mozilla.html')

        self.search = Search(self.marionette)
        self.search.launch()
开发者ID:alison-shiue,项目名称:MTBF-Driver,代码行数:9,代码来源:test_mtbf_browser_navigation.py


示例8: setUp

    def setUp(self):
        GaiaMtbfTestCase.setUp(self)

        # Launch the test apps
        for app in self._test_apps:
            self.apps.launch(app)

        # Switch to top level frame before starting the test
        self.marionette.switch_to_frame()
开发者ID:Mozilla-TWQA,项目名称:MTBF-Driver,代码行数:9,代码来源:test_mtbf_cards_view_with_two_apps.py


示例9: setUp

    def setUp(self):
        GaiaMtbfTestCase.setUp(self)
        self.data_layer.disable_wifi()
        self.data_layer.disable_cell_data()

        self.data_layer = GaiaData(self.marionette)
        self.data_layer.connect_to_cell_data()

        self.search = Search(self.marionette)
        self.search.launch()
开发者ID:Mozilla-TWQA,项目名称:MTBF-Driver,代码行数:10,代码来源:test_mtbf_browser_cell_data.py


示例10: setUp

    def setUp(self):
        GaiaMtbfTestCase.setUp(self)
        self.connect_to_network()

        self.test_url = 'http://mozqa.com/data/firefox/layout/mozilla.html'

        curr_time = repr(time.time()).replace('.', '')
        self.bookmark_title = 'gaia%s' % curr_time[10:]

        self.homescreen = Homescreen(self.marionette)
        self.browser = Browser(self.marionette)
        self.browser.launch()
开发者ID:nhirata,项目名称:MTBF-Driver,代码行数:12,代码来源:test_mtbf_browser_bookmark.py


示例11: tearDown

    def tearDown(self):
        # make sure it goes back to the top for activating editing mode
        self.device.touch_home_button()
        self.device.touch_home_button()

        # delete the bookmark
        self.apps.switch_to_displayed_app()
        self.homescreen.activate_edit_mode()
        self.confirm_dialog = self.homescreen.installed_app(self.bookmark_title).tap_delete_app()
        self.confirm_dialog.tap_confirm()

        self.data_layer.disable_wifi()
        GaiaMtbfTestCase.tearDown(self)
开发者ID:nhirata,项目名称:MTBF-Driver,代码行数:13,代码来源:test_mtbf_browser_bookmark.py


示例12: tearDown

 def tearDown(self):
     GaiaMtbfTestCase.tearDown(self)
开发者ID:alison-shiue,项目名称:MTBF-Driver,代码行数:2,代码来源:test_mtbf_settings_bt.py


示例13: setUp

 def setUp(self):
     GaiaMtbfTestCase.setUp(self)
     self.settings = MTBF_Settings(self.marionette)
     self.settings.launch()
开发者ID:alison-shiue,项目名称:MTBF-Driver,代码行数:4,代码来源:test_mtbf_settings_bt.py


示例14: setUp

 def setUp(self):
     GaiaMtbfTestCase.setUp(self)
     self.data_layer.enable_wifi()
     self.data_layer.forget_all_networks()
     self.data_layer.disable_wifi()
开发者ID:Mozilla-TWQA,项目名称:MTBF-Driver,代码行数:5,代码来源:test_mtbf_settings_wifi.py


示例15: tearDown

 def tearDown(self):
     self.device.touch_home_button()
     self.device.touch_home_button()
     GaiaMtbfTestCase.tearDown(self)
开发者ID:mwargers,项目名称:MTBF-Driver,代码行数:4,代码来源:test_mtbf_cards_view_kill_apps_with_two_apps.py


示例16: setUp

    def setUp(self):
        GaiaMtbfTestCase.setUp(self)

        self.fm_radio = MTBF_FmRadio(self.marionette)
        self.fm_radio.launch()
开发者ID:Mozilla-TWQA,项目名称:MTBF-Driver,代码行数:5,代码来源:test_mtbf_fmradio_turn_on_off.py


示例17: tearDown

 def tearDown(self):
     self.data_layer.disable_wifi()
     GaiaMtbfTestCase.tearDown(self)
开发者ID:Mozilla-TWQA,项目名称:MTBF-Driver,代码行数:3,代码来源:test_mtbf_browser_search.py


示例18: setUp

 def setUp(self):
     GaiaMtbfTestCase.setUp(self)
     self.marionette.switch_to_frame()
     self.device.turn_screen_off()
开发者ID:alison-shiue,项目名称:MTBF-Driver,代码行数:4,代码来源:test_dummy_case.py


示例19: setUp

 def setUp(self):
     GaiaMtbfTestCase.setUp(self)
     self.data_layer.enable_wifi()
     self.connect_to_local_area_network()
     self.push_resource('VID_0001.ogg')
     self.video_URL = self.marionette.absolute_url('VID_0001.ogg')
开发者ID:alison-shiue,项目名称:MTBF-Driver,代码行数:6,代码来源:test_mtbf_browser_play_video.py


示例20: tearDown

 def tearDown(self):
     self.data_layer.disable_cell_data()
     GaiaMtbfTestCase.tearDown(self)
开发者ID:Mozilla-TWQA,项目名称:MTBF-Driver,代码行数:3,代码来源:test_mtbf_browser_clear_browsing_history.py



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python ioc.Container类代码示例发布时间:2022-05-27
下一篇:
Python mta_common_functions.rm_file函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap