在使用UiAutomator写测试用例时,最常用到的就是控件查找操作。
在UiSelector中,有两个定位控件的方法,一个是instance,一个是index。那么这两个方法有什么区别呢?
首先,我们看一下官方api说明:
instance(int instance):
Set the search criteria to match the widget by its instance number. The instance value must be 0 or greater, where the first instance is 0. For example, to simulate a user click on the third image that is enabled in a UI screen, you could specify a a search criteria where the instance is 2, the className(String) matches the image widget class, and enabled(boolean) is true. The code would look like this: new UiSelector().className("android.widget.ImageView") .enabled(true).instance(2);
index(int index):
Set the search criteria to match the widget by its node index in the layout hierarchy. The index value must be 0 or greater. Using the index can be unreliable and should only be used as a last resort for matching. Instead, consider using the instance(int) method.
也就是说instance方法会将界面上所有相同类型的控件按顺序取出来,放到一个集合里(暂且这么理解吧,不知道放哪里了,囧),然后按照控件在集合的角标把想要的控件取出来;而index则是通过该控件所在层级的节点角标将对应的控件取出来。
那么这两个方法到底是怎么使用的呢?看下面的例子:
首先我们通过xml定义一个布局:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".MainActivity" > <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:text="textview1" android:textSize="22sp" /> <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:text="button1" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:text="textview2" android:textSize="22sp" /> <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:text="button2" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:text="textview3" android:textSize="22sp" /> </LinearLayout>
使用UiAutomatorViewer截出来的图是这样的:
按照说明,使用index方法获取TextView控件是这样的:
UiObject obj = new UiObject(new UiSelector().className("android.widget.TextView").index(0)); // textview1 UiObject obj = new UiObject(new UiSelector().className("android.widget.TextView").index(2)); // textview2 UiObject obj = new UiObject(new UiSelector().className("android.widget.TextView").index(4)); // textview3
哎,等等,尼玛!为啥我第一个方法取到的UiObject是“TestUI”,原来在我们的TitleBar上也有一个TextView控件,而它的节点角标也是0(见下图)。这是不是太坑爹了?先不要埋怨,人家api文档都说的很清楚了,这是一个不靠谱(unreliable)的方法,其他方法都不好使了才建议去尝试此方法。
下面把使用instance方法获取TextView控件的方法写出来:
UiObject obj = new UiObject(new UiSelector().className("android.widget.TextView").instance(0)); // TestUI
UiObject obj = new UiObject(new UiSelector().className("android.widget.TextView").instance(1)); // textview1 UiObject obj = new UiObject(new UiSelector().className("android.widget.TextView").instance(2)); // textview2 UiObject obj = new UiObject(new UiSelector().className("android.widget.TextView").instance(3)); // textview3
怎么样,使用instance方法就靠谱多了吧。
本次分享到此结束,欢迎大家与我一起交流。
============================2014-12-25 分割线===================
今天上网看博客,发现index方法还有一种用法,就是在UiObject.getChild()方法里使用。还是以上面的UI为例。
如果我们想要获取textview1对应的TextView控件,首先找到它的父控件LinearLayout,而LinearLayout又是FrameLayout的子控件(如下图)。
JSheCIKUEhQvBEFKCYoXgiClBMULQZBSguKFIEgpmSXxaoxXK7X69PT09HS9VmlSHW+0/t/6BmXq4tip+ACHQatRHE0E7qs2oLqvXlTr//qhQeUrja3snB6JWbj+g7WygYlm8ZVa3ToQBElnVsSrMV5tnZGN8ap6zTVP++5mK9usCcrs1OWspV7rpINNpJUAbFXuAEZRlWqtplUKlqCU1d2eHYlVeNaxqongXct9K0MQgwLEK9P8vns5aSe03hsDroB5KV6uJgIS9AYExAsqBC5B1Yz29/RIso4oS7scdywULyQ3MxWvHOb3ymmqX1jdExU+k+3zv5lSr3UGF8Bgp16rVMfrrXRlNKJeFN3hSjsRutbMwpWeiBZ9t7RuFGp5re/KbtbBdhvG1UTmflYIOcXLUUL72PTeVkokYOHT6bsriY3xanV83B6UonghuZmReOUzv3f0KtKvuPbu+vXeTFG6AzWlu6CMgFrlNuWiMzbt7tC5PjqpkFDahQMR12vmJI5VXvd7ds/L3USpW3OLl7v8Tmtn/ljOwqfT9za6d8B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M3sHDb2HlhjvFqt1YCuae8hqR3K9J5XhuYawXb6hmrPqt2NBSvNL15gJGBdOe4TeYeMQBgoXogDsFtlTvE6n8CB57/Wb1PGLN0p8tZeukBqJ6g5hNT7glph+hVlXN36/HyPgal1zCAkx+7OduzuDQiaOmrVQktLhHvHhmICfW47EkddGTGDmg0kOsJA8UJgUma0cmxGCiHtBpG9uceanD2vQhlMzHMDFK/CSBkXzrnTZkSpowW+AyPmuQGKF4IgpQTFC0GQUoLihSBIKUHxQhCklKB4IQhSSlC8EAQpJSheCIKUEhQvBEFKCYoXgiClBMULQZBSguKFIEgpQfFCEKSUoHghCFJKULwQBCklKF4IgpQSFC8EQUoJiheCIKUExQtBkFKC4oUgSClB8UIQpJSgeCEIUkpQvBAEKSUoXgiClBIULwRBSgmKF4IgpQTFC0GQUoLihSBIKUHxQhCklKB4IQhSSlC8EAQpJSheCIKUEhQvBEFKCYoXgiClBMULQZBSguKFIEgpQfFCEKSUoHghCFJKULwQBCklKF4IgpQSFC8EQUoJiheCIKUExQtBkFKC4oUgSClB8UIQpJSgeCEIUkpQvBAEKSUoXgiClBIULwRBSgmKF4IgpQTFC0GQUoLihSBIKUHxQhCklKB4IQhSSlC8EAQpJSheCIKUEhQvBEFKCYoXgiClBMULQZBSguKFIEgpQfFCEKSUoHghCFJKULwQBCklKF4IgpQSFC8EQUoJiheCIKUExQtBkFKC4oUgSClB8UIQpJSgeCEIUkpQvBAEKSUoXgiClBIULwRBSgmKF4IgpQTFC0GQUoLihSBIKUHxQhCklKB4IQhSSlC8EAQpJSheCIKUEhQvBEFKCYoXgiClBMULQZBSguKFIEgpQfFCEKSU/P/iIQOM0tK2uwAAAABJRU5ErkJggg==" alt="" />
所以,获取textview1的代码大概是这样:
UiObject viewObj = new UiObject(new UiSelector().className("android.view.View")); // 获取View控件 UiObject flObj = viewObj.getChild(new UiSelector().index(1)); // 获取FrameLayout控件 UiObject llObj = flObj.getChild(new UiSelector().index(0)); // 获取LinearLayout控件 UiObject tv1Obj = llObj.getChild(new UiSelector().index(0)); // 获取textview1对应的TextView控件
怎么样?还是instance好用吧!