Commit Graph

1536 Commits

Author SHA1 Message Date
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
Jason Carr
211a590802 Differentiate OS X and Linux. 2013-04-23 14:00:10 -07:00
Jason Carr
c36fab208c Docs for linux. 2013-04-23 13:55:51 -07:00
Jonathan Lipps
1b6ecb2360 Merge pull request #466 from bootstraponline/aapt_rename
Use aapt rename
2013-04-23 07:21:11 -07:00
Jonathan Lipps
04defc76a9 Merge pull request #463 from OniOni/upstream
Add android web view example
2013-04-22 21:50:51 -07:00
OniOni
078c4d7937 Style fix. 2013-04-22 21:25:44 -07:00
bootstraponline
15d01fc4c4 Use aapt rename
Fix #465
2013-04-22 12:03:29 -04:00
OniOni
4d7deb6608 Add tasks to build WebViewDemo. 2013-04-19 18:07:52 -07:00
OniOni
d411e40fe4 Create new task buildSelendroidAndroidApp. 2013-04-19 18:07:52 -07:00
OniOni
6d6f9f2e52 buildAndroidProj now uses maven if no build.xml is found and pom is present. 2013-04-19 18:07:52 -07:00
OniOni
4cab8d8de1 Add new test for android web view. 2013-04-19 18:07:52 -07:00
Jonathan Lipps
5faeb37d41 Merge pull request #460 from OniOni/upstream
Empty body in answers causes appium to crash
2013-04-19 13:35:56 -07: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
Jonathan Lipps
d2cd0cabf7 Merge pull request #458 from bootstraponline/fix_source
Fix source on real device
2013-04-19 13:33:54 -07:00
OniOni
31ddfb36a2 Do not try doing stuff with body if undefined (ex: 500 status code). 2013-04-19 13:15:01 -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
Jonathan Lipps
6ac2d89b97 add collection to mechanic (changes submitted upstream as well) 2013-04-19 10:19:28 -07:00
Jonathan Lipps
359afa3a1e minor fixes 2013-04-18 16:48:05 -07:00
Jonathan Lipps
d0f483afb5 make sure swipe returns error if it doesn't execute 2013-04-18 16:48:05 -07:00
Jonathan Lipps
0d81c61a53 allow setText on android to press enter when it sees \n 2013-04-18 16:48:05 -07:00
Jonathan Lipps
0c0b5b057b add some more android aliases 2013-04-18 16:48:05 -07:00
Jonathan Lipps
751c899201 make sure device is done swiping when we return control 2013-04-18 16:48:04 -07:00
Jonathan Lipps
c15d3b8fc7 make android not flick so fast 2013-04-18 16:48:04 -07:00
Jonathan Lipps
2cd097aa74 make textfield return secure for ios as well 2013-04-18 16:48:04 -07:00
Jonathan Lipps
214a581c25 alias window to frame in android 2013-04-18 16:48:04 -07:00
Jonathan Lipps
3a0e086db0 allow @name to refer to @text, @label, @value 2013-04-18 16:48:04 -07:00
Jonathan Lipps
91c5e6be13 better defaults here 2013-04-18 16:48:04 -07:00
Jonathan Lipps
4acb7da8c5 when searching for @text in ios, fallback to @label and @value 2013-04-18 16:48:04 -07:00
Jonathan Lipps
4967a9614c Merge pull request #453 from bootstraponline/xpath_wildcard
Fix XPath wildcard
2013-04-18 14:29:59 -07:00
bootstraponline
f620f480a4 Fix XPath wildcard
#451
2013-04-18 15:34:32 -04:00
bootstraponline
fb13e00456 Fix tag name selector
#451
2013-04-18 15:27:34 -04:00
Jonathan Lipps
a5261854ea make sure zip file exists before trying to copy it 2013-04-17 16:10:33 -07:00
Jonathan Lipps
71999169f7 fix xpath last() tests 2013-04-17 13:33:54 -07:00
Jonathan Lipps
60a61cdd74 Merge pull request #448 from bootstraponline/xpath_last
Parse XPath last()
2013-04-17 13:04:13 -07:00
bootstraponline
139176bfaf Add broken tests for last() 2013-04-17 15:47:36 -04:00
bootstraponline
5a9259911c Add last() for Android
Fixes #444
2013-04-17 15:24:17 -04:00
bootstraponline
6655b4d3d4 Add last() for iOS
find_element(:xpath, '//button[last()]')
2013-04-17 14:51:41 -04:00
Jonathan Lipps
a1d121d502 Merge pull request #449 from bootstraponline/dynamic_attr
Dynamic attr
2013-04-17 11:42:14 -07:00
bootstraponline
b211a7b537 Add all to mobile: find
For example, return the name value of all edittexts.

> mobile :find, [ 'all', [ [26, '(?i).*edittext.*'], [100] ] ]
post
session/5dc30124-994f-48e6-83a8-fb1d18a7d361/execute
{"script":"mobile: find","args":[["all",[[26,"(?i).*edittext.*"],[100]]]]}
=> "[Email Address, Password]"
2013-04-17 12:40:11 -04:00
bootstraponline
29fa710447 Add server side element methods to Dynamic
An example of finding the first button's name attr.

mobile :find, [ [ [26, '(?i).*button.*'], [100] ] ]
post
session/d1fe1c05-3ec3-49a9-80bd-394ebf726ba6/execute
{"script":"mobile: find","args":[[[[26,"(?i).*button.*"],[100]]]]}
=> "Sign In"
2013-04-17 12:40:11 -04:00
bootstraponline
0e4795e0f8 Parse XPath last() #444 2013-04-17 10:32:26 -04:00
Jonathan Lipps
47b9d2ac8e Merge pull request #446 from OniOni/master
Newline in `which` output
2013-04-16 15:50:19 -07:00
OniOni
2733d5f8a0 Which sometimes appends a newline, strip it. 2013-04-16 15:45:49 -07:00
Sebastian Tiedtke
1737871442 Merge pull request #442 from jlipps/master
android xpath indices
2013-04-16 12:07:36 -07:00
Jonathan Lipps
9e59ddf7e4 android support for xpath indices (wraps up #295) 2013-04-16 11:36:45 -07:00
Jason Carr
cf5e55df0e Merge pull request #441 from jlipps/master
support for xpath indices in ios
2013-04-15 16:53:28 -07:00
Jonathan Lipps
ffd5bbaf27 actual filtering by index logic and test for ios 2013-04-15 16:19:00 -07:00
Jonathan Lipps
f5a4a24ad0 support for xpath parsing indexes 2013-04-15 16:19:00 -07:00
Jonathan Lipps
8be4c9a70b add tests to define xpath index spec 2013-04-15 16:19:00 -07:00