windows 上robot framework 读取sqlite3提示:OperationalError: unable to open database file错误

原因:路径写的不正确。

正确的写法:'D:/Python27/163/demo.db' 或者 r 'E:\\rf-demos-master\\DatabaseDemo\\demo.db'

Connect To Database Using Custom Params sqlite3 'D:/Python27/163/demo.db'
Comment Connect To Database Using Custom Params sqlite3 'E:\\rf-demos-master\\DatabaseDemo\\demo.db'
${table} Query select * from order_item
Comment log '${CURDIR}${/}demo.db'
Comment log 'E:\\rf-demos-master\\DatabaseDemo\\demo.db'
log ${table}

posted on 2017-07-06 13:20  sunny_2016  阅读(798)  评论(0)    收藏  举报

导航