Commit Graph

93 Commits

Author SHA1 Message Date
Jonathan Lipps a2f2829aec fall back to adb.startApp if selendroid's instrumentation doesn't launch it in 1.8s 2013-07-10 10:40:33 -07: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
bootstraponline 1c000d2c48 Fix app starting logic
Fix #862
2013-07-08 10:06:01 -04:00
bootstraponline 39e271cda4 Merge pull request #849 from mutualmobile/android_scrollTo_support
Added scrollTo support for Android.
2013-07-03 08:20:41 -07:00
Eric Plaster d2282486af Updated Exception handling in scrollto for android 2013-07-03 10:12:44 -05:00
Jonathan Lipps 08350de22c make sure to discard series info here so it doesn't get passed on 2013-07-02 16:11:45 -07:00
Jonathan Lipps a309fc6c5b Merge pull request #833 from jlipps/chrome
Chrome automation support for Android
2013-07-01 18:22:12 -07:00
Jonathan Lipps 3f1ad9bda8 clean up callback structure 2013-07-01 17:44:56 -07:00
Jonathan Lipps ea650a45f6 send commands to chrome as javascript atoms via remote debugger 2013-07-01 17:33:04 -07:00
bootstraponline 47314964ca Use === not == 2013-07-01 20:32:07 -04:00
bootstraponline 8f42d70994 Fix #832
Allow fully qualified activities

Fix selendroid
2013-06-30 16:05:01 -04:00
Adriano Bonat e21bfb97a7 implemented touch long press for Android. 2013-06-29 17:29:31 -03:00
bootstraponline ba7e80e373 Fix large JSON 2013-06-26 20:22:16 -04:00
bootstraponline 260fc42ea1 Fix strings for on device APK 2013-06-26 10:32:07 -04:00
Jonathan Lipps 68be1b556b Merge pull request #812 from bootstraponline/keystore_md5
Keystore md5
2013-06-25 15:46:50 -07:00
bootstraponline c2faa91e94 Keystore md5 2013-06-25 17:03:30 -04:00
Jonathan Lipps d3f1d5c149 fix some android start activity issues 2013-06-25 10:27:59 -07:00
bootstraponline 93935aa209 jarsigner 2013-06-24 20:07:31 -04:00
bootstraponline daf8ba84ba Set max buffer to Math.pow(2,19) 2013-06-19 13:03:23 -04:00
bootstraponline 9f91c7df41 Fix selendroid start
Wrong:
adb shell am instrument -e main_activity
'com.thehomedepot..Foundation.Controller.SetServicesActivity'
com.thehomedepot.selendroid/io.selendroid.ServerInstrumentation

Fixed:
adb shell am instrument -e main_activity
'com.thehomedepot.Foundation.Controller.SetServicesActivity'
com.thehomedepot.selendroid/io.selendroid.ServerInstrumentation
2013-06-19 12:52:03 -04:00
bootstraponline d43cf58106 Fix activity detection
The old logic was completely broken.

The pkg must not be prepended to the activity. This is invalid.
shell am start -n
com.thehomedepot/com.thehomedepot..Foundation.Controller.SetServicesActivity

The activity must not have the first bit chopped off. This is invalid:
Foundation.Controller.SetServicesActivity

The correct command is adb shell am start -n
com.thehomedepot/.Foundation.Controller.SetServicesActivity

Notice there's no prepended activity and that the string after the / starts with
a "."

Fixes #782
2013-06-18 18:06:32 -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
Jonathan Lipps 1c789c2979 use cross-platform path.resolve in adb.js 2013-06-12 15:04:59 -04:00
Jonathan Lipps 49a93db50d selendroid needs to use this.adbCmd 2013-06-07 13:45:12 -07:00
bootstraponline 92f40c07d1 Quote adb push path 2013-06-07 11:03:03 -04:00
bootstraponline 38e98a64cf Use adbCmd 2013-06-07 08:29:11 -04:00
Jonathan Lipps d3fc5a081d update appium to reflect changes in new selendroid 2013-06-06 09:39:13 -07:00
bootstraponline e422d23435 Spawn breaks with quotes and exec breaks without them 2013-06-06 10:52:07 -04:00
bootstraponline 404eeda86c Quote make strings command 2013-06-06 10:39:41 -04:00
bootstraponline bc34c15ad6 Quote binary location to fix space in path
Log runBootstrap command
2013-06-06 10:39:41 -04:00
bootstraponline 6b9419e3f5 Use the same error message on iOS and Android
Fixes #689
2013-06-05 16:42:57 -04:00
bootstraponline c4568f809a Wait for activity takes an array
Fix #691
2013-06-05 16:02:33 -04:00
Jonathan Lipps ab9ad3eed3 make noReset sound and act like what's intended (fix #651) 2013-06-04 15:02:54 -07:00
Jonathan Lipps 92682e41e4 resend last command for adb, not for android (fix #705) 2013-06-04 13:16:24 -07: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 e58b0083a3 factor out android telnet commands for reusability 2013-06-03 16:18:35 -07:00
Jonathan Lipps af7759ee58 refactor emulator port retrieval and nodify penguinho code 2013-06-03 15:57:54 -07:00
Jonathan Lipps 4f2564a165 make sure device wakes up before trying to run test (fix #490) 2013-06-03 15:20:44 -07:00
Jonathan Lipps e66113bfe6 make sure androidmanifest.xml.apk is writable (fix #690) 2013-06-03 14:28:33 -07:00
Jonathan Lipps 5581880d15 make sure app is still uninstalled when not using fast reset (fix #687) 2013-06-03 13:54:27 -07:00
Jonathan Lipps 9e846f3379 clean up adb restart code 2013-06-03 11:26:45 -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