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
BunnyEatingGrass
V2EX  ›  Python

什么情况下会使用 UI 自动化而不是调用 api?

  •  
  •   BunnyEatingGrass · 2022-08-10 17:36:09 +08:00 · 1745 次点击
    这是一个创建于 624 天前的主题,其中的信息可能已经有所发展或是发生改变。

    个人理解有两种场景。 1.UI 自动化测试,就是为了测试在操作 UI 的情况下,应用是否能正常工作。 2.无法调用应用 api 的时候,可以用 UI 自动化作为一种辅助。

    想看看大家的观点。

    3 条回复    2022-08-12 06:48:40 +08:00
    mydingyan
        1
    mydingyan  
       2022-08-10 20:34:41 +08:00
    2 的情况,在第三方接口较多的情况下,可使用 UI 自动化造数据
    BunnyEatingGrass
        2
    BunnyEatingGrass  
    OP
       2022-08-11 09:37:15 +08:00
    @mydingyan 很有道理
    yedanten
        3
    yedanten  
       2022-08-12 06:48:40 +08:00 via Android
    懒的分析 api 结构的时候 x
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1794 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 16:38 · PVG 00:38 · LAX 09:38 · JFK 12:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.