Commit Graph

332 Commits

Author SHA1 Message Date
Moiz Virani 70802ec573 Bootstrap clear fallback strategy by sending bunch of deletes 2014-08-07 15:24:44 -07:00
Isaac Murchie eb6c322563 Fix selendroid full reset 2014-08-06 13:59:27 -07:00
Jonathan Lipps 01fa4f6c78 Merge pull request #3290 from imurchie/isaac-tests
Fix Android tests for real device
2014-08-05 09:08:40 -07:00
Jonah Stiennon 9ee0b15fd5 Selecting all elements via XPath no longer mistakenly includes the root <hierarchy> node, which was causing appium to error. Fixes #2548 2014-08-04 22:00:56 -07:00
Isaac Murchie 54868eb21a Fix tests for real device 2014-08-04 18:09:55 -07:00
bootstraponline 456590b1be Merge pull request #3271 from Jonahss/instance
fix for xpath, uses ClassName and Instance instead of Index
2014-08-03 22:04:34 -04:00
Jonah Stiennon ec26114a5d fix for xpath, uses ClassName and Instance instead of Index 2014-08-03 18:45:34 -07:00
Moiz Virani 8d6e6fff9b Adding fallback for finding app activity from AndroidManifest.xml and renaming strings_from_apk to appium_apk_tools 2014-08-01 10:48:04 -07:00
Moiz Virani 02a1c1e7ba Updating android version to 19 and removing android-18 dependency 2014-07-29 10:56:58 -07:00
sebv 4de70f56a9 fixing localization caps 2014-07-28 18:18:50 +02:00
Jonathan Lipps 37afd9842c announce that we know about the networkConnection api (fix #3233) 2014-07-25 16:00:21 -07:00
Moiz Virani 09505d5c66 Overriding UiAutomator method clear to replace it with custom implementation, falling back if custom implementation fails 2014-07-25 10:55:29 -07:00
Jonathan Lipps ed004e2b10 Merge pull request #3190 from moizjv/fix-3146
Adding check for seledroid for internet permission present in apk
2014-07-24 16:19:23 -07:00
Isaac Murchie 3da1211d03 Add tests for custom keystore, and fix Selendroid handling 2014-07-24 10:05:41 -07:00
Moiz Virani 4942d192c6 Adding check for seledroid to see if apk has internet permission, adding test for the same and updating appium-adb 2014-07-23 00:06:22 -07:00
Jonathan Lipps 7adeed389e make sure setValue and getContexts respect custom selendroid port (fix #3050) 2014-07-11 13:58:54 -07:00
Isaac Murchie 5e0e0bf991 Fix handling of default context 2014-07-09 10:38:31 -07:00
Jonathan Lipps 1fa2f5f432 no need to care about window_handles anymore (fix #3105) 2014-07-09 10:15:54 -07:00
sebv e55b32fb45 resetting commandTimeout at each step of the implicitTimeout cycle 2014-07-07 17:10:09 +08:00
Jonathan Lipps 4f1e426c95 bring back autoLaunch: false (fix #2629, fix #3045) 2014-07-03 12:41:52 -07:00
tonetheman 759690bf3c ps in kill chromedriver added -f switch and moved awk to since pid will be second for linux and mac 2014-07-02 14:42:28 -05:00
Isaac Murchie 3ad294c621 Fix handling of ime activation 2014-07-02 09:58:27 -07:00
Jonathan Lipps 3d4a4861e8 fix installApp name conflict and add tests (fix #3030) 2014-07-01 11:48:24 -07:00
bootstraponline bdde3a3a5e Fix scroll into view
If the desired object already exists on screen, then avoid scrolling to it.
Without this check, the server will error because there may not be a scrollable.

Scrollable existance depends on screen size. For testing, it's better to have
code that works regardless if scrolling is required or not. This matches the
complex_find behavior.
2014-06-30 11:17:07 -04:00
Jonathan Lipps 7d70a828b8 Merge pull request #2965 from imurchie/isaac-unicodefix
Fix exit from unicode mode
2014-06-26 11:40:21 -07:00
Isaac Murchie 52f1ab14db Fix exit from unicode mode 2014-06-26 09:13:06 -07:00
Jonathan Lipps b319a3d5a8 Merge pull request #2937 from paymand/selendroid_default_context
Init the current context as NATIVE_APP for Selendroid.
2014-06-26 02:40:24 -07:00
Jonathan Lipps d66c81c2a5 Merge pull request #2945 from imurchie/isaac-networkconnection
Add network connection endpoint
2014-06-26 02:38:49 -07:00
Moiz Virani 9f7e2efd95 Adding additional check to if shutdown is already in process 2014-06-25 17:00:36 -07:00
Isaac Murchie 9d863079cc Add network connection endpoint 2014-06-25 13:09:41 -07:00
bootstraponline 0d8feaf66a Merge pull request #2939 from bootstraponline/scroll_into_view
Add scrollIntoView
2014-06-25 14:02:12 -04:00
bootstraponline dcedc884e5 Add scrollIntoView
Example:

 a =  find_element(:uiautomator, 'new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text("WebView").instance(0));')

 a.text # WebView
2014-06-25 12:22:23 -04:00
sebv 27e88940f5 Logging improvements 2014-06-25 23:23:11 +08:00
Payman Delshad fc43c43adb Init the current context as NATIVE_APP for Selendroid. 2014-06-24 14:15:42 +02:00
Jonathan Lipps 7a814ba0a6 Merge pull request #2920 from imurchie/isaac-unicode
Add Android/Selendroid IME methods
2014-06-23 13:49:19 -07:00
Isaac Murchie 76e1c69645 Add Android/Selendroid IME methods 2014-06-23 12:01:20 -07:00
Jonathan Lipps 5eef4b09ea Merge pull request #2922 from Mikrovolnovka/mikrovolnovka
Extending avoidProxy to make it possible make requests to all mobile-spe...
2014-06-23 11:05:18 -07:00
Mikrovolnovka d5b43a801e Extending avoidProxy to make it possible make requests to all mobile-specific appium requests from e2e tests code. 2014-06-23 11:54:59 +03:00
Jamie Edge 1aeee167c7 Added arguments for intent options. 2014-06-21 12:22:20 +01:00
sebv f73fc3d3d6 fixing comma 2014-06-21 02:29:01 +08:00
sebv 3e95e4f4b5 hideKeyboard update 2014-06-21 02:10:51 +08:00
Moiz Virani 3eca569879 Adding new intent parameters with default values, added object as parameter to startApp, added test to start app with intent category, updated capabilities.md, updated sub-module appium-adb to point to v1.1.0 and updated package.json 2014-06-18 14:56:23 -07:00
Jonathan Lipps 9772c718f0 equalsWebElement is not supported on android 2014-06-17 14:13:32 -07:00
Jonah Stiennon 4317dd3383 Implemented pullFolder for iOS and android 2014-06-16 11:54:54 -07:00
Payman Delshad 52dfe64346 Don't call getProcessNameFromWebview for non WEBVIEW_* contexts. 2014-06-13 17:14:05 +02:00
Isaac Murchie bce6c5c698 Add autoWebview capability 2014-06-12 14:34:36 -07:00
bootstraponline 33d80e579d Improve find by id on Android
The old code used exists() which is expensive because we're finding
the element more than once.
2014-06-12 12:31:24 -04:00
Jonah Stiennon e0d8bf2ff7 deprecated 'dynamic' locator strategy. fixed strategy deprecation code. 2014-06-11 16:11:39 -07:00
Jonah Stiennon 13d38bb2a4 added UiScrollable support to -android uiautomator locator strategy 2014-06-11 16:11:28 -07:00
bootstraponline 3bdbdba155 Add package to Android webview context 2014-06-10 13:40:03 -04:00