首页 > 其他 > 详细

Selenium2Library系列 keywords 之 _SelectElementKeywords 之 page_should_contain_list(self, locator, message='', loglevel='INFO')

时间:2015-04-28 22:32:20      阅读:399      评论:0      收藏:0      [点我收藏+]
 1     def page_should_contain_list(self, locator, message=‘‘, loglevel=INFO):
 2         """Verifies select list identified by `locator` is found from current page.
 3 
 4         See `Page Should Contain Element` for explanation about `message` and
 5         `loglevel` arguments.
 6 
 7         Key attributes for lists are `id` and `name`. See `introduction` for
 8         details about locating elements.
 9         """
10         self._page_should_contain_element(locator, list, message, loglevel)

 

方法名:page_should_contain_list(self, locator, message=‘‘, loglevel=‘INFO‘)

相似方法:

公共方法 验证select list 存在于当前页面

接收参数:locator,message=‘‘,loglevel=‘INFO‘

10行:使用_page_should_contain_element(locator, ‘list‘, message, loglevel)

Selenium2Library系列 keywords 之 _SelectElementKeywords 之 page_should_contain_list(self, locator, message='', loglevel='INFO')

原文:http://www.cnblogs.com/loveok-56/p/4464077.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!