Commit Graph

665 Commits

Author SHA1 Message Date
Ruben Gonzalez Alonso be347e9257 Check updateStrings errors and improve parseLocalizableStrings in iOS 2014-05-13 09:59:24 +02:00
Ruben Gonzalez Alonso dbf5868c79 Add optional argument 'language' to getStrings in iOS 2014-05-13 09:58:06 +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
Jonathan Lipps e121810087 Merge pull request #2522 from rgonalo/ios-wrongid
Fix iOS callback problem after finding an element by a wrong id
2014-05-12 01:31:11 -07:00
Jonathan Lipps 53ed1c4425 Merge pull request #2512 from jlipps/master
don't allow webkitremotedebugger connection errors to crash appium
2014-05-12 01:28:34 -07:00
Ruben Gonzalez Alonso e73b60e354 Fix iOS callback problem after finding an element by a wrong id 2014-05-09 12:31:40 +02:00
bootstraponline 4dc4df3368 Restore API check for setCompressedLayoutHeirarchy 2014-05-08 12:41:58 -04:00
Jonathan Lipps 5885010f7e don't allow webkitremotedebugger connection errors to crash appium
and use regular node-style error handling
2014-05-08 17:01:19 +01: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 85bcbf5bb0 Merge pull request #2465 from imurchie/isaac-gestures
In swipe, translate milliseconds to seconds
2014-05-02 18:06:12 -07:00
Isaac Murchie 320162cd05 Shift milliseconds to seconds in swipe 2014-05-02 18:02:34 -07:00
Jonathan Lipps 31c9000bd2 enable launchTimeout cap to be an obj as well 2014-05-02 15:56:17 -07:00
Jonathan Lipps af5d3a353a Merge pull request #2460 from imurchie/isaac-contexts-fix
Fix iOS context switching
2014-05-02 15:01:36 -07:00
Isaac Murchie c6b679c437 Fix context change 2014-05-02 14:19:13 -07:00
Jonathan Lipps 8272680dc4 make sure ios native swipe commands aren't run on webview elements (fix #2383) 2014-05-02 10:49:12 -07:00
Jonathan Lipps e23f58ba96 make sure we don't convert proxy cap into a string 2014-05-01 16:57:32 -07:00
Jonathan Lipps 8a5b698e28 bring grunt lint into parity with jshintrc, and fix lint issues 2014-05-01 12:09:17 -07:00
Jonathan Lipps cfd1e77dc7 Merge pull request #2445 from imurchie/isaac-contexts-beta
Allow multiple calls to get contexts in iOS
2014-05-01 10:47:13 -07:00
Jonathan Lipps c58418e309 Merge pull request #2441 from Jonahss/autoAcceptAlert
Auto accept alert
2014-05-01 10:45:52 -07:00
jonahss 8fbb75d644 fixed #2400 - autoAcceptAlerts. Added tests 2014-04-30 19:50:30 -07:00
Isaac Murchie eebe52a340 Allow multiple calls to get contexts in iOS 2014-04-30 11:03:20 -07:00
Jonathan Lipps d0537b687b Merge pull request #2444 from imurchie/isaac-contexts-beta
Fix iOS context switch
2014-04-30 10:15:43 -07:00
labuser 47e30c762c have safari native tap position 40px lower on the screen
fix for https://github.com/appium/appium/issues/2273 /
https://github.com/appium/appium/pull/2403 /

Conflicts:
	lib/devices/ios/ios.js
2014-04-30 10:13:09 -07:00
Isaac Murchie d6b21a6da9 Fix iOS context switch 2014-04-30 09:07:45 -07:00
bootstraponline fc35a190ca Improve DumpWindowHierarchy.java 2014-04-28 18:28:00 -04:00
sebv 1df406033e Using Async.queue to queue commands 2014-04-28 13:01:04 -07:00
Fan Bai d9947dad35 Fix issue when iterating the entries
Every time you call entries.pop(), the entries.length minus 1.
We should check entries.length>0 as the end of loop.

This request is same as pull request #2426. fix a typo error.
2014-04-28 09:36:59 -07:00
Jonathan Lipps 07204d5731 fix latent javascript replace-with-'' bug 2014-04-24 17:28:23 -07:00
Jonathan Lipps 8f984929bb fix async bug (fix #2382) 2014-04-24 12:04:00 -07:00
Ruben Gonzalez Alonso 6e326a29af Fix Appium crash when fails getting source page 2014-04-23 09:44:05 +02:00
Jonathan Lipps 9fd48fb9f8 get rid of native tag name in favor of class name 2014-04-18 11:31:49 -07:00