Jonathan Lipps
8a5b698e28
bring grunt lint into parity with jshintrc, and fix lint issues
2014-05-01 12:09:17 -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
Isaac Murchie
ec28b95468
Allow android multi touch actions without an element
2014-04-14 11:04:25 -07:00
Isaac Murchie
8e89c749ef
Fix bugs in action handling
2014-04-10 10:59:50 -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
Isaac Murchie
0df0d2b2dc
Add touch and multitouch actions for Android
2014-04-07 12:13:16 -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
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
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
jonahss
273a008b95
add accessibility_id loc strat
2014-03-24 11:11:04 -07: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
f14c5c9108
use adb's built-in isAppInstalled rather than one that doesn't work
2014-03-17 15:10:58 -07:00
bootstraponline
6494df98d6
Android mobile push & pull
...
Ruby examples:
mobile :pushFile, data: Base64.encode64('test ruby'), path: '/data/local/tmp/test.txt'
pull_result = mobile :pullFile, path: '/data/local/tmp/test.txt'
Base64.decode64 pull_result
2014-03-14 15:09:13 -04:00
Payman Delshad
113fe5ce10
Added support for touch{Down|Up|Move} on Android.
2014-03-07 15:10:52 +01:00
Jonathan Lipps
b058732ebb
port android basic config
2014-03-03 16:40:16 -08:00
Jonathan Lipps
f0193f3e26
Merge pull request #1970 from bootstraponline/source_fix
...
Fix Android page source
2014-02-27 13:20:26 -08:00
bootstraponline
cce7ee0126
Android longClick x, y, and duration support
...
Ruby examples:
mobile :longClick, element: el.ref
mobile :longClick, element: el.ref, duration: 3000
mobile :longClick, x: 400, y: 297, duration: 3000
mobile :longClick, x: 0.5, y: 0.244
2014-02-27 16:18:05 -05:00
bootstraponline
591c0dbc4e
Fix Android page source
2014-02-27 10:19:50 -05:00
Jonathan Lipps
410aacc1e6
Merge pull request #1961 from paymand/scrollTo
...
Android: Added support for 'direction' to scrollTo.
2014-02-26 09:27:38 -08:00
Payman Delshad
b0976fece8
Android: Added support for 'direction' to scrollTo.
...
This fix adds a new option (direction) to 'mobile: scrollTo'.
If 'horizontal' is provided (or if the view is a HorizontalScrollView),
we will call setAsHorizontalList() before commencing the scroll.
2014-02-26 15:44:39 +01:00
Jonathan Lipps
906c4b7b8e
update hybrid docs
2014-02-24 15:09:34 -08:00
Jonathan Lipps
21c9242fb6
finish android hybrid support
...
and refactor android webview tests to work for android as well as selendroid
2014-02-24 14:59:40 -08:00
Jonathan Lipps
cedac5d8b7
work on getting chromedriver accessing webviews
2014-02-24 14:59:39 -08:00
Jonathan Lipps
67b522e6c4
start setting up concept of webviews for android
2014-02-24 14:59:39 -08:00
bootstraponline
bbd03f89c6
Add androidCoverage
2014-02-14 12:54:05 -05:00
Jonathan Lipps
d2af7968d7
add ability to scroll ios views
...
this works on ios7!
2014-02-13 17:38:22 -08:00
Payman Delshad
4c707ad4e3
el.tag_name on Android should return element's className.
2014-02-03 16:01:05 +01:00
sebv
d971f72c46
stricter jshint rules enforcable from editor
2014-01-29 14:03:34 +08:00
Payman Delshad
f4a1b6fcaf
Implemented drag for iOS.
...
- Use same drag API on iOS and Android.
- Fixed some indentations.
2014-01-21 10:49:18 +01:00
Romain Criton
2d161528d8
Implementing mobile:background command for Android and Selendroid
...
Replay commit 1c6b495cd2
Remove debug log
Tidy up spaces according to pull request review
Fixed indentation according to Appium project style guide (2 spaces indent)
Fixed error management in background method
Add an argument to ADB.startApp in order to choose whether to stop the app prior to starting it
Conflicts:
lib/devices/android/adb.js
Refactored mobile:background method for Android: using ADB.startApp rather than directly issuing am start command to ADB shell, do not return to callback until app is back to foreground
Mimick the launcher start intent for the app when starting it
The Android launcher uses the following settings to start apps:
- MAIN action
- LAUNCHER category
- FLAG_ACTIVITY_NEW_TASK
- FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
Without those settings there were discrepancies between Selendroid and
Android when trying to bring the app back to foreground: it would not
bring back the existing Activity stack but create new activities
Adapt background code to new startApp signature
Added "retry" argument
Missing space
Spaces after if
Fixed spacing issue
Split long line
2014-01-16 22:59:57 +00:00
Jonathan Lipps
99f0c16d9a
make sure we don't discount web locators in webviews
2013-12-04 12:24:31 -08:00
Jonathan Lipps
e207483a25
allow alternative type of clear through fastClear: false cap
...
fix #1514
2013-11-21 13:33:13 -08:00
Chi Thu Le
f8e2909ed2
Moved getCurrentActivity to android-common.js
2013-11-08 20:39:37 +01:00
Jonathan Lipps
d29ea809ba
move logcat code into android-common
...
so that selendroic an use it as well
2013-11-06 11:12:59 -08:00
Jonathan Lipps
199d7e40b9
add tests for #1413 , also fix jsonwp misinterpretation
...
logTypes should return array of types, not array of objects
cc @ecomrobotics
2013-11-05 12:00:40 -08:00