摘要: 1 def unselect_from_list_by_label(self, locator, *labels): 2 """Unselects `*labels` from list identified by `locator` 3 4 Select... 阅读全文
posted @ 2015-04-28 22:58 小凡(loveok_56) 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 1 def unselect_from_list_by_value(self, locator, *values): 2 """Unselects `*values` from list identified by `locator` 3 4 Select... 阅读全文
posted @ 2015-04-28 22:57 小凡(loveok_56) 阅读(1319) 评论(0) 推荐(0) 编辑
摘要: 1 def unselect_from_list_by_index(self, locator, *indexes): 2 """Unselects `*indexes` from list identified by `locator` 3 4 Sele... 阅读全文
posted @ 2015-04-28 22:55 小凡(loveok_56) 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 1 def unselect_from_list(self, locator, *items): 2 """Unselects given values from select list identified by locator. 3 4 As a sp... 阅读全文
posted @ 2015-04-28 22:52 小凡(loveok_56) 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 1 def select_from_list_by_label(self, locator, *labels): 2 """Selects `*labels` from list identified by `locator` 3 4 Select lis... 阅读全文
posted @ 2015-04-28 22:48 小凡(loveok_56) 阅读(742) 评论(0) 推荐(0) 编辑
摘要: 1 def select_from_list_by_value(self, locator, *values): 2 """Selects `*values` from list identified by `locator` 3 4 Select lis... 阅读全文
posted @ 2015-04-28 22:46 小凡(loveok_56) 阅读(493) 评论(0) 推荐(0) 编辑
摘要: 1 def select_from_list(self, locator, *items): 2 """Selects `*items` from list identified by `locator` 3 4 If more than one valu... 阅读全文
posted @ 2015-04-28 22:43 小凡(loveok_56) 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 1 def select_all_from_list(self, locator): 2 """Selects all values from multi-select list identified by `id`. 3 4 Key attributes... 阅读全文
posted @ 2015-04-28 22:27 小凡(loveok_56) 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1 def page_should_not_contain_list(self, locator, message='', loglevel='INFO'): 2 """Verifies select list identified by `locator` is not ... 阅读全文
posted @ 2015-04-28 22:21 小凡(loveok_56) 阅读(1124) 评论(0) 推荐(0) 编辑
摘要: 1 def list_should_have_no_selections(self, locator): 2 """Verifies select list identified by `locator` has no selections. 3 4 Se... 阅读全文
posted @ 2015-04-28 22:17 小凡(loveok_56) 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1 def list_selection_should_be(self, locator, *items): 2 """Verifies the selection of select list identified by `locator` is exactly `*it... 阅读全文
posted @ 2015-04-28 22:09 小凡(loveok_56) 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 1 def _get_values_for_options(self, options):2 values = []3 for option in options:4 values.append(option.get_attribut... 阅读全文
posted @ 2015-04-28 21:36 小凡(loveok_56) 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 1 def page_should_contain_list(self, locator, message='', loglevel='INFO'): 2 """Verifies select list identified by `locator` is found fr... 阅读全文
posted @ 2015-04-28 21:27 小凡(loveok_56) 阅读(2155) 评论(0) 推荐(0) 编辑