History log of /external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
988386cd9cc46bf5399846a414c09e0af48b1e5a 17-Jun-2014 Kevin Jin <kjin@google.com> expose setAccessibilityNodeInfoCacheClearer

Change-Id: I39780422d66133738978b028252c960765490623
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
74676fdd3c8a9e599eddd13bea56898674d9916a 12-Jun-2014 Kevin Jin <kjin@google.com> add Validator interface and DefaultAccessibilityValidator

refactor for cleaner implementation

Change-Id: I6ba13c5a46e444806f492bc7de365405fecae0d5
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
a738fe74f57f48dde2dd7a28479bab3f5441dadb 30-May-2014 Kevin Jin <kjin@google.com> add AccessibilityDriver for testing Accessibility

This is the first cut with known issues, e.g. needs to handle
click on EditText differently, etc. Thic cl sets up the architecture
of AccessibilityDriver; details will be filled in follow-up cls.

Change-Id: I2881b28075eba478a5aad9d7e945b5d55e78da89
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
b4e825291041d963c5bda0349638565949d999f6 16-May-2014 Jake Slack <jaslack@google.com> Roll back change to doScroll and add comment on why.

Change-Id: I3cbe232df929ca48bea81817a86782f9e1b684b4
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
17342a5115d7575d44a99fed9c7032e3ab316dcc 19-Apr-2014 Kevin Jin <kjin@google.com> remove deps on Guava

This is to simplify the build and deployment set-up
for DroidDriver clients.

Change-Id: I02238d8721d4d3a505a851138c40cb086d2ff11f
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
5c9d7f7e2db9c7dd52543e455abff0449e21a90b 04-Apr-2014 Kevin Jin <kjin@google.com> add selection-[start|end} attributes for TextView

Change-Id: I0fb7214437c450ffcccc7fb2ce94e32d7ec759dc
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
1d0f3c02fc3673159f2b6496823fd7b9228b7891 11-Mar-2014 Kevin Jin <kjin@google.com> Wraps calls to UiAutomation API.

Currently supports fail-fast if UiAutomation throws IllegalStateException.

Change-Id: I1e6472d113a63b14d3615ef0084ea00d209f7e63
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
d2abd0b28789a4a187343b0485e2b8e3fc9ef7ac 11-Nov-2013 Kevin Jin <kjin@google.com> add VisibleBounds for debugging

Change-Id: Ie8d73605ae7f2527d95f0e10d10b461089431a8d
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
c39b04e0e5d3962153cd860d1430857fe625da90 07-Nov-2013 Kevin Jin <kjin@google.com> consolidate XPath code into ByXPath
dumpUiElementTree now includes invisible UiElements

Change-Id: Ib7e1346e4e16dac0a05bb911aec4389483daaf8a
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
9c92f46280cf3943701e75349833c68b584992e2 06-Nov-2013 Kevin Jin <kjin@google.com> introduce AccessibilityEventScrollStepStrategy which is
a simple ScrollStepStrategy for UiAutomation and behaves like UiScrollable.
rename SentinelScroller to StepBasedScroller

Change-Id: I424140817d53c63165a66a5fffb5cae24c47288b
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
07401c162d1957a497ab08937f1188cc602f29c6 05-Nov-2013 Kevin Jin <kjin@google.com> Adjust the screenshot origin if the root view is not at (0,0).
Move comments on immutable UiElement attributes to the ctors.

Change-Id: I3936c11342511c0d843a5096e954d8f754f8e931
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
dfc316e1bfb37148c50947c46f5aaed5cb2e708a 30-Oct-2013 Kevin Jin <kjin@google.com> Take snapshot of the underlying View or AccessibilityNodeInfo tree.
This improves reliability.
Add JavaDoc on order of getChildren.

Change-Id: Iec4a4b693ef29eea1e067d538bab0078699e3d50
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
07faa170442ca86bb21e6076ff3309615be3b9a8 11-Oct-2013 Kevin Jin <kjin@google.com> catch unchecked exceptions in takeScreenshot (mainly OOME)

Change-Id: I7da816c6d4cf570b037ac0dcfb215858640ab1ab
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
6f160bb942de53103e4f4ed54acaafe2da629fcf 10-Aug-2013 Kevin Jin <kjin@google.com> remove getChild and getChildCount in UiElement
wait for sentinel in the corner cases when parent updates slowly

Change-Id: I9bbe36c6566dca8453ec12030d17703790ae9a25
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
f50519233078e65a056cff49d7b4989d57c3e750 09-Aug-2013 Kevin Jin <kjin@google.com> merge Screenshotter to UiDevice
rename Abstract* to Base*
move InputInjector to actions subpackage

Change-Id: I3e119b4052bc032f2d09d630da51b38670239da9
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
70e34108e0fc19277e642aef3b36b65b8e254899 08-Aug-2013 Kevin Jin <kjin@google.com> add UiDevice for global actions
add UiAutomationDriver#clearAccessibilityNodeInfoCache
to work around an Accessibility bug

Change-Id: I42db1d61944240520cc34f1ccb4537f572adecf9
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
21a0001e2426644dd68e6140b5873ebaeafcc3dc 06-Aug-2013 Kevin Jin <kjin@google.com> clear internal data while refreshing root
wait for AccessibilityEvent after injecting events
via UiAutomation

