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


Python CrashStatsHomePage.click_advanced_search方法代码示例

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


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

示例1: test_that_advanced_search_for_seamonkey_can_be_filtered

# 需要导入模块: from crash_stats_page import CrashStatsHomePage [as 别名]
# 或者: from crash_stats_page.CrashStatsHomePage import click_advanced_search [as 别名]
 def test_that_advanced_search_for_seamonkey_can_be_filtered(self, seleniumsetup):
     self.selenium = seleniumsetup.selenium
     csp = CrashStatsHomePage(self.selenium)
     csp.select_product('SeaMonkey')
     cs_advanced = csp.click_advanced_search()
     cs_advanced.filter_reports()
     Assert.true(cs_advanced.can_find_text('product is one of SeaMonkey'))  
开发者ID:AutomatedTester,项目名称:Socorro-Tests,代码行数:9,代码来源:test_search.py

示例2: test_that_advanced_search_for_camino_can_be_filtered

# 需要导入模块: from crash_stats_page import CrashStatsHomePage [as 别名]
# 或者: from crash_stats_page.CrashStatsHomePage import click_advanced_search [as 别名]
 def test_that_advanced_search_for_camino_can_be_filtered(self, testsetup):
     self.selenium = testsetup.selenium
     csp = CrashStatsHomePage(testsetup)
     csp.select_product('Camino')
     cs_advanced = csp.click_advanced_search()
     cs_advanced.filter_reports()
     Assert.true(cs_advanced.can_find_text('product is one of Camino'))
开发者ID:tobbi,项目名称:Socorro-Tests,代码行数:9,代码来源:test_search.py

示例3: test_that_advanced_search_view_signature_for_firefox_crash

# 需要导入模块: from crash_stats_page import CrashStatsHomePage [as 别名]
# 或者: from crash_stats_page.CrashStatsHomePage import click_advanced_search [as 别名]
 def test_that_advanced_search_view_signature_for_firefox_crash(self, testsetup):
     self.selenium = testsetup.selenium
     csp = CrashStatsHomePage(testsetup)
     cs_advanced = csp.click_advanced_search()
     cs_advanced.filter_reports()
     if not cs_advanced.can_find_text('no data'):
         signature = cs_advanced.click_first_signature()
         Assert.true(signature in cs_advanced.page_heading)
开发者ID:tobbi,项目名称:Socorro-Tests,代码行数:10,代码来源:test_smoke_tests.py

示例4: test_that_options_are_sorted_the_same

# 需要导入模块: from crash_stats_page import CrashStatsHomePage [as 别名]
# 或者: from crash_stats_page.CrashStatsHomePage import click_advanced_search [as 别名]
 def test_that_options_are_sorted_the_same(self, testsetup):
     self.selenium = testsetup.selenium
     csp = CrashStatsHomePage(testsetup)
     cssearch = csp.click_advanced_search()
     nav_product_list = csp.product_list
     search_product_list = cssearch.product_list
     Assert.equal(len(nav_product_list),len(search_product_list))
     for i, prod_item in enumerate(nav_product_list):
         Assert.equal(prod_item, search_product_list[i])
开发者ID:tobbi,项目名称:Socorro-Tests,代码行数:11,代码来源:test_smoke_tests.py

示例5: test_that_advanced_search_view_signature_for_thunderbird_crash

# 需要导入模块: from crash_stats_page import CrashStatsHomePage [as 别名]
# 或者: from crash_stats_page.CrashStatsHomePage import click_advanced_search [as 别名]
 def test_that_advanced_search_view_signature_for_thunderbird_crash(self, seleniumsetup):
     self.selenium = seleniumsetup.selenium
     csp = CrashStatsHomePage(self.selenium)
     csp.select_product('Thunderbird')
     cs_advanced = csp.click_advanced_search()
     cs_advanced.filter_reports()
     if not cs_advanced.can_find_text('no data'):
         signature = cs_advanced.click_first_signature()
         Assert.true(signature in cs_advanced.page_heading)
开发者ID:AutomatedTester,项目名称:Socorro-Tests,代码行数:11,代码来源:test_smoke_tests.py

示例6: test_that_advanced_search_has_camino_highlighted_in_multiselect

# 需要导入模块: from crash_stats_page import CrashStatsHomePage [as 别名]
# 或者: from crash_stats_page.CrashStatsHomePage import click_advanced_search [as 别名]
 def test_that_advanced_search_has_camino_highlighted_in_multiselect(self, testsetup):
     self.selenium = testsetup.selenium
     csp = CrashStatsHomePage(testsetup)
     csp.select_product('Camino')
     cs_advanced = csp.click_advanced_search()
     Assert.equal('Camino', cs_advanced.currently_selected_product)
开发者ID:tobbi,项目名称:Socorro-Tests,代码行数:8,代码来源:test_smoke_tests.py

示例7: test_that_advanced_search_has_fennec_highlighted_in_multiselect

# 需要导入模块: from crash_stats_page import CrashStatsHomePage [as 别名]
# 或者: from crash_stats_page.CrashStatsHomePage import click_advanced_search [as 别名]
 def test_that_advanced_search_has_fennec_highlighted_in_multiselect(self, seleniumsetup):
     self.selenium = seleniumsetup.selenium
     csp = CrashStatsHomePage(self.selenium)
     csp.select_product('Fennec')
     cs_advanced = csp.click_advanced_search()
     Assert.equal('Fennec', cs_advanced.currently_selected_product)
开发者ID:AutomatedTester,项目名称:Socorro-Tests,代码行数:8,代码来源:test_smoke_tests.py


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