• 1 使用uiautomatorviewer地获取元素ID

路径:sdk\tools\uiautomatorviewer.bat

Appium使用ID进行定位

Appium使用ID进行定位

 

 

  • 2 脚本中增加点击事件
driver.find_element_by_id("com.alibaba.android.rimet:id/home_bottom_tab_button_work").click

 

参考:http://www.cnblogs.com/lazytest/p/5612709.html 

相关文章:

  • 2021-10-09
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2021-05-20
猜你喜欢
  • 2021-11-02
  • 2021-11-19
  • 2021-10-07
  • 2021-10-09
  • 2021-08-23
  • 2021-11-02
  • 2022-12-23
相关资源
相似解决方案