Commit Graph

218 Commits

Author SHA1 Message Date
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
Isaac Murchie
2043324473 Fix setWindow for Android 2014-03-31 10:59:11 -07:00
Jonathan Lipps
ec563bd2b8 add real xpath support for android
- relies on xpath support for ios pull request
- adds support under the '-real xpath' locator strategy
- deprecates the original xpath strategy, which will be replaced in 1.0
- because we have no way to get a dom fragment starting from an element,
  this strategy will only work for root-level queries
2014-03-28 10:29:48 -07:00
Jonathan Lipps
ff0dcd4292 deprecate use of json page source 2014-03-28 10:29:48 -07:00
Jonathan Lipps
36fbeca8c1 update android xml source to have class names as node names rather than just 'node' 2014-03-28 10:29:48 -07:00
jonahss
878497d63f accessibility_id -> accessibility id 2014-03-27 15:05:17 -07:00
Dylan Lacey
9a7594870c Added deprecation warning for tag name
Add deprecation warnings for class name, tag name locator strategies.

Deprecations warnings will now be thrown for:
* 'tag name' in the native context
* 'class name' in the native context
* 'class name' in the web context

'class_name' is now a valid locator strategy for checkValidLocStrat

Add test for new class name locator
rename createCommand createGetElementCommand
Adding unit tests for new exception throwing
Add test for incorrect UIA class names
2014-03-25 18:07:02 -07:00
Jonathan Lipps
5c265bc459 ensure that app is always force-stopped before uninstalling apk (fix #1757) 2014-03-25 13:28:28 -07:00
Jonathan Lipps
0b4554ce4e Merge pull request #2162 from bootstraponline/reset_from_cap
Enable fullReset and noReset from caps
2014-03-25 12:51:06 -07:00
bootstraponline
6995aa868f Set fullReset and noReset from caps 2014-03-25 15:47:36 -04:00
Jonathan Lipps
01395f1391 Merge pull request #2164 from sebv/log-colors
Avoiding passing LogNoColors/LogColors everywhere.
2014-03-25 12:21:38 -07:00
Jonathan Lipps
5bc344d74e Merge pull request #2170 from paymand/fast_reset_remote_apk
Make sure the app is always signed *before* getting the MD5 hash.
2014-03-25 11:46:40 -07:00
Payman Delshad
48a8110bcb Make sure the app is always signed *before* getting the MD5 hash. 2014-03-25 14:01:14 +01:00
sebv
34816eaa70 Avoiding passing LogNoColors/LogColors everywhere. 2014-03-25 11:34:34 +08:00
jonahss
273a008b95 add accessibility_id loc strat 2014-03-24 11:11:04 -07:00