Commit Graph

919 Commits

Author SHA1 Message Date
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
snevesbarros e7f0e22780 fixed issue around installation where app was downloaded and unzipped twice for the installApp mobile command. 2013-08-20 16:24:49 +01:00
bootstraponline c207a899d1 Merge pull request #1016 from bootstraponline/mobile_proxy
mobile: localScreenshot
2013-08-20 07:18:25 -07:00
bootstraponline 101b83bcd9 mobile: localScreenshot 2013-08-20 10:12:51 -04:00
Jonathan Lipps cb69369574 add test and fix for isAppInstalled, updated selendroid test app location 2013-08-19 12:27:16 -07:00
Eric Plaster e34e5dd5e1 Optimized looking at progress indicators and fixed a looping error. Also added a configurable timeout parameter. 2013-08-15 18:05:24 -05:00
sergio.barros 214bda4581 removed checks related to udid and avd and added a check for udid only for ios. 2013-08-15 16:55:28 +01:00
Jonathan Lipps 145f1423bb chrome fixes: eliminate race condition and make sure process ends 2013-08-14 17:02:29 -07:00
Jonathan Lipps 709534635d factor more code out of controller into its own module
this fixes an issue with proxying since proxy.js and controller.js were
requiring each other and causing a bug for selendroid / chrome
2013-08-14 14:44:54 -07:00
Jonathan Lipps d027a89f85 Merge pull request #1002 from snevesbarros/release_session_fix
Minor fix to clear session before releasing the session
2013-08-14 12:25:52 -07:00
sergio.barros c0848230ac moved callback to release session to after we have cleared the session 2013-08-14 11:03:02 +01:00
sergio.barros c07d11118e Change to make Android requests more generic and allow install, uninstall and isInstalled to be called without having serial id defined. 2013-08-14 10:52:14 +01:00
Jonathan Lipps 34b13207c7 Merge pull request #997 from bootstraponline/fix_ios_screenshot
Save iOS screenshots to /tmp/appium-ios-screenshots/
2013-08-13 16:54:29 -07:00
Jonathan Lipps 502466d285 try out a fix for (null).tap issues
hat tip to @kinghenry3
2013-08-13 16:38:55 -07:00
bootstraponline e1a8335ccd Save iOS screenshots to /tmp/appium-ios-screenshots/
Fix #983

Fix instruments dir
2013-08-13 18:54:56 -04:00
Jonathan Lipps 7bd555bea3 allow capturing logcat for selendroid 2013-08-13 15:50:40 -07:00
Jonathan Lipps c086845b7f refactor session proxy code 2013-08-13 15:50:40 -07:00
Jonathan Lipps d16b4c686d add logcat support for appium android
we use the selenium facility for getting log types and log entries.
in this case, simply ask for logs of type 'logcat' and you'll get them
2013-08-13 10:59:05 -07:00
Jonathan Lipps 1bb7cc8764 no need to do weird http stuff for chromedriver anymore
this also fixes an issue with selendroid where non-ascii chars weren't
proxied correctly
2013-08-08 16:32:22 -07:00