Payman Delshad
62fa2816b0
Allow for whitespace in app path.
2014-04-17 15:33:11 +02:00
Isaac Murchie
e70f870c27
Allow android multi touch actions without an element
2014-04-13 00:49:12 -04:00
shyam
8cd6d2a382
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 17:41:47 -04:00
Isaac Murchie
3b71532826
Fix bugs in action handling
2014-04-10 13:36:50 -04:00
Jonathan Lipps
6af56cb283
use dumpWindowHierarchy for xml page source as well since it's more reliable
2014-04-09 16:11:50 -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
bootstraponline
75faec10e5
Fix EXDEV error when using renameSync to move
2014-03-24 09:42:43 -04:00
sebv
cf783c5c82
Revert "Avoiding passing LogNoColors/LogColors everywhere."
...
This reverts commit bdb63583de .
2014-03-23 11:33:19 +08:00
sebv
bdb63583de
Avoiding passing LogNoColors/LogColors everywhere.
2014-03-22 20:47:31 +08:00
jonahss
ae670caf88
Fixed a bug where requesting an invalid locator strategy on android caused uiautomator to die unexpectedly. Added a test
2014-03-21 15:46:25 -07:00
jonahss
6b0e9708ab
add -ios_uiautomation locator strategy
2014-03-21 15:44:09 -07:00
Jonathan Lipps
45c2bd346c
Merge pull request #2117 from paymand/remove_fast_clear
...
Removed 'fastClear' capability.
2014-03-21 09:37:55 -07:00
bootstraponline
fb71904570
Format java according to bootstrap/.settings
2014-03-21 11:14:49 -04:00
bootstraponline
17e3fc3edb
Prevent leaking state across executions
2014-03-21 11:05:50 -04:00
bootstraponline
a259762835
Merge pull request #2116 from paymand/2085
...
Fixup for #2085 . set isElement to false if getElement() throws.
2014-03-21 10:14:54 -04:00
Payman Delshad
a9d1e74f63
Removed 'fastClear' capability.
...
No need for 'fastClear' anymore. Current modes are:
1. fullReset: Reinstall the app.
2. noReset: Don't reinstall, keep app data.
3. fastReset (!fullReset && !noReset): Don't reinstall the app, but clear the app data (pm clear).
2014-03-21 13:02:43 +01:00
Payman Delshad
60dae83db1
Fixup for #2085 . set isElement to false if getElement() throws.
2014-03-21 11:30:52 +01:00
Jonathan Lipps
d0456ff938
Merge pull request #2099 from rgonalo/master
...
Allow to have more than one emulator started
2014-03-20 16:20:05 -07:00
Ruben Gonzalez Alonso
b47154f89e
Wait for emulator is ready after launching it
2014-03-20 16:39:38 +01:00
Ruben Gonzalez Alonso
872cf19c43
Allow to have more than one emulator started
2014-03-20 16:39:30 +01:00
Isaac Murchie
f4f730e1ee
Use contexts for switching native/web
2014-03-19 21:13:47 -07:00
bootstraponline
b1f8021737
temp.path doesn't create the file
2014-03-19 14:21:38 -04:00
Jonathan Lipps
de567ae5da
make sure the tempdir exists before trying to write aligned apk to it
2014-03-19 10:52:01 -07:00