bootstraponline
6844140adf
uiautomator returns false on successful click.
...
To work around this bug, always return true.
2013-09-04 13:55:31 -04:00
bootstraponline
2e821dfb15
mobile: getStrings
2013-09-04 13:30:39 -04:00
Jonathan Lipps
83bef64566
Merge pull request #1091 from bootstraponline/compressed
...
mobile :enableCompressedLayoutHeirarchy
2013-09-04 10:21:23 -07:00
bootstraponline
45adb70313
Request compressed xml as device cap
2013-09-04 12:30:30 -04:00
bootstraponline
ac39358069
Remove methods for Appium 1.0
...
https://github.com/appium/appium/issues/1076
Revert "Fix #776 "
This reverts commit 3db7a09247 .
Revert "Add search strings.xml value"
This reverts commit fb95cbd953 .
Revert "Add mobile resolveId"
This reverts commit 6cb50d8edf .
Revert "Add search id"
This reverts commit 55c74dbf8d .
2013-09-03 19:24:54 -04:00
bootstraponline
28a76d4b7a
Revert setCompressedLayoutHeirarchy
2013-09-03 09:40:01 -04:00
bootstraponline
62135c3a98
Merge pull request #1068 from angerborn/improve_scroll
...
Make scrollTo not only look for textview elements
2013-08-30 08:44:58 -07:00
Payman Delshad
4a18323e4d
get_attribute() should return a string value for seemingly boolean attributes.
2013-08-30 17:10:02 +02:00
Felix Angerborn
e5ab9f4539
Make scrollTo not only look for textview elements
2013-08-30 13:25:10 +02:00
bootstraponline
2c969c50c3
Restore strings.xml support on API 18
2013-08-29 16:15:30 -04:00
bootstraponline
bf08e60d24
Always setCompressedLayoutHeirarchy
...
Classes that are not useful for uiautomator, such as action_bar_overlay_layout,
no longer appear in source output.
2013-08-29 14:48:22 -04:00
bootstraponline
0394c3f194
Add maven-android-sdk-deployer troubleshooting steps
2013-08-29 10:11:33 -04:00
Felix Angerborn
dad46bea4f
Made previously implemented GetSize available for android
2013-08-29 14:43:53 +02:00
bootstraponline
2aca651647
Explain why text falls through to name
2013-08-28 13:07:39 -04:00
Felix Angerborn
df5552c612
Use resource id if API >= 18 else use the old find by id
2013-08-28 17:06:19 +02:00
Felix Angerborn
5cdc090cc2
Now possible to use resource-id for finding elements.
2013-08-28 16:21:06 +02:00
Payman Delshad
f148d6afef
Support for drag/dragTo functions from Android API level 18.
2013-08-28 14:20:16 +02:00
Eric Plaster
2500cedf35
Dynamic strategy now benifits from the classmap aliases.
2013-08-19 16:41:24 -05:00
Chris Williams
1b18834374
Change Android Bootstrap README to include SDK version flag for compiling with mvn
...
If version isn't specified, Maven tries to compile with an older version of the Android SDK.
2013-07-31 15:00:28 -04:00
bootstraponline
4efdac2ffb
Use uiautomator screenshot
...
uiautomator has built in support for taking screenshots. There's no need for an
external jar.
2013-07-25 13:27:40 -04:00
bootstraponline
325863173e
Use uiautomator pressKeyCode
...
The adb solution doesn't wait until the key has finished which causes problems
in tests. uiautomator's built in pressKeyCode is much better.
2013-07-24 17:44:44 -04:00
bootstraponline
657a16f187
Dump without disconnecting the current session
...
The old way of viewing the page source broke the current uiautomator session. A
lot of effort went into detecting a failed session and then restarting. It turns
out we can access the source from within a session.
2013-07-24 17:29:43 -04:00
bootstraponline
81ca4313da
Use pressBack
...
pressBack blocks until back is pressed. This is much better than the old
implementation which returns immediately.
2013-07-24 17:07:16 -04:00
bootstraponline
8e6df495d4
Improve mobile find scroll
...
Mobile find scroll no longer fails if nothing is scrollable on the page. Instead
if there's a match, then that match is returned even if we didn't have to
scroll.
Fix NPE in error reporting. The error message may be null.
Fix spacing
2013-07-20 09:07:05 -04:00
Zhou
787d4e2bd4
Fix Android XPath issue.
2013-07-10 19:39:11 +08:00
Zhou
68b787601a
Fix the Android XPath strings issue.
...
Now it could work with XPath: android.view.View and android.widget.AdapterView.
2013-07-10 19:13:43 +08:00
Eric Plaster
d2282486af
Updated Exception handling in scrollto for android
2013-07-03 10:12:44 -05:00
Adriano Bonat
e21bfb97a7
implemented touch long press for Android.
2013-06-29 17:29:31 -03:00
bootstraponline
260fc42ea1
Fix strings for on device APK
2013-06-26 10:32:07 -04:00
bootstraponline
3db7a09247
Fix #776
2013-06-18 16:28:26 -04:00
bootstraponline
fb95cbd953
Add search strings.xml value
...
Useful for finding all keys that contain a common string.
mobile :searchValue, 'preferences_delete'
2013-06-17 13:40:16 -04:00
bootstraponline
6cb50d8edf
Add mobile resolveId
...
Scroll requires the text in advance so resolveId is required. Ruby example:
mobile :resolveId, 'my_id'
2013-06-17 12:49:02 -04:00
bootstraponline
55c74dbf8d
Add search id
...
Ruby example of finding all strings.xml ids that contain the value feedback.
mobile :searchId, 'feedback'
2013-06-17 11:52:12 -04:00
rorp
47c3cbf3fb
Fixed a typo in GetDeviceSize Android handler
2013-06-16 15:30:14 -07:00
bootstraponline
6b9419e3f5
Use the same error message on iOS and Android
...
Fixes #689
2013-06-05 16:42:57 -04:00
bootstraponline
df92440068
Merge pull request #703 from bootstraponline/675
...
Fix java.lang.IllegalStateException: UiAutomationService not connected.
2013-06-04 08:11:35 -07:00
Jonathan Lipps
d88a0ea169
java style fixes
2013-06-04 07:56:56 -07:00
bootstraponline
4a2b957ae5
Fix java.lang.IllegalStateException: UiAutomationService not connected.
...
Fixes #675
2013-06-04 10:55:41 -04:00
Jonathan Lipps
4f2564a165
make sure device wakes up before trying to run test ( fix #490 )
2013-06-03 15:20:44 -07:00
bootstraponline
cc776ed9f5
Use adb push and have server load on startup
2013-06-03 11:12:16 -04:00
Eric Plaster
2e6e1c58c7
Updated to use Timer
2013-05-31 20:04:06 -04:00
bootstraponline
839729d177
Start moving find by id to server
2013-05-31 20:04:05 -04:00
Jonathan Lipps
59dab35265
Merge pull request #679 from bootstraponline/fix_webview
...
WebView is not a widget
2013-05-30 17:01:07 -07:00
bootstraponline
745c170bdd
WebView is not a widget
2013-05-30 18:57:21 -04:00
Jonathan Lipps
c8d74fca57
make exception check broader
2013-05-30 08:34:34 -07:00
Jonathan Lipps
f84cd0b08f
add getLocation for android
2013-05-29 18:55:19 -07:00
Eric Plaster
5d7cc06ae8
Added changes to notify websocket listeners of alert dialogs.
...
One thing to keep in mind: iOS and Android treat dialogs differently. iOS "system" dialogs can be triggered from the application under test as well as from external sources (the system). However, Android treats dialogs as any other window. So, to make this work, the bootstrap app looks for windows with the package name of "com.android.systemui". These are dialogs that the system has instantiated, but not the app.
So, for example, if we had the same application written on both platforms, and they both had a login screen, and you click on the login button without putting in a username. On iOS, you would be notified if they used a standard system dialog, and you would not be notified on Android. However, if the system put up a low battery dialog, it would be detected on both systems.
So... The main reason for implementing this is to stop failing tests from unintentional dialogs appearing during an overnight test.
Updated call signiture to instruments.
2013-05-28 13:11:36 -05:00
bootstraponline
c8644f6152
Return JSON
...
Fixes mobile find all search
2013-05-24 11:44:07 -04:00
bootstraponline
e3ff8f360d
Fix Android scroll_to
2013-05-24 10:30:41 -04:00
bootstraponline
ea3450e7f7
Fix NPE
...
Fixes https://github.com/appium/appium/issues/628
2013-05-22 15:34:39 -04:00