package com.android.uiautomator.core {
public final class Configurator {
method public long getActionAcknowledgmentTimeout();
method public static com.android.uiautomator.core.Configurator getInstance();
method public long getKeyInjectionDelay();
method public long getScrollAcknowledgmentTimeout();
method public long getWaitForIdleTimeout();
method public long getWaitForSelectorTimeout();
method public com.android.uiautomator.core.Configurator setActionAcknowledgmentTimeout(long);
method public com.android.uiautomator.core.Configurator setKeyInjectionDelay(long);
method public com.android.uiautomator.core.Configurator setScrollAcknowledgmentTimeout(long);
method public com.android.uiautomator.core.Configurator setWaitForIdleTimeout(long);
method public com.android.uiautomator.core.Configurator setWaitForSelectorTimeout(long);
}
public class UiCollection extends com.android.uiautomator.core.UiObject {
ctor public UiCollection(com.android.uiautomator.core.UiSelector);
method public com.android.uiautomator.core.UiObject getChildByDescription(com.android.uiautomator.core.UiSelector, java.lang.String) throws com.android.uiautomator.core.UiObjectNotFoundException;
method public com.android.uiautomator.core.UiObject getChildByInstance(com.android.uiautomator.core.UiSelector, int) throws com.android.uiautomator.core.UiObjectNotFoundException;
method public com.android.uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.UiSelector, java.lang.String) throws com.android.uiautomator.core.UiObjectNotFoundException;
method public int getChildCount(com.android.uiautomator.core.UiSelector);
}
public class UiDevice {
method public void clearLastTraversedText();
method public boolean click(int, int);
method public boolean drag(int, int, int, int, int);
method public void dumpWindowHierarchy(java.lang.String);
method public void freezeRotation() throws android.os.RemoteException;
method public deprecated java.lang.String getCurrentActivityName();
method public java.lang.String getCurrentPackageName();
method public int getDisplayHeight();
method public int getDisplayRotation();
method public android.graphics.Point getDisplaySizeDp();
method public int getDisplayWidth();
method public static com.android.uiautomator.core.UiDevice getInstance();
method public java.lang.String getLastTraversedText();
method public java.lang.String getProductName();
method public boolean hasAnyWatcherTriggered();
method public boolean hasWatcherTriggered(java.lang.String);
method public boolean isNaturalOrientation();
method public boolean isScreenOn() throws android.os.RemoteException;
method public boolean openNotification();
method public boolean openQuickSettings();
method public boolean pressBack();
method public boolean pressDPadCenter();
method public boolean pressDPadDown();
method public boolean pressDPadLeft();
method public boolean pressDPadRight();
method public boolean pressDPadUp();
method public boolean pressDelete();
method public boolean pressEnter();
method public boolean pressHome();
method public boolean pressKeyCode(int);
method public boolean pressKeyCode(int, int);
method public boolean pressMenu();
method public boolean pressRecentApps() throws android.os.RemoteException;
method public boolean pressSearch();
method public void registerWatcher(java.lang.String, com.android.uiautomator.core.UiWatcher);
method public void removeWatcher(java.lang.String);
method public void resetWatcherTriggers();
method public void runWatchers();
method public void setCompressedLayoutHeirarchy(boolean);
method public void setOrientationLeft() throws android.os.RemoteException;
method public void setOrientationNatural() throws android.os.RemoteException;
method public void setOrientationRight() throws android.os.RemoteException;
method public void sleep() throws android.os.RemoteException;
method public boolean swipe(int, int, int, int, int);
method public boolean swipe(android.graphics.Point[], int);
method public boolean takeScreenshot(java.io.File);
method public boolean takeScreenshot(java.io.File, float, int);
method public void unfreezeRotation() throws android.os.RemoteException;
method public void waitForIdle();
method public void waitForIdle(long);
method public boolean waitForWindowUpdate(java.lang.String, long);
method public void wakeUp() throws android.os.RemoteException;
}
public class UiObject {
ctor public UiObject(com.android.uiautomator.core.UiSelector);
method public void clearTextField() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean click() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean clickAndWaitForNewWindow() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean clickAndWaitForNewWindow(long) throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean clickBottomRight() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean clickTopLeft() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean dragTo(com.android.uiautomator.core.UiObject, int) throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean dragTo(int, int, int) throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean exists();
method protected android.view.accessibility.AccessibilityNodeInfo findAccessibilityNodeInfo(long);
method public android.graphics.Rect getBounds() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public com.android.uiautomator.core.UiObject getChild(com.android.uiautomator.core.UiSelector) throws com.android.uiautomator.core.UiObjectNotFoundException;
method public int getChildCount() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public java.lang.String getClassName() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public java.lang.String getContentDescription() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public com.android.uiautomator.core.UiObject getFromParent(com.android.uiautomator.core.UiSelector) throws com.android.uiautomator.core.UiObjectNotFoundException;
method public java.lang.String getPackageName() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public final com.android.uiautomator.core.UiSelector getSelector();
method public java.lang.String getText() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public android.graphics.Rect getVisibleBounds() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean isCheckable() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean isChecked() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean isClickable() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean isEnabled() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean isFocusable() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean isFocused() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean isLongClickable() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean isScrollable() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean isSelected() throws com.android.uiautomator.core.UiObjectNotFoundException;
method public boolean longClick() throws com.android.uiautomator.core.UiObjectNotFoundE
没有合适的资源?快使用搜索试试~ 我知道了~
uiautomator开源代码
共63个文件
java:27个
mk:6个
txt:4个
5星 · 超过95%的资源 需积分: 9 37 下载量 54 浏览量
2015-07-08
13:17:30
上传
评论
收藏 87KB ZIP 举报
温馨提示
android自动化测试,uiautomator源码,可用于分析uiautomator工作原理,深入理解Uiautomator
资源推荐
资源详情
资源评论
收起资源包目录
uiautomator源码.zip (63个子文件)
uiautomator
Android.mk 4KB
utils
Android.mk 642B
DummyIME
.project 850B
Android.mk 795B
bin
AndroidManifest.xml 1KB
jarlist.cache 120B
res
classes
com
android
testing
dummyime
DummyIme.class 512B
BuildConfig.class 365B
ImePreferences.class 346B
AndroidManifest.xml 1KB
src
com
android
testing
dummyime
ImePreferences.java 808B
DummyIme.java 1014B
project.properties 562B
res
values
layout
xml
method.xml 1KB
drawable-ldpi
drawable-hdpi
drawable-mdpi
drawable-xhdpi
.classpath 475B
gen
com
android
testing
dummyime
BuildConfig.java 170B
assets
apicheck_msg_last.txt 185B
BuildConstants.java.in 236B
cmds
Android.mk 642B
uiautomator
Android.mk 1019B
src
com
android
commands
uiautomator
EventsCommand.java 2KB
DumpCommand.java 4KB
RunTestCommand.java 10KB
Launcher.java 4KB
uiautomator 4KB
api
0.txt 16KB
current.txt 16KB
apicheck_msg_current.txt 500B
testrunner
com
android
uiautomator
testrunner
UiAutomatorTestCase.java 3KB
IAutomationSupport.java 1KB
UiAutomatorInstrumentationTestRunner.java 3KB
InstrumentationAutomationSupport.java 1KB
core
InstrumentationUiAutomatorBridge.java 2KB
samples
SkeletonTest
Android.mk 943B
src
com
android
uiautomator
samples
skeleton
DemoTestCase.java 1KB
README 861B
core
com
android
uiautomator
core
InteractionController.java 29KB
AccessibilityNodeInfoHelper.java 2KB
UiSelector.java 37KB
UiObject.java 41KB
Tracer.java 9KB
UiDevice.java 29KB
QueryController.java 22KB
Configurator.java 8KB
UiScrollable.java 27KB
UiAutomatorBridge.java 5KB
UiWatcher.java 2KB
UiObjectNotFoundException.java 1KB
AccessibilityNodeInfoDumper.java 10KB
UiCollection.java 6KB
.git
HEAD 41B
rr-cache 59B
packed-refs 62B
index 5KB
svn 54B
objects 58B
description 62B
config 57B
info 55B
hooks 56B
logs 55B
refs 55B
MODULE_LICENSE_APACHE2 0B
共 63 条
- 1
资源评论
- jara_amber2017-01-23正好在研究自动化测试,看看源码应该也有帮助
Snail-Win
- 粉丝: 2
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Screenshot_20240427_031602.jpg
- 网页PDF_2024年04月26日 23-46-14_QQ浏览器网页保存_QQ浏览器转格式(6).docx
- 直接插入排序,冒泡排序,直接选择排序.zip
- 在排序2的基础上,再次对快排进行优化,其次增加快排非递归,归并排序,归并排序非递归版.zip
- 实现了7种排序算法.三种复杂度排序.三种nlogn复杂度排序(堆排序,归并排序,快速排序)一种线性复杂度的排序.zip
- 冒泡排序 直接选择排序 直接插入排序 随机快速排序 归并排序 堆排序.zip
- 课设-内部排序算法比较 包括冒泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、归并排序和堆排序.zip
- Python排序算法.zip
- C语言实现直接插入排序、希尔排序、选择排序、冒泡排序、堆排序、快速排序、归并排序、计数排序,并带图详解.zip
- 常用工具集参考用于图像等数据处理
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功