161 Commits
Author SHA1 Message Date
Jonathan Lipps 99f0c16d9a make sure we don't discount web locators in webviews 2013-12-04 12:24:31 -08:00
Jonathan Lipps 5b79c647ea make sure we extract the right file from the zip (fix #1557) 2013-12-04 09:48:55 -08:00
Jonathan Lipps f4477adfd1 fail sooner if user passes in a bad locator strategy (fix #1539) 2013-12-04 09:48:55 -08:00
Jonathan Lipps 1181cbaa49 Merge pull request #1565 from bootstraponline/fix_unresponsive_instruments
Recover from unresponsive instruments process
2013-12-03 11:16:56 -08:00
bootstraponline eaa6cb3d18 Recover from unresponsive instruments process
Register for kCGSNotificationAppUnresponsive and if the process is Instruments then terminate it.
This enables Appium to continue even when instruments is unresponsive. The current behavior is to wait forever.

To test this feature works properly, run ./instruments.sh from https://github.com/appium/ForceQuitUnresponsiveApps

instruments.sh will launch a process that's unresponsive and appium will force quit the process. The unresponsive process can be visually confirmed by using OS X Activity Monitor.
2013-12-03 14:07:38 -05:00
Dan Cuellar 75d31929c6 Adding Dev Checks 2013-12-01 12:48:13 -08:00
Dan Cuellar 4147158291 Adding more android checks, adding optional cb to log.pass and log.fail 2013-12-01 12:34:23 -08:00
Dan Cuellar 269bfaf4c4 Adding doctor check for node binary path 2013-12-01 09:38:05 -08:00
Dan Cuellar 2e1733a654 Adding checks to see if authorize iOS needs to be run 2013-11-30 20:39:33 -08:00
Dan Cuellar 98667ea8f0 Adding the ability to run appium-doctor via the app using socket.io 2013-11-30 18:11:56 -08:00
Astro03 27ddd0bd54 Update appium doctor for OS 10.8 2013-11-27 16:03:38 -08:00
bootstraponline 828409c31e Merge pull request #1547 from fbai/patch-1
Update adb.js: fix typo error
2013-11-27 06:48:55 -08:00
Fan Bai d7a39ad2bc Update adb.js: fix typo error
line 511

this.getDeviceWithRetry(120000, cb);
changed to
this.getDevicesWithRetry(120000, cb);
2013-11-27 18:46:12 +08:00
Jonathan Lipps 1428a81884 go ahead and kill sims before launching a new one 2013-11-26 18:15:49 -08:00
Jonathan Lipps fd4cfea48c Merge pull request #1530 from penguinho/doctor
Appium Doctor Start
2013-11-26 17:51:28 -08:00
Dan Cuellar 3bc4cd5779 Appium Doctor Start
This is a basic vesion of Appium Doctor that checks for Xcode, Xcode
Command Line Tools, JAVA_HOME, and ANDROID_HOME
2013-11-26 14:34:54 -08:00
Curtis Siemens 9f4272c62a Fixing iosDeviceString for iPad 64-bit case (missing parentheses). 2013-11-26 13:44:08 -08:00
Jonathan Lipps 6e07808890 Merge pull request #1543 from penguinho/locale_fix
Fixing get iOS SDK version for Xcode 4
2013-11-26 13:09:54 -08:00
Dan Cuellar e43c1c7861 Fixing get iOS SDK version for Xcode 4 2013-11-26 12:40:48 -08:00
Jonathan Lipps 7d4dbda6a2 fix at least one case of ios sims not being killed
cc @penguinho
2013-11-26 11:34:04 -08:00
Jonathan Lipps a9da500c26 fail with a nice error message if xcrun can't find instruments (fix #1538) 2013-11-26 11:31:40 -08:00
Curtis Siemens 6f62a6e9b2 Fix 4-inch 64-bit device string building (was missing dash in 64 inch). 2013-11-25 13:19:56 -08:00
Dan Cuellar 9edc4679fe Making default iOS version a string in the capabilities object 2013-11-25 09:12:00 -08:00
Dan Cuellar 1129ba8409 Returning iOS Version number in capabilities
Fixes #1332
2013-11-23 14:08:17 -08:00
Dan Cuellar 67a172ba8d Fix Locale Settings for iOS > 7.0.0 2013-11-23 13:20:59 -08:00
Jonathan Lipps 0556a73b05 fix orientation test 2013-11-21 17:22:38 -08:00
bootstraponline 1bfa59f11f Fix onAlert 2013-11-21 20:03:49 -05:00
Jonathan Lipps 4a322ba347 ensure ios flicks don't return control too soon (fix#742) 2013-11-21 14:18:35 -08:00
Jonathan Lipps 0dd0b95d1c keep track of 'dumpsys window' logs for research (fix #1401) 2013-11-21 13:44:46 -08:00
Jonathan Lipps e207483a25 allow alternative type of clear through fastClear: false cap
fix #1514
2013-11-21 13:33:13 -08:00
Jonathan Lipps 0f4ea5609a kill uiautomator before running test (fix #1517) 2013-11-21 11:05:56 -08:00
Jonathan Lipps bd9639fa09 enable setLocation on selendroid (fix #1511) 2013-11-21 10:17:03 -08:00
Satyajit Malugu 1a4e8bbfc8 fixing 1483 2013-11-20 14:03:46 -08:00
Jonathan Lipps efe804bafa try built-in ideviceinstaller if we don't have one 2013-11-20 10:14:09 -08:00
Jonathan Lipps 9bea66b714 fail better when ideviceinstaller is not present 2013-11-20 10:00:32 -08:00
Jonathan Lipps dc2fb9dfdc accept pop-up windows by default 2013-11-19 15:11:21 -08:00
Dan Cuellar 692a262e8e Merge pull request #1486 from penguinho/device
Select your iOS Simulator Device
2013-11-19 08:37:44 -08:00
Jonathan Lipps a103227566 Merge pull request #1495 from bootstraponline/fix_null_crash
Avoid crashing when device is null
2013-11-18 17:36:37 -08:00
bootstraponline 2a88f14b44 Check for start err 2013-11-18 19:36:47 -05:00
Dan Cuellar 94f4e3eb69 select your iOS Simulator Device 2013-11-18 14:46:11 -08:00
Jonathan Lipps 16c45f446d allow periods in xpath nodes (fix #881) 2013-11-18 11:48:54 -08:00
Jonathan Lipps b21416de6e force-stop app before starting it (fix #1142) 2013-11-18 09:39:11 -08:00
Jonathan Lipps 6d3d1ac512 Merge pull request #1482 from jlipps/webviewapp
Promote WebViewApp to first-class mobile web testing platform
2013-11-18 09:09:08 -08:00
Dan Cuellar 2484cfa179 Fixing automatic udid detection
Fix #1399
2013-11-17 17:27:19 -08:00
Curtis Siemens f5015ebaa9 Code style tweak to .appiumconfig file load/parse. 2013-11-15 16:37:36 -08:00
Curtis Siemens c9df85cdda Improved getting .appiumconfig path location & now use JSON to parse .appiumconfig data. 2013-11-15 14:48:33 -08:00
Jonathan Lipps 8f16e64c1b new webviewapp works for both ios6.1 and ios7.0 2013-11-15 12:22:47 -08:00
Jonathan Lipps a6c4c61c26 allow 'iwebview' desired cap for running web tests in webviewapp instead of safari 2013-11-15 11:39:07 -08:00
Jonathan Lipps ccbc8a371e move autwebview-related methods to safari.js 2013-11-15 10:54:46 -08:00
Jonathan Lipps f0721cf2b5 make safari its own device module 2013-11-14 18:20:17 -08:00