|
大家好!本人刚刚开始接触自动化测试工具RF+selenium2library,想向各位请教一个问题。为什么使用 Open Browser的时候,能启动火狐浏览器,但是就是一直不会打开网址?
备注:安装了IEDriver.exe ,用IE浏览器,可以打开网址。
-------------以下是测试代码------------------------------
打开火狐浏览器
Open Browser http://www.baidu.com/ ff
------------------------------------------------------------
---------以下是报错信息--------------------------
Starting test: 测试.打开火狐浏览器
20140307 16:05:24.516 : INFO : Opening browser 'ff' to base url 'http://www.baidu.com/'
20140307 16:06:29.297 : FAIL : No browser is open
20140307 16:06:29.298 : WARN : Keyword 'Capture Page Screenshot' could not be run on failure: No browser is open
20140307 16:06:29.331 : FAIL : WebDriverException: Message: "Can't load the profile. Profile Dir: c:\\users\\admini~1\\appdata\\local\\temp\\tmp3cs0li\\webdriver-py-profilecopy Firefox output: *** LOG addons.xpi: startup\r\n*** LOG addons.xpi: Skipping unavailable install location app-system-local\r\n*** LOG addons.xpi: Skipping unavailable install location app-system-share\r\n*** WARN addons.xpi: Ignoring missing add-on in C:\\Users\\Administrator\\AppData\\Local\\Youdao\\Dict\\Application\\stable\\extensions\\firefox\r\n*** LOG addons.xpi: checkForChanges\r\n*** LOG addons.xpi: No changes found\r\n"
Ending test: 测试.打开火狐浏览器
-------------------------------------------------------------------------------------------
-----------------工具配置-------------------------
系统:win7 32bit
框架:
ActivePython-2.7.2.5-win32-x86.msi
wxPython2.8-win32-unicode-2.8.11.0-py27.exe
robotframework-2.8.4
robotframework-ride-1.2.3.win32
robotframework-selenium2library-1.5.0
------------------------------------------------------------ |
|