环境准备appium server sdk 一,Robotframework自动化测试: appium相关: *** Settings ***
Library AppiumLibrary *** Test Cases ***
case1
Open Application http://localhost:4723/wd/hub platformName=Android platformVersion=8.0.0 deviceName=Y2J2127N17B11002134 appPackage=com.h212e212i.sm121lot appActivity=com.h21i.s211ilot.activity.SplashActivity
Wait Until Element Is Visible com.heyi.smartpilot:id/et_name 30
input text com.12.21/et_name 12
input text com.1e212yi.21/et_pwd 12
comment 隐藏键盘
go back
Wait Until Element Is Visible com.21i.s212p21lot:id/tv_login 30
Click Element com.heyi.s212t:id/tv_login
二,appium python PO模式
区别robot封装的好的关键字需要自己封装 一般结构基础配置,testrunner,常用方法封装,case
|