Change-Id: I3d56e07cf2e7912a21de12d1a7bacd4f33e1bc5a
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
9f81086b618594cb080adf33548edd0c999e388e 27-Jun-2013 Kevin Jin <kjin@google.com> add ViewElement#overrideClassName
for consistent results no matter which driver is used

Change-Id: I4f73bb194b2c652645622ba19c880fd539b74918
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
eb4e1921c193bb90eb0122ea7b0fd37cef60e8e1 27-Jun-2013 Kevin Jin <kjin@google.com> remove hack in UiAutomationElement.click:
The problem with Music app is in DrawerLayout impl, not DroidDriver.
Also fixed logging.

Change-Id: I870dc92680708e4f9c862faa0a0618d576a9b6d8
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
7dde4b200c490587409e0301e58261210e7a5896 19-Jun-2013 Tony Wickham <twickham@google.com> Fixed issue with clicking on partially visible elements.

Because UiElement.click() was performed on the center of elements, it didn't
work when the element's center was off screen. To fix this, I added a
getVisibleBounds() method to UiElement, which is implemented by ViewElement
and UiAutomationElement. This method is used in ClickAction to make sure that
the click is performed on the visible portion of the element.

DeviceUtils was added with getDisplayBounds().

Lastly, UiAutomationContext now holds Instrumentation instead of UiAutomation,
which also forced other files to change accordingly.
Change-Id: Ic2fd163a9759a0d95bd413b557976ee8a3d044f9
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
6316362de61fca700d7d5a455ad5c0ac9717c365 31-May-2013 Kevin Jin <kjin@google.com> add Screenshotter
move dumpDom from UiElement to DroidDriver
uniform toString in AbstractUiElement instead of subclasses

Change-Id: Ic78b812a206e73d23a47c94d9e9fe79a99c23d6c
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
0858f7292b7e7f32c25662d853c9d8ed8db1403f 28-May-2013 Kevin Jin <kjin@google.com> rename getRect -> getBounds
This follows uiautomatorviewer convention, making it
easier for DD users to use that tool.
Skip invisible children -- this is critical; e.g. ViewPager
keeps all invisible pages in memory. If users use
uiautomatorviewer to define matchers, the invisible nodes
may match surprisingly.

Change-Id: Idc4298bf18931978e2e9fd3c27e273f0e49c2f1f
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
c1a957dbec671deb711d2f69cf326dc97f339f66 22-May-2013 Kevin Jin <kjin@google.com> sync with UiAutomation.executeAndWaitForEvent
This solves the clicking DrawerLayout problem, but we need to
find the exact cause to solve the general problem.
Also add logging for Events

Change-Id: I0cba140021b676cb1d13c3fe3d319c2cca535ccd
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
0d7b67b43f83536708a6ae0330e739744049a48e 15-May-2013 Kevin Jin <kjin@google.com> expose getChild and getParent
remove Logs.wrap

Change-Id: I4d6d58b58fdb70fee168d1a357767683fae11490
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
f9c2a591497874769b87bf492a0666cf853e0ae5 09-May-2013 Kevin Jin <kjin@google.com> add longClick and doubleClick
add hasElement
add By.allOf and anyOf

Change-Id: I2456c3291d4a4398a413603830f809efe4a429cb
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
07704975f91b729d9be3a13d6a2d3dfdbbd7d426 29-Mar-2013 Kevin Jin <kjin@google.com> add all attributes to UiElement

Change-Id: I900747906851dd66c705b7cd0f4a9c65d4788cec
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
7b2b76255593f0ecfbe2d7f996712fefb391dfed 18-Mar-2013 Kevin Jin <kjin@google.com> support xpath
Build a virtual DOM tree that maps UiAutomationElement or
InstrumentationElement tree, respectively. Then use XPath
on the DOM tree.
TODO: filter insignificant nodes to make use of uiautomatorviewer
TODO: add all attrs

Change-Id: I2f9e289b77350f1e920a492ce438ebfd67882058
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
acde362144222864329ad64d7e746b717103c806 16-Mar-2013 Kevin Jin <kjin@google.com> fix run-time error: newProxy enforce interface

Change-Id: I8d5c6798fc90754553b90c4fab6aa51a75ce8334
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
52107c27b6b0f2b0fdfec995784c73746bb95c4e 15-Mar-2013 Kevin Jin <kjin@google.com> introduce *Context to manage instances and dependency

Change-Id: Ice759c2791a41df1b80dd06b6a339833cb4a7979
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
cddda72410c992a12db61cef26713b498e31fea4 14-Mar-2013 Thanh Le <thanhle@google.com> Add an instrumentation driver.

Move common code out of UiautomationDriver to AbstractDriver.

Change-Id: Icf749b76d82a4bc10ea00f4668e251adcc652ba6
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java
1194ec356a16f3c6dcf408289e36e42c149d6dc8 12-Mar-2013 Kevin Jin <kjin@google.com> rename uidriver to droiddriver

Change-Id: I1768103c3be816f96cce3350051db109dd77978d
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationElement.java