Commit Graph

266 Commits

Author SHA1 Message Date
sebv 06d60fc9ee extracted appium-adb npm package 2014-06-03 12:59:15 +08:00
sebv 01a5cfcbb6 bugfixes / test fixes (fixing ci) 2014-05-31 22:13:51 +08:00
Jonathan Lipps 47008fe9e2 ensure we don't get extraneous bits when finding activity
fix #2507
2014-05-30 16:57:16 -07:00
Jonathan Lipps c0ef7d417e Merge pull request #2712 from bootstraponline/dedupe_complex_find
Dedupe complex find
2014-05-30 09:43:21 -07:00
bootstraponline 8e9f002e9d Add dedupe for complex_find 2014-05-30 10:17:32 -04:00
Jonathan Lipps 45d6dd8b5a Merge pull request #2703 from imurchie/isaac-md5
Handle error in md5 calculation
2014-05-29 14:07:50 -07:00
Isaac Murchie 45b514086c Handle error in md5 calculation 2014-05-29 14:03:59 -07:00
Jonathan Lipps fa503817fa allow setting of tmp dir appium uses via --tmp flag 2014-05-29 13:33:20 -07:00
Jonathan Lipps 399adf2b0c Merge pull request #2673 from paymand/long_press_keycode
Renamed keyevent to press_keycode and added long_press_keycode.
2014-05-28 12:30:04 -07:00
Payman Delshad 8b1ec9d92c Renamed keyevent to press_keycode and added long_press_keycode. 2014-05-28 21:28:41 +02:00
Jonathan Lipps e433bbc315 allow automation of chrome beta 2014-05-27 18:25:06 -07:00
bootstraponline 05bc569b1d Update complex find with new uiautomator constants 2014-05-27 14:27:40 -04:00
Jonah 6ca80b0287 Merge pull request #2657 from bootstraponline/npe_fix
Fix DumpWindowHierarchy NullPointerException
2014-05-23 13:27:14 -07:00
bootstraponline 3baa5f53dc Fix DumpWindowHierarchy NullPointerException 2014-05-23 16:26:26 -04:00
bootstraponline ce6b4f0867 uninstall before install remote apk 2014-05-23 13:31:19 -04:00
sebv 155004a709 fixed chrome sessionId bug 2014-05-22 14:44:41 +08:00
bootstraponline f9266b5dfe Check exists before read file 2014-05-20 12:27:21 -04:00
Isaac Murchie fc595d1557 Allow String keycode 2014-05-16 10:18:09 -07:00
Jonathan Lipps ddd5c6849c fix selendroid location 2014-05-15 10:17:44 +01:00
Isaac Murchie 5ae62f983e Fix touch actions below API 18 2014-05-14 13:13:31 -07:00
bootstraponline 1b255378ab Discard NotImportantViews only for XPath & DumpWindow
When setCompressedLayoutHeirarchy is enabled, views not marked as important to accessibility are discarded. This must be enabled for XPath and page source to work. If it's left enabled then it's not possible to find unimportant elements via other locator strategies.

If discard is toggled back to false at the end of an XPath request it will break XPath. To safely set discard to false, the code waits for the next find request that doesn't use XPath.

Thanks @paymand for figuring out how to make this work!
2014-05-13 12:48:37 -04:00
Ruben Gonzalez Alonso b6428069fe Use --adb option with chrome tests 2014-05-13 15:45:16 +02:00
Ruben Gonzalez Alonso 6ee18da679 Fix error launching avd 2014-05-13 15:45:15 +02:00
bootstraponline af89c29947 Merge pull request #2545 from rgonalo/getStrings
Get localized strings in Android, Selendroid and iOS
2014-05-13 06:40:46 -07:00
sebv 877b0db1c6 fixing jscs styling error 2014-05-13 19:03:17 +08:00
Ruben Gonzalez Alonso be347e9257 Check updateStrings errors and improve parseLocalizableStrings in iOS 2014-05-13 09:59:24 +02:00
Ruben Gonzalez Alonso 858b4a30e9 Add optional argument 'language' to getStrings in Android and Selendroid 2014-05-13 09:58:05 +02:00
Ruben Gonzalez Alonso 2f0298463b Fix error removing old strings file from windows 2014-05-13 09:58:04 +02:00
Ruben Gonzalez Alonso 72d0237ab9 Extract strings from apk and add getStrings method on selendroid 2014-05-13 09:58:03 +02:00
Ruben Gonzalez Alonso 35cfc47e1e Extract strings from apk corresponding to device language instead of default to be used with ID location strategy in Android 2014-05-13 09:58:03 +02:00
bootstraponline 37b4b667f0 Always setCompressedLayoutHeirarchy 2014-05-12 15:14:31 -04:00
Jonathan Lipps a69c0478e6 Merge pull request #2529 from penguinho/android-language
Adding language and country support to Android
2014-05-12 08:18:38 -07:00
Dan Cuellar 5401b42d3e Adding language and country support to Android 2014-05-12 07:55:22 -07:00
Jonathan Lipps 802ab048b6 clearer activity error message 2014-05-12 10:44:12 +01:00
bootstraponline 4dc4df3368 Restore API check for setCompressedLayoutHeirarchy 2014-05-08 12:41:58 -04:00
Jonathan Lipps 6ca3708869 Merge pull request #2491 from imurchie/isaac-gesture-issues
Fix defaults for swipe duration
2014-05-08 08:09:15 -07:00
bootstraponline 22993148b5 Enable compress xml by default for Android XPath 2014-05-08 09:48:49 -04:00
Jonathan Lipps 0704d6a83c Merge pull request #2503 from imurchie/isaac-unicode
Allow for encoding of non-ASCII text in Android
2014-05-08 05:50:45 -07:00
Isaac Murchie 2bcc775b01 Allow for encoding of non-ASCII text in Android 2014-05-07 15:55:56 -07:00
bootstraponline 44f92faf50 Output useful information in logger.info 2014-05-07 17:03:42 -04:00
bootstraponline 8f73521d9d Fix double space in log message when not is falsey 2014-05-07 15:41:10 -04:00
bootstraponline 74a233b6e8 Fix compressXml
The old compressXml did not presist across uiautomator sessions.
By requesting 'DumpWindowHierarchyCompressed' it ensures the result is
always compressed, even if the server had been restarted.

For some reason if compressXml is disabled then the xpath index on Android
will return the wrong result.
2014-05-07 15:23:18 -04:00
Isaac Murchie 19d6b77f0e Fix defaults for swipe duration 2014-05-06 15:38:49 -07:00
Jonathan Lipps 9ce331f6e8 Merge pull request #2483 from bootstraponline/clean_up
Clean up
2014-05-06 06:36:05 -07:00
Fan Bai 072b5fab53 Fix issue - failed to pass multi params in avdArgs
when passing multiple params in avdArgs, for instance, --avd-args="-port 5564", transfer the value string into array to avoid failures when spawning a new process
2014-05-06 14:17:44 +01:00
Jonathan Lipps d8d0a26706 fix lint errors 2014-05-06 14:15:39 +01:00
bootstraponline bda81ba78e Remove dead code 2014-05-05 22:26:59 -04:00
Jonathan Lipps 99dd13c043 fix up selendroid tests 2014-05-02 18:31:50 -07:00
Jonathan Lipps 8a5b698e28 bring grunt lint into parity with jshintrc, and fix lint issues 2014-05-01 12:09:17 -07:00
bootstraponline fc35a190ca Improve DumpWindowHierarchy.java 2014-04-28 18:28:00 -04:00