Commit Graph

2481 Commits

Author SHA1 Message Date
bootstraponline beb2202be7 Android packages may have underscores
var str = "mFocusedApp=AppWindowToken{41ac2030 token=Token{41797308
ActivityRecord{419b9290 u0 com.example.webviewapp_18_api/.MainActivity}}}";

// undefined
/mFocusedApp.+ ([a-zA-Z0-9\.]+)\/(\.?[^\}]+)\}/.exec(str)
2013-09-13 08:34:42 -04:00
bootstraponline 57946a8e8f Merge pull request #1158 from paymand/fix_for_keyevent
Make sure to pass the variables correctly for 'keyevent'.
2013-09-13 05:21:31 -07:00
Payman Delshad bb7ebef752 Make sure to pass the variables correctly for 'keyevent'. 2013-09-13 10:50:24 +02:00
Jonathan Lipps 0fb1d4e989 Merge pull request #1144 from bootstraponline/fix_screenshot
Fix screenshotStatus
2013-09-12 16:36:14 -07:00
bootstraponline becc681ac2 Merge pull request #1155 from mutualmobile/master
Android support for meta state on key codes (i.e. long press the back ke...
2013-09-12 12:05:24 -07:00
Eric Plaster 38453c4847 Android support for meta state on key codes (i.e. long press the back key) 2013-09-12 13:14:18 -05:00
bootstraponline ec2b4c3f0c Merge pull request #1152 from jlipps/master
fix android swipe duration
2013-09-12 05:51:20 -07:00
bootstraponline bb7affb9eb Fix screenshotStatus 2013-09-12 08:46:23 -04:00
Jonathan Lipps 2057d6a7d9 Merge pull request #1145 from bootstraponline/catch_exception
Catch exception
2013-09-12 05:18:56 -07:00
Jonathan Lipps 2eacdbad49 fix steps and duration logic for swipe and flick 2013-09-12 13:58:30 +02:00
bootstraponline 935e12bf6f Catch exception
command.getElement() may return null. Appium must catch exception or it'll crash with a NullPointerException.

Fix #1140
2013-09-11 12:37:08 -04:00
bootstraponline 868a3202bf Merge pull request #1136 from bootstraponline/fix_null_instruments
Fix null instruments
2013-09-10 13:33:20 -07:00
Jonathan Lipps 712945f2ef fix sauce driverblock 2013-09-10 11:16:49 -07:00
bootstraponline 8502f0e122 Fix null instruments 2013-09-10 09:08:30 -04:00
bootstraponline 256bf7831f Fix doc format 2013-09-09 18:17:12 -04:00
bootstraponline 82f741e9d9 Merge pull request #1133 from filmaj/caps-docs
Expanded capability documentation
2013-09-09 15:10:43 -07:00
filmaj ec27ecb23e Made explicit that app capability is not required to launch pre-installed Android apps. 2013-09-09 15:06:20 -07:00
filmaj 1144a2a58f Expanded capabilities documentation for mobile after reviewing appium.js code. 2013-09-09 15:03:05 -07:00
Jonathan Lipps 38d43daacb Merge pull request #1129 from bootstraponline/ios_id
Fix iOS id
2013-09-09 12:57:44 -07:00
bootstraponline be30dee179 Fix iOS id
Selector override must happen outside the doFind function. If it's left inside
doFind, then waitForCondition will cause selector to be undefined.
2013-09-09 15:17:15 -04:00
Jonathan Lipps a24ae5b669 Merge pull request #1127 from jlipps/master
fix android touch/click issue
2013-09-09 10:30:40 -07:00
Jonathan Lipps e5eb9f100d fix issue with touch/click on android getting wrong params 2013-09-09 10:18:50 -07:00
Jonathan Lipps f6d9b8f56c update gappium 2013-09-09 09:09:13 -07:00
bootstraponline 6186ca0da6 Merge pull request #1121 from penguinho/moveto_center_fix
MoveTo now moves to the center if no offsets are provided
2013-09-08 09:29:19 -07:00
Dan Cuellar dde95315a9 MoveTo now moves to the center if no offset is provided 2013-09-08 09:09:11 -07:00
bootstraponline 286409b8e7 Merge pull request #1124 from penguinho/fix_real_devices
Fixing error thrown when trying to read Localizable.string off a real de...
2013-09-08 09:05:06 -07:00
Dan Cuellar 6c3e68b32b Must run safari on simulator before running appium
Fix #755
2013-09-08 08:26:32 -07:00
Dan Cuellar 4265163021 Fixing error thrown when trying to read Localizable.string off a real device 2013-09-07 19:03:12 -07:00
bootstraponline ec6c8582d7 Update caps.md 2013-09-07 20:57:49 -04:00
bootstraponline 60b2c34147 Merge pull request #1122 from penguinho/avd_fix
Fix --avd flag by removing double quotes
2013-09-07 17:49:25 -07:00
Dan Cuellar 4cf9e96cef Adding desired capabilities doc 2013-09-07 15:33:17 -07:00
Dan Cuellar 385acf3b30 Fix --avd flag by removing double quotes (spawn doesn't like them, only exec) 2013-09-07 13:34:14 -07:00
Jonathan Lipps 21af9b5777 Merge pull request #1120 from jlipps/master
more ios 7 compatibility updates
2013-09-06 15:09:25 -07:00
Jonathan Lipps 555724088a fix test for ios 7.0 2013-09-06 15:04:51 -07:00
Jonathan Lipps 70f5c09244 change instruments timeout to something more reasonable
no need to wait 300s if instruments fails to launch
2013-09-06 15:04:51 -07:00
Jonathan Lipps 758b36d9a8 make it easy to switch test version for ios 2013-09-06 15:04:51 -07:00
Jonathan Lipps f3be9a83d2 add --ios-sdk flag to reset.sh to allow building with specific ios sdk ver 2013-09-06 15:04:51 -07:00
bootstraponline 453f086beb Merge pull request #1119 from bootstraponline/protocol_fault
Try harder to find devices
2013-09-06 14:02:05 -07:00
bootstraponline b240e33938 Try harder to find devices 2013-09-06 17:00:58 -04:00
Jonathan Lipps 8b78473379 Merge pull request #1116 from bootstraponline/ios_id
Fix iOS id
2013-09-06 11:04:32 -07:00
bootstraponline 4ef4449816 Fix iOS id
iOS must use weighted predicates or it'll return the wrong result when multiple
elements share the same id.

For example:
id('sign_in_label').click currently matches a static text and a button. The
static text does nothing, so we'd prefer to return an element that has
interactive abilities such as the button.

If someone wanted to match the static text using an id anyway, they could do
s_text resolve_id 'sign_in_label'
2013-09-06 14:02:48 -04:00
Sebastian Tiedtke 72166d63f1 Sync latest commits 2013-09-05 19:55:29 -07:00
Jonathan Lipps 688e6a8b74 fix spacing issue v0.9.0 2013-09-05 18:29:10 -07:00
Jonathan Lipps 1ed240811d fix reset.sh so that curl doesn't error when output is redirected 2013-09-05 18:27:23 -07:00
Jonathan Lipps 6771844f69 fix gappium reset.sh so it deals with old links etc 2013-09-05 17:58:43 -07:00
Jonathan Lipps e6c85cbcad changelog and bump to 0.9.0 for publish 2013-09-05 17:50:30 -07:00
Jonathan Lipps ca061241d5 make sure gappium apps are in gitignore 2013-09-05 17:50:30 -07:00
bootstraponline 993996294c Merge pull request #1114 from jlipps/master
clean up localized string parsing
2013-09-05 17:43:01 -07:00
Jonathan Lipps 8bc65062f4 clean up localized string parsing
1) fix simultaneous parsing of plist and localized strings
2) fix bug where xmlplist() was called with 'plist' var instead of 'string' var
2013-09-05 17:30:02 -07:00
Jonathan Lipps 8332b57f01 Merge pull request #1113 from jlipps/master
fix slowness
2013-09-05 17:28:01 -07:00