摘要: #公有方法:(1)current_frame_contains(self, text, loglevel='INFO')(2)current_frame_should_not_contain(self, text, loglevel='INFO')(3)element_should_contain(... 阅读全文
posted @ 2015-05-02 11:42 小凡(loveok_56) 阅读(2437) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