V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
MuscleOf2016
V2EX  ›  Python

有没有什么 selenium 做网站自动化测试的框架或者现在的其他代码用例工程推荐尼?

  •  
  •   MuscleOf2016 · 2022-03-10 00:49:24 +08:00 · 3004 次点击
    这是一个创建于 777 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如题,新上线的网站还在研发阶段,人员充足,时间充足,准备加入 web 自动化测试功能,好给领导汇报。有什么现成的框架,或者开源的工程学习尼。selenium + python3.0 的。

    10 条回复    2022-03-25 17:19:59 +08:00
    jeeyong
        1
    jeeyong  
       2022-03-10 01:10:02 +08:00
    selenium 不就是框架了吗 ?
    想再简单一点就直接用 selenium 提供的插件去录制操作????然后回放测试?
    Rocketer
        2
    Rocketer  
       2022-03-10 01:13:41 +08:00 via iPhone
    selenium 快过时了,现在开始的话直接学 cypress 吧
    Puteulanus
        3
    Puteulanus  
       2022-03-10 01:16:57 +08:00
    https://airtest.netease.com/
    只是看到过,没在生产中用过
    solopython
        4
    solopython  
       2022-03-10 09:00:25 +08:00
    Playwright
    huweitxdy
        5
    huweitxdy  
       2022-03-10 09:22:18 +08:00
    qooweds
        6
    qooweds  
       2022-03-10 09:49:35 +08:00
    还在研发阶段就别上 UI 自动化了,页面有改动的话很浪费时间
    等稳定一点再说吧
    mydingyan
        7
    mydingyan  
       2022-03-10 10:30:21 +08:00
    已经做了 API 自动化嘛? ui 自动化的成本很高的
    公司 web 端 UI 自动化用的 robotframework 框架,也可以实现 API 自动化 。
    zkw111
        8
    zkw111  
       2022-03-10 12:56:53 +08:00
    可以关注一下这个项目 https://github.com/metersphere/metersphere
    马上要上 UI 自动化测试
    使用 jmeter+ selenium 完成
    JarvenI
        9
    JarvenI  
       2022-03-16 11:40:06 +08:00
    @solopython playwight 异步可能只支持类 unix 系统,我试了下 scrapy+playwight, 异步代码报错的,搜索了下,好像是不支持 windows,无奈最后换 selenium 了
    wangdaqiao
        10
    wangdaqiao  
       2022-03-25 17:19:59 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1060 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:13 · PVG 06:13 · LAX 15:13 · JFK 18:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.