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
bootstraponline
8f60af314c
Fix reset ( fixes #439 )
2013-04-15 18:08:28 -04:00
Jonathan Lipps
a0e20265ba
fix callback return error and prettify async series cb
2013-04-11 13:35:22 -07:00
Jonathan Lipps
fcb310b81c
rename adb.start to adb.startAppium because there will be other kinds
2013-04-11 13:35:22 -07:00
Jonathan Lipps
e4ef293581
enable getting current android activity ( fixes #358 )
2013-04-10 15:16:14 -07:00
xuru
3c5825db83
Implemented orientation uiautomation support. Tested it with android settings app, but both apps I tested it with was forced to an orientation, so couldn't test on a user app. Also added a mocha test.
2013-04-10 15:38:50 -05:00
Jonathan Lipps
acc2b6bc8a
make sure fatal errors get passed to client descriptively
...
Fix #284
2013-04-08 17:37:02 -07:00
xuru
dba5259218
Updated and fixed support for flick using touch actions.
2013-04-08 17:34:11 -05:00
Jonathan Lipps
92c81916dd
delete cookie(s)
2013-04-03 15:18:49 -07:00
Jonathan Lipps
91871be4ec
write setCookie function
2013-04-03 15:18:49 -07:00
Jonathan Lipps
98821b6f80
stub out getCookies method
2013-04-03 15:18:48 -07:00
bootstraponline
cff0957f06
Add -U for Android
...
Fix #375
2013-04-03 17:16:10 -04:00
bootstraponline
a78e4a2f87
Stop when activity fails to show up
...
Fix targetActivity name in debug message
Log when an object is found
Update gitignore
Fix #371
2013-04-03 13:52:49 -04:00
bootstraponline
2d54939fa0
Add null check
...
Fix Cannot read property '0' of null
2013-04-03 13:25:18 -03:00
Jason Carr
f66247b35e
Not implemented routes for android.
2013-04-02 10:58:22 -07:00
Jason Carr
b393f4055c
Placeholder for android for asyncTimeoutMs.
2013-04-02 10:58:21 -07:00
Sebastian Tiedtke
de77a74cde
Merge pull request #361 from jlipps/master
...
flick() for android and some misc test fixes
2013-04-01 16:34:27 -07:00
Jonathan Lipps
3666109872
make selenium flick() also work, and respect differences in x/y aspect in android
2013-04-01 16:33:04 -07:00
Jonathan Lipps
269ae7878c
enable flick() as a sort of alias for swipe()
2013-04-01 13:48:49 -07:00
bootstraponline
84b8c71ef7
Store lastCmd after return
2013-04-01 15:26:08 -04:00
bootstraponline
ec0ef70f88
Must resend on adb crash
2013-03-31 12:16:09 -04:00
bootstraponline
2497cf7fa8
Relaunch on failure
2013-03-31 11:54:59 -04:00
bootstraponline
db63ddb223
Reconnect after bootstrap disconnect
...
We don't know if the bootstrap has disconnected until a command is issued and
the uiautomator runtest command crashes. The crash is detected, uiautomator is
restarted, and the command that detected the crash is resent.
2013-03-30 20:50:59 -04:00
bootstraponline
b6f99e3bea
Add mobile 'source' getPageSourceXML
...
Example Ruby use:
mobile :source, type: :json
mobile :source, type: :xml
Fix #349
2013-03-28 16:09:01 -04:00
Jonathan Lipps
029a3523c4
add fireEvent() function for mobile web
2013-03-27 18:25:19 -07:00
Jonathan Lipps
29295e6ffb
Merge pull request #341 from mutualmobile/device_ready_timeout
...
Added configurable timeout for device ready state
2013-03-27 13:07:55 -07:00
Jonathan Lipps
c482736b41
add refresh() and a weak test for it
2013-03-27 11:46:25 -07:00
Eric Plaster
86f3359c34
Added configurable timeout for device ready state
...
I found that 5 seconds was too short for our app, and so I made it
configurable with the option: device-ready-timeout in seconds.
2013-03-27 13:31:14 -05:00
Jonathan Lipps
6e04db73d7
allow back() and forward() through actually clicking on safari buttons
2013-03-26 17:22:05 -07:00
bootstraponline
34fabfaa72
Add wait for activity.
...
Fix #332
2013-03-26 17:31:10 -04:00
Jonathan Lipps
4d5c74f812
don't use frame(null) for clearing webview, use mobile: leaveWebView
2013-03-26 09:48:10 -07:00
Jonathan Lipps
7043e743a8
allow setting of alert text
2013-03-25 16:08:46 -07:00
bootstraponline
e135c9f154
Move to adb.js
2013-03-23 13:11:01 -04:00
Jonathan Lipps
7fefd941c6
Merge pull request #309 from bootstraponline/android_back
...
Add back button for Android
2013-03-23 10:07:48 -07:00
bootstraponline
ff463c7dc6
Add back button for Android
2013-03-23 12:41:09 -04:00
Jonathan Lipps
e2d004e761
close() window for mobile safari iphone
2013-03-22 17:19:35 -07:00
Jonathan Lipps
b1deb5978d
Merge pull request #298 from bootstraponline/round
...
[Android] Steps must be int or Java will crash
2013-03-22 15:45:35 -07:00
bootstraponline
1fc319799c
Add keyevent for Android
2013-03-22 18:18:03 -04:00
bootstraponline
c1749b6adf
Steps must be int or Java will crash
...
Fix #291
2013-03-20 21:28:12 -03:00
Jonathan Lipps
064845abfa
add moveTo() and click() for webview and native
2013-03-20 11:27:56 -07:00
Jonathan Lipps
f5ec7f7234
beginning work on moveTo
2013-03-20 09:01:08 -07:00
Jonathan Lipps
b50b8df05d
add getName() method for web and native elements
2013-03-19 21:05:10 -07:00
Jonathan Lipps
00f034b542
get css properties for webview elements
2013-03-19 16:27:14 -07:00
Jonathan Lipps
8dbdd90f22
add selected() webview method
2013-03-19 16:09:12 -07:00
bootstraponline
f74334991c
Clear app if it already exists
...
Fix #280
2013-03-18 16:13:03 -04:00
Jonathan Lipps
464280f8d3
Merge pull request #276 from bootstraponline/page_source
...
Page source
2013-03-15 14:22:26 -07:00
bootstraponline
dc96be5d94
Add page_source for Android
2013-03-15 16:07:48 -04:00
bootstraponline
ce49a3c465
Use adbCmd instead of 'adb'
2013-03-15 14:48:36 -04:00
bootstraponline
e90389b96a
Remove console.log
2013-03-12 16:54:06 -04:00
bootstraponline
92da9e49e9
--fast-reset
...
Fix #245
2013-03-12 15:10:04 -04:00