本文整理匯總了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'))
示例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'))
示例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)
示例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])
示例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)
示例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)
示例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)