Commit Graph

12126 Commits

Author SHA1 Message Date
Dan Cuellar 7b951d268f Merge pull request #800 from herzbube/macports-troubleshooting-notes
add troubleshooting note for MacPorts
2013-06-21 09:31:08 -07:00
Patrick Näf ec8847815e add troubleshooting note for MacPorts 2013-06-21 18:26:17 +02:00
Patrick Näf 1a40c3db5c look for ~/.profile in sysExec() 2013-06-21 17:51:35 +02:00
Patrick Näf f400641362 invoke global instruments_client script using node 2013-06-21 17:47:25 +02:00
Swapna Chennadi 9f52db5ea0 functionality to re-register appium with grid 2013-06-21 16:18:48 +01:00
bootstraponline 2a6d30d126 Merge pull request #794 from mutualmobile/ios_background
Added support for backgrounding the IOS application for a # of secs
2013-06-20 15:52:19 -07:00
Eric Plaster 53f0c58857 Added support for backgrounding the IOS application for a # of secs 2013-06-20 17:16:52 -05:00
bootstraponline 205f20986e Merge pull request #795 from mutualmobile/ios_lock
Added support for locking the IOS device for a number of seconds.
2013-06-20 14:33:03 -07: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 40e8769d63 Merge pull request #774 from bootstraponline/max_buffer
Set max buffer to Math.pow(2,19)
2013-06-19 10:14:06 -07:00
bootstraponline daf8ba84ba Set max buffer to Math.pow(2,19) 2013-06-19 13:03:23 -04:00
bootstraponline da166877fb Merge pull request #785 from bootstraponline/782
Fix activity detection
2013-06-19 09:55:26 -07:00
bootstraponline 9f91c7df41 Fix selendroid start
Wrong:
adb shell am instrument -e main_activity
'com.thehomedepot..Foundation.Controller.SetServicesActivity'
com.thehomedepot.selendroid/io.selendroid.ServerInstrumentation

Fixed:
adb shell am instrument -e main_activity
'com.thehomedepot.Foundation.Controller.SetServicesActivity'
com.thehomedepot.selendroid/io.selendroid.ServerInstrumentation
2013-06-19 12:52:03 -04:00
bootstraponline 069af2e637 Fix Cannot read property 'value' of undefined 2013-06-19 12:52:03 -04:00
bootstraponline 7471826ad6 Selendroid is unable to start some apps 2013-06-19 12:52:03 -04:00
bootstraponline d43cf58106 Fix activity detection
The old logic was completely broken.

The pkg must not be prepended to the activity. This is invalid.
shell am start -n
com.thehomedepot/com.thehomedepot..Foundation.Controller.SetServicesActivity

The activity must not have the first bit chopped off. This is invalid:
Foundation.Controller.SetServicesActivity

The correct command is adb shell am start -n
com.thehomedepot/.Foundation.Controller.SetServicesActivity

Notice there's no prepended activity and that the string after the / starts with
a "."

Fixes #782
2013-06-18 18:06:32 -04:00
bootstraponline 2801ddd415 Merge pull request #784 from bootstraponline/776
Fix #776
2013-06-18 13:45:36 -07:00
bootstraponline 3db7a09247 Fix #776 2013-06-18 16:28:26 -04:00
bootstraponline b29c0b050d Merge pull request #781 from bootstraponline/update_selendroid
Update selendroid
2013-06-18 07:01:34 -07:00
bootstraponline db7e43f50b Update selendroid 2013-06-18 10:00:18 -04:00
bootstraponline ef5340dff0 Merge pull request #775 from bootstraponline/search_value
Add search strings.xml value
2013-06-17 10:56:49 -07:00
bootstraponline fb95cbd953 Add search strings.xml value
Useful for finding all keys that contain a common string.

mobile :searchValue, 'preferences_delete'
2013-06-17 13:40:16 -04:00
bootstraponline 2585f43aba Merge pull request #772 from bootstraponline/search_id
Add search id and resolve id.
2013-06-17 10:01:52 -07:00
bootstraponline 6cb50d8edf Add mobile resolveId
Scroll requires the text in advance so resolveId is required. Ruby example:

