
Robot Framework RIDE
huhuliuxia
这个作者很懒,什么都没留下…
展开
-
RobotFramework Selenium 中调用js和jquery
在用RFS做自动化测试时,如果调用js和jquery,原创 2014-09-30 09:32:12 · 9267 阅读 · 0 评论 -
Robot Framework IE11 Selenium2Library 找不到窗口 找不到对象 找不到元素 注册表
转载至:http://www.cnblogs.com/LanTianYou/p/4811236.htmlIE11不支持Selenium 2.0,在什么情况下不支持呢?比如:通过WebDriver获取页面上的元素时,经常会捕获到这样的异常:OpenQA.Selenium.NoSuchWindowException: Unable to find element on cl转载 2017-04-18 22:25:10 · 1362 阅读 · 0 评论 -
Robot Framework RIDE中的字符转换、中文、python的gbk解码 unicode('${org_name}',"utf-8")
在 unicode('${org_name}',"utf-8")原创 2014-08-07 18:31:44 · 10342 阅读 · 0 评论 -
Robot Framework Selenium2Library 自动化测试中点击操作 click element
Comment Click Element xpath=//div[@id='plandiv_dayTimePlan0']/divComment Focus xpath=//div[@id='plandiv_dayTimePlan0']/divComment SWTA.Mouse Down xpath=//div[@id='plandiv_dayTimePlan0']/divComme原创 2014-12-09 10:51:47 · 11035 阅读 · 0 评论 -
Robot Framework RIDE 报告生成
先用mabot进行结果的修改 output.xml,然后用rebot 进行结果的生成log和report原创 2014-12-29 09:46:22 · 3630 阅读 · 1 评论 -
Robot Framework ride中使用 python的math库 进行数学计算
${b} Evaluate 3.2222 ${a} Evaluate "%.2f"%${1+${b}} math将1与变量b计算的记过保留小数点后2位原创 2015-05-21 14:49:40 · 2411 阅读 · 1 评论 -
Robot Framework xpath 模糊匹配 Selenium2Library 对象标识 强唯一性 ,iframe层选择
// a[contains(@class,\'ui-state-highlight\')]'选择标签a 中,class属性包含ui-state-highlight的元素,反斜杠可以去掉。原创 2015-11-13 08:39:58 · 4565 阅读 · 0 评论 -
Robot Framework Selenium2Library 打开IE浏览器失败
在Robot Framework 框架下,经常用到Selenium2Library库进行测试。 新手最容易遇到IE浏览器打开失败的情况,这个时候,请看下具体的提示信息,protected mode ...这种可以猜出来是IE浏览器的保护模式不一致造成的,这个时候,把浏览器的【工具】-【Internet选项】-【安全】中的多个选项卡的【启用保护模式】复选框勾上就行了。具体,可以看下IED原创 2016-08-27 21:44:46 · 3537 阅读 · 0 评论 -
Robot Framework Selenium2Library web对象用css信息表示。在RIDE中标识对象
css 表示web对象转载 2014-08-13 10:03:27 · 723 阅读 · 0 评论 -
Robot Framework autoitlibrary 常用关键字
wait for active window 另存为 Control Send 另存为 Edit1 c:\\123.txt Control Click 另存为 Button1 wait for active window 确认另存为 2 ${bTrue}= Win Exists 确认另存为 run keyword if ${bTrue} Control Cl原创 2014-08-14 09:58:31 · 5975 阅读 · 1 评论 -
Robot Framework Selenium2Library 无法打开独立html页面
Selenium2Library中的open browser函数是打开一个网络资源http://localhost:8080/原创 2014-08-07 18:36:24 · 1914 阅读 · 0 评论 -
Robot Framework selenium2library库获取某个对象的属性
self.current_month_locator='xpath=/html/body/div/div[@id=\'dpTitle\']/div[3]/input'current_month = self.selenium.get_element_attribute(self.current_month_locator+"@realValue")原创 2014-08-13 16:31:27 · 4397 阅读 · 0 评论 -
selenium2library 离线安装需另外的包
decorator-3.4.0-py2.7.eggdocutils-0.10-py2.7.eggselenium-2.31.0-py2.7.egg原创 2014-08-07 18:42:55 · 2049 阅读 · 0 评论 -
Robot Framework 自动化测试框架 学习方法 开源代码
Robot Framework 是业界口碑比较不错的自动化测试框架,官方网站:http://robotframework.org/网站的首页非常值得仔细一看,如果对英文不太干嘛,那么就用chrome浏览器,来个自动翻译,大体浏览一边还是很好的。里边有很多的库文件,有基础库,扩展库,其他库。对常见的web测试,手机测试都提供了测试库,对CS端的测试也提供了类似autoitlibrary的原创 2017-04-18 23:01:08 · 4530 阅读 · 0 评论