robotframework報錯

問題一:RobotFramework RIDE在運行測試用例時沒法打開谷歌瀏覽器,緣由是一、安裝ride時沒有安裝chromedriver驅動   二、驅動版本與本機瀏覽器不兼容html

解決方法:在python27下面把下載好的驅動複製進去便可。python

全部chromedriver版本號都可在下面連接中下載到:chrome

http://chromedriver.storage.googleapis.com/index.htmlapi

下載與本身瀏覽器版本對應的chromedriver版本,將chromedriver.exe插件放到python目錄下便可      (  IE 的驅動爲:IEDriverServer.exe)瀏覽器

 

 

 

問題二:ride報 Automatically parsing other than '*.robot' files is deprecated. Convert 'D:\Pythonp\Robot Framework\ide

緣由:套件文件格式不對,在suite上右擊選中change formate →選擇robot 便可測試

 

 

 

相關文章
相關標籤/搜索