首页 > 代码库 > robotframework + appium实例
robotframework + appium实例
Open Application http://localhost:4723/wd/hub platformName=Android platformVersion=4.4.2 deviceName=192.168.65.101:5555 unicodeKeyboard=True resetKeyboard=True appActivity=com.xxx.xxx.activity.MainActivity appPackage=com.xxx.xxx
sleep 2
Click Element xpath=//android.widget.RadioButton[contains(@text,‘我的‘)]
sleep 2
Comment Click Element xpath=(//android.widget.TextView)[4]
Click Element xpath=//android.widget.TextView[contains(@text,‘场馆‘)]
Input Text id=com.xgh.sport:id/tv_login_venue 13500000000
Input Password id=com.xgh.sport:id/password_et 123456
Click Element id=com.xgh.sport:id/login_btn
Click Element id=com.xgh.sport:id/my_rb
Click Element xpath=//android.widget.TextView[contains(@text,‘主场馆‘)]
https://testerhome.com/topics/3711
robotframework + appium实例