• 请不要在回答技术问题时复制粘贴 AI 生成的内容
cmlanche
V2EX  ›  程序员

调研一下有写 appium 脚本的 v 友,你们的 appium 脚本是怎么写的

  •  
  •   cmlanche ·
    cmlanche · Apr 2, 2019 · 2736 views
    This topic created in 2607 days ago, the information mentioned may be changed or developed.

    流程大致是怎样的?写 appium 脚本方便吗?

    6 replies    2019-04-03 17:29:07 +08:00
    cece0417
        1
    cece0417  
       Apr 2, 2019
    我自己瞎写的,大概就是 pageObject 模式写了一套,组了几个用例,然后就没有然后了。。。
    KigKrazy
        2
    KigKrazy  
       Apr 2, 2019
    appium 对接过安卓,但是经常连不上(不知道是不是姿势不对)。如果安卓的话,感觉不建议。另外可以调研下网易的 airtest。
    SleipniR
        3
    SleipniR  
       Apr 2, 2019
    你是说控件定位方法吗?真机 USB 调试或者 Genymotion 配合 uiautomatorviewer 进行定位,然后 Python 写脚本。
    Gakho
        4
    Gakho  
       Apr 2, 2019
    我也是用的 Python 写的脚本,其实和 selenium 那一套比较类似 ...不过感觉比较麻烦,好久没维护了
    leewlab
        5
    leewlab  
       Apr 2, 2019 via Android
    Katalon
    summersky92
        6
    summersky92  
       Apr 3, 2019
    先统一 element id, 根据 acceptance criteria 写, 用 ruby 写
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2876 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 15:03 · PVG 23:03 · LAX 08:03 · JFK 11:03
    ♥ Do have faith in what you're doing.