aboutsummaryrefslogtreecommitdiff
path: root/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
AgeCommit message (Collapse)Author
2015-02-20rename package 'com.google.android' to 'io.appium'Kevin Jin
Change-Id: I2c7c96cd6a6971806e2ea7b06cd6c2c6666e4340
2015-02-10Build droiddriver as an Android library with GradleKevin Jin
Update minSdkVersion to 12 Add @TargetApi appropriatedly to fix lint errors Remove Eclipse files Change-Id: I661d3fd0e8b2517ae9ee4ba1e489031a8846130d
2014-06-16expose setAccessibilityNodeInfoCacheClearerKevin Jin
Change-Id: I39780422d66133738978b028252c960765490623
2014-06-12add Validator interface and DefaultAccessibilityValidatorKevin Jin
refactor for cleaner implementation Change-Id: I6ba13c5a46e444806f492bc7de365405fecae0d5
2014-06-05add AccessibilityDriver for testing AccessibilityKevin Jin
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
2014-04-21remove deps on GuavaKevin Jin
This is to simplify the build and deployment set-up for DroidDriver clients. Change-Id: I02238d8721d4d3a505a851138c40cb086d2ff11f
2014-03-10Wraps calls to UiAutomation API.Kevin Jin
Currently supports fail-fast if UiAutomation throws IllegalStateException. Change-Id: I1e6472d113a63b14d3615ef0084ea00d209f7e63
2014-02-25fix the hanging when the app is constantly busy (no idle)Kevin Jin
The main thread may not enter the idle state when animation is playing, for example, the ProgressBar. Do not call waitForIdleSync in UiAutomationDriver. Change-Id: If3c355c8aa302a076895fd62a6428874b24f5d39
2013-11-07consolidate XPath code into ByXPathKevin Jin
dumpUiElementTree now includes invisible UiElements Change-Id: Ib7e1346e4e16dac0a05bb911aec4389483daaf8a
2013-11-04Take snapshot of the underlying View or AccessibilityNodeInfo tree.Kevin Jin
This improves reliability. Add JavaDoc on order of getChildren. Change-Id: Iec4a4b693ef29eea1e067d538bab0078699e3d50
2013-10-04adjust steps in SwipeAction for faster executionKevin Jin
Change-Id: Id46e7343f26bd7880e66dd88975688011fb4d126
2013-08-08merge Screenshotter to UiDeviceKevin Jin
rename Abstract* to Base* move InputInjector to actions subpackage Change-Id: I3e119b4052bc032f2d09d630da51b38670239da9
2013-08-08add UiDevice for global actionsKevin Jin
add UiAutomationDriver#clearAccessibilityNodeInfoCache to work around an Accessibility bug Change-Id: I42db1d61944240520cc34f1ccb4537f572adecf9
2013-08-06clear internal data while refreshing rootandroid-sdk-4.4.2_r1.0.1android-sdk-4.4.2_r1android-cts-4.4_r4android-cts-4.4_r1android-4.4w_r1android-4.4_r1.2.0.1android-4.4_r1.2android-4.4_r1.1.0.1android-4.4_r1.1android-4.4_r1.0.1android-4.4_r1android-4.4_r0.9android-4.4_r0.8android-4.4_r0.7android-4.4.4_r2.0.1android-4.4.4_r2android-4.4.4_r1.0.1android-4.4.4_r1android-4.4.3_r1.1.0.1android-4.4.3_r1.1android-4.4.3_r1.0.1android-4.4.3_r1android-4.4.2_r2.0.1android-4.4.2_r2android-4.4.2_r1.0.1android-4.4.2_r1android-4.4.1_r1.0.1android-4.4.1_r1kitkat-wearkitkat-releasekitkat-mr2.2-releasekitkat-mr2.1-releasekitkat-mr2-releasekitkat-mr1.1-releasekitkat-mr1-releasekitkat-devkitkat-cts-releasekitkat-cts-devKevin Jin
wait for AccessibilityEvent after injecting events via UiAutomation Change-Id: I3d56e07cf2e7912a21de12d1a7bacd4f33e1bc5a
2013-07-18fix memory leak in Contexts UiElement cacheKevin Jin
UiElement values need to be WeakReference as well Change-Id: I31f6e833216154a3d3da7ebabc856d8ce8221631
2013-06-25Fixed issue with clicking on partially visible elements.Tony Wickham
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
2013-04-01if an attribute is boolean, add it only if trueKevin Jin
log dom xml to file because logcat has limit cache UiElements improve Logs Change-Id: Ib505046f9ddfe474d3ee30ad20fdbafcf5b73c2a
2013-03-18support xpathKevin Jin
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
2013-03-15fix run-time error: newProxy enforce interfaceKevin Jin
Change-Id: I8d5c6798fc90754553b90c4fab6aa51a75ce8334
2013-03-15introduce *Context to manage instances and dependencyKevin Jin
Change-Id: Ice759c2791a41df1b80dd06b6a339833cb4a7979