Commit Graph

232 Commits

Author SHA1 Message Date
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
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
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
Payman Delshad
abf26a8fb3 Allow for whitespace in app path. 2014-04-17 11:16:44 -07:00
Isaac Murchie
ec28b95468 Allow android multi touch actions without an element 2014-04-14 11:04:25 -07:00
shyam
aef110413b ApkSigning when using custome keystore fails
ApkSigning fails when using a custom keystore. Looking into the logs I realized that the options to the jarsigner command are not in the right order. Once I made this change the signing went ahead as expected.
2014-04-11 14:47:14 -07:00
Jonathan Lipps
55100ce28b camel-case device-ready-timeout (fix #2268) 2014-04-10 15:41:26 -07:00
Jonathan Lipps
3583347584 camel-case app-(wait-)activity 2014-04-10 15:38:24 -07:00
Jonathan Lipps
318617819f change app-package and app-wait-package to appPackage and appWaitPackage 2014-04-10 15:20:24 -07:00
Isaac Murchie
8e89c749ef Fix bugs in action handling 2014-04-10 10:59:50 -07:00
Jonathan Lipps
b78c8ddfe9 remove 'mobile: getCommandTimeout' 2014-04-09 18:45:25 -07:00
Jonathan Lipps
0312620d09 remove 'mobile: localScreenshot' 2014-04-09 18:43:02 -07:00
Jonathan Lipps
f1ab0c7a73 remove 'mobile: findElementNameContains' 2014-04-09 18:41:02 -07:00
Jonathan Lipps
2871411d90 remove 'mobile: waitForPageLoad' 2014-04-09 18:40:03 -07:00
Jonathan Lipps
afe4674f4a remove 'mobile: fireEvent' 2014-04-09 18:38:23 -07:00
Jonathan Lipps
e2c6a9919b remove json page source in favor of xml
and fix a bug in android bootstrap's xpath that snuck in last time
2014-04-09 18:07:02 -07:00
Jonathan Lipps
958aac7e09 remove old xpath support and promote -real xpath to xpath 2014-04-09 16:15:54 -07:00
Jonathan Lipps
bbcfdb829c use dumpWindowHierarchy for xml page source as well since it's more reliable 2014-04-09 16:12:47 -07:00
Jonathan Lipps
6725332707 don't use windowHandles for switching to/from webview 2014-04-08 12:02:44 -07:00
Jonathan Lipps
463e692c7b Merge pull request #2270 from imurchie/isaac-touch
Add touch and multitouch actions for Android
2014-04-07 14:19:00 -07:00
Isaac Murchie
0df0d2b2dc Add touch and multitouch actions for Android 2014-04-07 12:13:16 -07:00
Jonathan Lipps
e1fe06ceb5 inner cbs need proper scope (cc @sebv) 2014-04-07 11:25:11 -07:00
Jonathan Lipps
645cc62d61 if installing a remote apk fails, uninstall/rm and retry (fix #2188) 2014-04-04 15:43:43 -07:00
Jonathan Lipps
5147cbd58c add avdLaunchTimeout/avdReadyTimeout (fix #2247)
and retry launching emulator once if it doesn't connect (fix #1820)
2014-04-04 14:54:06 -07:00
Jonathan Lipps
f4b25accef make sure binaries found using which/where get added to adb.inaries (fix #2237) 2014-04-04 12:06:58 -07:00
sebv
4702906186 allowing app paths relative to appium root 2014-04-05 02:11:45 +08:00
Jonathan Lipps
ce8adcfe6a update testsuite to use 1.0-style caps
- and fix various issues with specific tests
2014-04-03 18:55:49 -07:00
Jonathan Lipps
1363f7d248 Merge pull request #2228 from Jonahss/androidLocStrat
Android loc strat
2014-04-02 14:37:03 -07:00
jonahss
ff30a5288b -android uiautomator locator strategy 2014-04-02 14:27:49 -07:00
Jonathan Lipps
17bef33b01 Merge pull request #2224 from imurchie/isaac-touch
First pass at iOS touch for Appium 1.0
2014-04-01 18:09:35 -07:00
Dylan Lacey
148336fc04 Use the new capabilities throughout the codebase.
Every entry in `Capabilities.capabilityConversions` is now used to
convert capabilities into the args array.

Change version to versionVersion.
Change device to platformName
Stop aliasing platformVersion to version in Capabilities.js
2014-04-01 16:42:28 -07:00
Vitalii Grygoruk
b70dc24eec Mised toLowerCase for iOS.js (+2 squashed commits)
Squashed commits:
[fba9410] Making sure toLowerCase() is still used for chrome.js
[0cbfa68] We don't need toLowerCas() for app argument, as it is used for passing CFBundleIdentifier, fixes #2131
2014-04-01 09:37:49 +02:00
Isaac Murchie
016b8c6559 First pass at iOS touch for Appium 1.0 2014-03-31 14:00:44 -07:00