mobile :resolveId, 'my_id'
2013-06-17 12:49:02 -04:00
bootstraponline 55c74dbf8d Add search id
Ruby example of finding all strings.xml ids that contain the value feedback.

mobile :searchId, 'feedback'
2013-06-17 11:52:12 -04:00
bootstraponline 30a02a532b Merge pull request #768 from rorp/master
GetDeviceSize Android Handler
2013-06-16 15:59:53 -07:00
rorp 47c3cbf3fb Fixed a typo in GetDeviceSize Android handler 2013-06-16 15:30:14 -07:00
bootstraponline f0fdb5b6ca Add npm package version 2013-06-15 13:44:43 -03:00
Jonathan Lipps 120bb68132 changelog and bump for publish 0.7.3 v0.7.3 2013-06-14 17:17:41 -07:00
Jonathan Lipps 201445cfed add shebang to authorize.js 2013-06-14 17:17:00 -07:00
Jonathan Lipps a0a8155f0c changelog and bump for publish 0.7.2 v0.7.2 2013-06-14 17:11:09 -07:00
Jonathan Lipps aec5ac8bf8 update appium.io 2013-06-14 17:02:55 -07:00
Jonathan Lipps 3c07b46a53 update docs to make sure people know they need to authorize ios sim 2013-06-14 17:01:45 -07:00
Jonathan Lipps 478dfb6740 add authorize_ios binary so npm users can run authorize 2013-06-14 17:01:44 -07:00
Jonathan Lipps cdd66b4731 Merge pull request #766 from bootstraponline/fix_pr_760
Fix pr 760
2013-06-14 17:01:08 -07:00
Jonathan Lipps 1bff86c76f fix method of looping through object keys 2013-06-14 16:27:07 -07:00
Eric Plaster 97a7cbab32 Added a settings file to instruments that it can read in for "sudo environment variables".
Structured as key=value pairs, it will ignore lines that don't have a '=' in them, and throw
and error if the split on '=' is more then two.

The only thing using it in this pull request is the location of node.

This pull request started as https://github.com/appium/appium/pull/757, but I added the settings file.

Changed sysExec to look at .bash_profile first, and failing that, look at .bashrc

Now only calls /bin/test to check if files exist.

Added more logging to make it clear when some options where read in from the settings file.

Conflicts:
	app/uiauto/lib/instruments_client.js

Updated style issues.
2013-06-14 16:05:38 -05:00
bootstraponline d17a2bccea Merge pull request #759 from kinghenry3/UnitTestForEnabledVisible
Unit tests for enabled/visible elements.
2013-06-14 07:22:50 -07:00
bootstraponline 232246d3c5 Merge pull request #764 from bootstraponline/master
Fix app wait activity for Selendroid
2013-06-14 07:21:54 -07:00
bootstraponline 14e953346d Fix app wait activity for Selendroid 2013-06-14 10:18:07 -04:00
Henry Stratmann d01c644e87 Added unit tests to verify disabled/enabled and visible/invisible elements. 2013-06-14 09:11:32 -05:00
bootstraponline abdc92202f Merge pull request #763 from bootstraponline/master
Add keyevent to Selendroid
2013-06-14 06:57:02 -07:00
bootstraponline 4dfb977e45 Add keyevent to Selendroid
Fix #762
2013-06-14 09:48:12 -04:00
Jonathan Lipps 4ed3b47ce1 use .bash_profile instead of .bashrc 2013-06-13 12:37:13 -04:00
Jonathan Lipps f37ec5edff don't allow custom shell, but do load user's .bashrc 2013-06-13 12:23:24 -04:00
Jonathan Lipps 0abeedef0a use user shell for instruments_client, allow ohai env to set node location 2013-06-13 12:23:24 -04:00
bootstraponline a6dcea184e Update mobile_methods.md 2013-06-13 10:28:40 -03:00
Jonathan Lipps 8c6e507789 Merge pull request #751 from jlipps/master
misc fixes
2013-06-12 12:20:53 -07:00
Jonathan Lipps 7a10c2d047 touch/click is same as /click for mobile 2013-06-12 15:05:00 -04:00
Jonathan Lipps 1c789c2979 use cross-platform path.resolve in adb.js 2013-06-12 15:04:59 -04:00