![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
UI自动化测试
qq_40264470
这个作者很懒,什么都没留下…
展开
-
python3.7.0 + selenium3.14.0+IE11定位不到元素的问题
写第一个登录的用例,登录成功,写assert的时候,一直无法定位登录成功后页面的元素,报NoSuchElementException 共尝试了以下4种,均报NoSuchElementException,这个问题花了俺大半天时间尝试各种方法 (1)换元素 (2)换定位方法 (a)find_element_by_id (b)find_element_by_xpath且xpath用了几种方式 ...原创 2018-09-03 15:55:20 · 1397 阅读 · 0 评论 -
Python socket 编程学习
Server.pyimport socketHOST = ‘daring.cwi.nl’PORT = 50007s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)s.bind((HOST ,PORT ))s.listen(1)conn,addr = s.accept()print(‘Connected by’,addr)whi...原创 2018-10-26 17:45:39 · 124 阅读 · 0 评论 -
Python+cx_Oracle访问oracle数据库
E:\instantclient-basic-windows.x64-18.3.0.0.0dbru\instantclient_18_3import cx_OracleModuleNotFoundError: No module named ‘cx_Oracle’解决办法:pip install cx_Oracle路径加到环境变量path下cx_Oracle.DatabaseErro...原创 2018-10-26 17:49:32 · 513 阅读 · 0 评论