Commit Graph

937 Commits

Author SHA1 Message Date
Jonathan Lipps 9788d7ffed Merge pull request #1166 from swapna-chennadi/master
Fix for Issue#1165
2013-09-16 08:26:51 -07:00
Swapna Chennadi b5af29d512 Fix for Issue#1165 2013-09-16 15:57:53 +01:00
Jonathan Lipps 465c58b6d2 fix element tapping logic 2013-09-16 16:19:39 +02:00
hannes 688f0c0d77 enable apppium to tapping on UITableViewCell
tapping UITableViewCell using UI Automation does not work and it is a known bug with apple, work around for tapping on UITableViewCell is using the element coordinates and added that to appium
2013-09-16 16:19:39 +02:00
Jonathan Lipps 8cd23a83c8 refactor ios.js to get rid of some instruments race condition bugs 2013-09-15 14:15:29 +02:00
Jonathan Lipps e996df36d7 make sure app cleanup happens synchronously 2013-09-15 14:15:29 +02:00
Dan Cuellar 98488b8767 Adding automatic udid detection to iOS 2013-09-14 17:02:26 -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
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 bb7affb9eb Fix screenshotStatus 2013-09-12 08:46:23 -04:00
Jonathan Lipps 2eacdbad49 fix steps and duration logic for swipe and flick 2013-09-12 13:58:30 +02:00
bootstraponline 8502f0e122 Fix null instruments 2013-09-10 09:08:30 -04: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 e5eb9f100d fix issue with touch/click on android getting wrong params 2013-09-09 10:18:50 -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
Dan Cuellar 4265163021 Fixing error thrown when trying to read Localizable.string off a real device 2013-09-07 19:03:12 -07: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
Jonathan Lipps 688e6a8b74 fix spacing issue 2013-09-05 18:29:10 -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 05506baa95 use find instead of glob for deleting plists (fix #1110)
after investigation, glob was taking > 6000ms.
find takes < 20 ms.
2013-09-05 17:07:07 -07:00
Jonathan Lipps 62b7c530f8 remove logging 2013-09-05 15:05:23 -07:00
Jonathan Lipps f93095ccb6 fix race condition in local screenshot
partially address #1082?
2013-09-05 15:04:03 -07:00
Jonathan Lipps ab709a65f6 make sure displayed() returns bool and attribute() returns string 2013-09-05 15:04:02 -07:00
Jonathan Lipps ffc57ce62e support an ios 7 tracetemplate 2013-09-05 09:22:47 -07:00
Jonathan Lipps d0989ebfea support setting value through sendKeys for more types 2013-09-04 17:56:27 -07:00
bootstraponline 4d0b1e3d0d mobile: getStrings for iOS 2013-09-04 13:53:43 -04:00
bootstraponline 2e821dfb15 mobile: getStrings 2013-09-04 13:30:39 -04:00
Jonathan Lipps 83bef64566 Merge pull request #1091 from bootstraponline/compressed
mobile :enableCompressedLayoutHeirarchy
2013-09-04 10:21:23 -07:00
bootstraponline 45adb70313 Request compressed xml as device cap 2013-09-04 12:30:30 -04:00
bootstraponline ac39358069 Remove methods for Appium 1.0
https://github.com/appium/appium/issues/1076

Revert "Fix #776"

This reverts commit 3db7a09247.

Revert "Add search strings.xml value"

This reverts commit fb95cbd953.

Revert "Add mobile resolveId"

This reverts commit 6cb50d8edf.

Revert "Add search id"

This reverts commit 55c74dbf8d.
2013-09-03 19:24:54 -04:00
bootstraponline b5ff3f9ce1 Merge pull request #1077 from bootstraponline/ios_id
Add id support on iOS
2013-09-03 12:31:10 -07:00
bootstraponline 88f3f32e6b Add id support on iOS
Localizable.strings is equivalent to strings.xml on Android

Find by id now works the same on iOS & Android enabling cross platform tests.
2013-09-03 15:27:03 -04:00
Jonathan Lipps 97d723a60a wait for ios orientation to finish (fix #1074) 2013-09-03 13:20:56 -06:00
bootstraponline 805935e668 Don't reset physical iOS devices 2013-09-01 12:59:42 -04:00
drpy 2ca514117f added a new version of unsign.jar (same build as move_manifest.jar) 2013-08-29 23:46:11 +02:00
drpy 9a99dce206 Fix for issue #824 2013-08-29 22:20:04 +02:00
Eric Plaster 45813961d4 [android] waitForPageLoad should default to a value that doesn't crash bootstrap. 2013-08-29 09:48:22 -05:00
Felix Angerborn dad46bea4f Made previously implemented GetSize available for android 2013-08-29 14:43:53 +02:00
Payman Delshad 8728e05127 Make sure manifest compilation works with API 17. 2013-08-28 15:51:56 +02:00
bootstraponline 31c7be32c0 Merge pull request #1036 from paymand/android_drag
Support for drag/dragTo functions from Android API level 18.
2013-08-28 05:21:11 -07:00
Payman Delshad f148d6afef Support for drag/dragTo functions from Android API level 18. 2013-08-28 14:20:16 +02:00
rockbot bef7312c74 updates server arg docs to indicate device port is android only 2013-08-21 16:14:42 -07:00
rockbot f7b7a91c86 finishes modifications for parallel testing on multiple android devices connected to the same machine 2013-08-21 14:27:05 -07:00
rockbot de7bc0ccbc adds first round of modifications to get multiple real android devices using appium 2013-08-21 14:26:53 -07:00
bootstraponline 634f6849f0 Merge pull request #1025 from snevesbarros/installApp_fix
Update and fix to installApp mobile command
2013-08-21 11:10:14 -07:00
tborys aed90a9520 Added fix to remove app/apk files from zipPath before appium starts to unzip them. If this is *.app located in Payload folder then folder is being removed too. Fix is done because fruitstrap sometimes failes to install app file on the device when /var/folders/... are not cleared correctly. 2013-08-21 16:28:46 +01:00
Tadeas Kriz 7178dd8034 Fix "Cannot read property of null/undefined". 2013-08-20 18:16:32 +02:00