http://blog.csdn.net/deadgrape/article/details/50628113 我想大家在玩自动化的时候最关心的一定是如何定位元素,因为元素定位不到后面的什么方法都实现不了. 那我们就直接看看APPIUMLIBRARY官方给出的信息: Introduction AppiumLibrary is a App testing library for Robot Framework. Locating elements All keywords in AppiumLib…
http://blog.csdn.net/deadgrape/article/details/50619050 以上连作者先跪一下方便面,在上一篇中,作者遗漏了两个常用的函数: 1.长按 Long Press locator Long press the element 这个函数的作用为:长按一个控件 2.缩小(翻译为 “捏”) Pinch locator, percent=200%, steps=1 Pinch in on an element a certain amount. 这个函数作者…
http://blog.csdn.net/deadgrape/article/details/50622441 废话不多说,少年们请看下面. Wait Until Page Contains text, timeout=None, error=None Waits until text appears on current page. Fails if timeout expires before the text appears. Seeintroduction for more inform…