alvillaflor
ebc30df5aa
return set timeout in the response
2013-07-12 13:51:44 -04:00
bootstraponline
39e271cda4
Merge pull request #849 from mutualmobile/android_scrollTo_support
...
Added scrollTo support for Android.
2013-07-03 08:20:41 -07:00
Eric Plaster
d2282486af
Updated Exception handling in scrollto for android
2013-07-03 10:12:44 -05:00
Jonathan Lipps
814ccae0b5
fix find element from element tests
2013-07-02 16:21:17 -07:00
Jonathan Lipps
a309fc6c5b
Merge pull request #833 from jlipps/chrome
...
Chrome automation support for Android
2013-07-01 18:22:12 -07:00
Jonathan Lipps
edf08e4f75
fix outstanding issue in doRequest so there's no empty body, misc cleanup
2013-07-01 17:33:51 -07:00
Jonathan Lipps
ea650a45f6
send commands to chrome as javascript atoms via remote debugger
2013-07-01 17:33:04 -07:00
Jonathan Lipps
b2fae3a0d1
move remote execute functionality into device common
2013-07-01 17:33:04 -07:00
Jonathan Lipps
c23963a83f
create ChromeAndroid device which subclasses Android
2013-07-01 17:30:49 -07:00
bootstraponline
eb9f5ca340
Use lower case adb.
2013-07-01 20:29:55 -04:00
bootstraponline
da60218b61
Fix null device id
...
java -classpath "/android-sdk-macosx/tools/lib/ddmlib.jar:/android-sdk-macosx/tools/lib/x86_64/swt.jar:/appium/drpy/app/android/ScreenShooter.jar" io.appium.android.screenshooter.ScreenShooter null "/var/folders/wy/1786rjcd25x358xsx14h2cjr0000gn/T/appium11361-15943-imqm46.png"
2013-07-01 19:59:25 -04:00
drpy
f05dd82958
Make Android.prototype.getScreenshot work under Windows
2013-07-01 23:52:04 +02:00
bootstraponline
5f797f9da5
Merge pull request #791 from tborys/master
...
For freedom!!!! to install and uninstall the app whenever I want!
2013-06-30 11:48:41 -07:00
sergio.barros
f964900510
Added changes for decoupling creating session, installing, launching, closing and uninstalling app for iOS and Android using mobile commands
2013-06-30 08:07:20 +01:00
drpy
b0382624ce
Quoted xmlFile in shell commands to prevent breaking the command if spaces were in the generated temporary file name
2013-06-29 23:53:54 +02:00
drpy
874893671d
Make Android.prototype.getPageSource and
...
Android.prototype.getPageSourceXML also work under Windows:
Three Changes:
1) generate the temp file name using temp.path
2) split adb shell calls in 2 functions
3) remove temporary files
2013-06-29 23:26:03 +02:00
bootstraponline
2f379475c6
Merge pull request #827 from tanob/android-touch-long-click
...
Android touch long press
2013-06-29 13:45:31 -07:00
Adriano Bonat
e21bfb97a7
implemented touch long press for Android.
2013-06-29 17:29:31 -03:00
Adriano Bonat
95b17e0661
fixed capability name in the Android and Firefox OS drivers for taking screenshot.
2013-06-29 16:33:06 -03:00
Eric Plaster
53f0c58857
Added support for backgrounding the IOS application for a # of secs
2013-06-20 17:16:52 -05:00
Eric Plaster
2b72d64c2f
Added support for locking the IOS device for a number of seconds.
...
Removed unused code
2013-06-20 16:15:57 -05:00
bootstraponline
daf8ba84ba
Set max buffer to Math.pow(2,19)
2013-06-19 13:03:23 -04:00
Jonathan Lipps
519f852ee1
remove resendLast capability
2013-06-04 14:09:35 -07:00
Jonathan Lipps
5318d58990
add set geolocation support for android ( fix #564 )
2013-06-03 16:53:29 -07:00
Jonathan Lipps
4f2564a165
make sure device wakes up before trying to run test ( fix #490 )
2013-06-03 15:20:44 -07:00
Jonathan Lipps
9e846f3379
clean up adb restart code
2013-06-03 11:26:45 -07:00
bootstraponline
839729d177
Start moving find by id to server
2013-05-31 20:04:05 -04:00
bootstraponline
d0326a1d64
Add find by id for Android
2013-05-31 20:04:05 -04:00
Jonathan Lipps
f84cd0b08f
add getLocation for android
2013-05-29 18:55:19 -07:00
Jonathan Lipps
4a7019a3cb
Merge pull request #624 from mutualmobile/websocket_notifications_for_alerts
...
Added changes to notify websocket listeners of alert dialogs.
2013-05-28 12:49:26 -07:00
Eric Plaster
5d7cc06ae8
Added changes to notify websocket listeners of alert dialogs.
...
One thing to keep in mind: iOS and Android treat dialogs differently. iOS "system" dialogs can be triggered from the application under test as well as from external sources (the system). However, Android treats dialogs as any other window. So, to make this work, the bootstrap app looks for windows with the package name of "com.android.systemui". These are dialogs that the system has instantiated, but not the app.
So, for example, if we had the same application written on both platforms, and they both had a login screen, and you click on the login button without putting in a username. On iOS, you would be notified if they used a standard system dialog, and you would not be notified on Android. However, if the system put up a low battery dialog, it would be detected on both systems.
So... The main reason for implementing this is to stop failing tests from unintentional dialogs appearing during an overnight test.
Updated call signiture to instruments.
2013-05-28 13:11:36 -05:00
bootstraponline
2f2fb5480f
Fix fast reset race condition
...
adb shell am commands return immediately, not when they're finished. am
instrument will close the app once it completes. It's possible for instrument to
be running, the am start command is issued, then instrument finishes and closes
the app. Appium is now waiting for an activity that will never appear and the
tests fail.
The fix is to only start the app once reset has closed the app.
Fixes #662
2013-05-28 13:30:17 -04:00
Dan Cuellar
f7b376f533
Implementing setLocation for iOS
2013-05-28 08:33:00 -07:00
Eric Plaster
2b44565b5d
Added "wait for page load" support for android
2013-05-20 12:23:44 -05:00
Eric Plaster
77e4abd690
Added "mobile: waitForPageLoad" that will gather up all the indicators and wait for them to either be destroyed or is no longer visible.
...
Added mainWindow to the global list, and changed a few lines to make jshlint happy.
camel case :)
2013-05-20 11:57:08 -05:00
Dan Cuellar
95d987b084
Adding NYI stubs for android
2013-05-12 17:37:35 -07:00
Jonathan Lipps
913949672e
onLaunch needs to take a callback if we pass it one
2013-05-10 14:19:22 -07:00
Jonathan Lipps
485ced81f8
change polarity of this check so we don't keep adding to it
2013-05-10 14:15:30 -07:00
Jonathan Lipps
b552b95091
better logging when adb relaunches
2013-05-09 21:51:48 -07:00
Jonathan Lipps
8c5687bfb1
add getName to android
2013-05-06 16:52:20 -07:00
Dan Cuellar
1024f0a3b0
Adding missing semicolon
2013-05-03 14:54:11 -07:00
Dan Cuellar
dc44202051
Automatically Launch Emulator When --avd switch is supplied
2013-05-03 14:47:39 -07:00
Jonathan Lipps
5f070ffdc2
rename uiautomator/ dir to more descriptive android/
2013-05-03 11:38:26 -07:00
Jonathan Lipps
190e74435d
make sure not finding the app apk is a capital offense (and tested)
2013-05-01 11:43:11 -07:00
bootstraponline
08879c7b8f
Add getNameContains
2013-04-30 15:03:53 -04:00
Eric Plaster
1e677d8cee
Added support to clear an editable element (i.e. text field)
...
Added unit test
2013-04-30 11:31:56 -05:00
Eric Plaster
ce7caa794e
Added support for screenshots for Android.
...
Added support for screenshots for Android.
Now uses ScreenShooter found at https://github.com/appium/screenshooter
Fixed some javascript lint issues
Removed screenshooter... again
Removed grunt buildScreenShooter and fixed string
Removed grunt build commands for Android Screen Shooter
2013-04-26 15:00:18 -05:00
Sebastian Tiedtke
aaacc3278d
Merge pull request #459 from jlipps/master
...
bunch of fixes to make appium more cross-platformy
2013-04-19 13:35:33 -07:00
bootstraponline
628473a9ee
Fix source on real device
...
/cache works on the simulator and fails on device.
/data/local/tmp is used by Android's uiautomatorviewer so appium should use that
as well.
Fix #457
2013-04-19 14:08:03 -04:00
Jonathan Lipps
f4900046c3
make android swipe wait for swipe to complete as well
2013-04-19 10:19:42 -07:00