项目名及简介 功能 用法

下载项目:

git clone git@github.com:284772894/appiumn_auto.git



配置devices.yaml

appium:


 - devices: JTJ4C16331013562


   port: 4723


   config: node D:\app\Appium\node_modules\appium\bin\appium.js  -p 4723 -bp 4733


   platformName: android


 - devices: MSM8926


   port: 4724


   config: node D:\app\Appium\node_modules\appium\bin\appium.js  -p 4724 -bp 4734


   platformName: android



yaml

--- 


- 


  element_info: cn.ibona.t1_beta:id/start_button


  find_type: by_id


  operate_type: click


  test_id: 1002


  test_intr: 登陆


- 


  element_info: cn.ibona.t1_beta:id/passwordEditText


  find_type: by_id


  operate_type: send_keys


  test_id: 1002


  text: 111111


- 


  element_info: cn.ibona.t1_beta:id/phoneNumberEditText


  find_type: by_id


  operate_type: send_keys


  text: 18576759587


- 


  element_info: cn.ibona.t1_beta:id/loginButton


  find_type: by_id


  operate_type: click


- 


  element_info: cn.ibona.t1_beta:id/toolbar


  find_type: by_id




命名行运行:

pyhton testRunner/runner.py



使用截图

run1.gif

run1.gif

testEmail.png

testinit.png

testReport12-5.png

其他