robotframework+appium App UI自动化测试基本操作(四)

1.滑动(Swipe)

start_x:开始滚动位置的X坐标; 
start_y:开始滚动位置的Y坐标; 
offset_x:停止滚动位置的X坐标; 
offset_y:停止滚动位置的Y坐标; 
duration:操作滑动的时间(注意单位是ms) 

2.点击、输入操作

Click Element

Click Text

Click A Point

Input Password

 

Input Text

 Long Press

Pinch( 在元素上执行模拟双指捏(缩小操作))

 3.窗口操作

Get Window Height

Get Window Width

4.按钮操作

Go Back

5.上传、下载

Pull File(下载)

Push File

 

看到了一篇总结超级全的博客:https://blog.csdn.net/wwwlzg/article/details/103047202

原文地址:https://www.cnblogs.com/daphnezhu/p/12107054.html