Commit Graph

12411 Commits

Author SHA1 Message Date
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
Jonathan Lipps e7535526dc Merge pull request #748 from kinghenry3/PageSourcePatch
Page source now retrieves source for all windows.
2013-06-12 12:02:47 -07:00
Henry Stratmann 73e64bcf81 Fixed broken unit tests related to having page_source return all windows (not just the main window). 2013-06-12 13:58:32 -05:00
Henry Stratmann c033542a9a Page source now retrieves source for all windows (not just the main window). This means that the statusbar window, keyboard window, and any actionsheet/popover/alert windows will be logged. 2013-06-12 09:57:10 -05:00
Jonathan Lipps 6775a5d364 Merge pull request #745 from bootstraponline/fix_null
Check for null websocket
2013-06-11 14:20:24 -07:00
bootstraponline f3900b3411 Check for null websocket
Fix #744
2013-06-11 17:16:56 -04:00
Jonathan Lipps 2d1d2ac08a setting processingRemoteCmd was a bad idea, it creates time for things to go wrong. just perform the one-off check for the exception to the rule in push() 2013-06-11 15:05:36 -04:00
Jonathan Lipps 7d7fdf9509 update appium io 2013-06-11 14:53:55 -04:00
bootstraponline 12d7f38fed Add mobile reset docs 2013-06-11 13:15:42 -03:00
Jonathan Lipps f1f19b9a73 Merge pull request #740 from kinghenry3/NewGitSubmodules
Changed git to http for instruments-without-delay in .gitmodules
2013-06-10 20:27:53 -07:00
Henry Stratmann 53918983da Fixed instruments-without-delay protocol from git to https so people without write permissions can clone it. 2013-06-10 16:10:35 -05:00
bootstraponline e9ec957551 Merge pull request #734 from snevesbarros/master
lookForAlert fix
2013-06-10 02:18:39 -07:00
sergio.barros 9c18e7e8cd removed added space when incrementing a value. 2013-06-10 07:36:01 +01:00
Jonathan Lipps cf3ebe903c Merge pull request #736 from bootstraponline/require_java
Require java
2013-06-09 16:39:49 -07:00
bootstraponline dc683554ae Require java 2013-06-09 11:48:09 -04:00
bootstraponline 5f95867bf1 Merge pull request #732 from sourishkrout/master
Selendroid won't build properly without JAVA_HOME set
2013-06-09 08:29:48 -07:00