Commit Graph

45 Commits

Author SHA1 Message Date
Dylan Lacey d3fc47fa43 Make ruby sauce examples follow the same structure.
Make Android and Ruby examples have helper code at the bottom, similar
method names
2013-12-13 22:50:57 -08:00
Dylan Lacey 6e416550db Make Ruby Sauce example report success, and actually work 2013-12-13 22:34:34 -08:00
Dylan Lacey 64bf117a55 Add result reporting to Ruby Android Sauce example 2013-12-13 22:09:22 -08:00
unknown 5472fa6ace add chinese docs and a ruby xunit testcase sample for android 2013-11-18 14:16:34 +08:00
Dylan Lacey c2c09814bc Change name of capabilities method for sauce_example.rb to prevent us trampling a protected method 2013-10-24 23:20:45 -07:00
Jonathan Lipps dd863c7fa8 update all examples to use correct desired caps
we don't want people getting confused!
2013-10-24 14:03:17 -07:00
enricostano 8338965c74 Use Selenium built in wait methods 2013-08-22 17:13:21 +02:00
Jonathan Lipps e53c841034 Merge pull request #1034 from DylanLacey/master
Added longer timeout for http_client
2013-08-21 14:42:19 -07:00
Dylan Lacey eab79081be Added longer timeout for http_client
To compensate for slower boot time of Android VMs and for network issues, wait longer before timing out (but only at startup).
2013-08-20 18:34:24 -07:00
Jonathan Lipps d39390eb1f update example code to use new style of android activity 2013-07-10 16:12:48 -07:00
Dylan Lacey b5480806c2 Fail nicely when UN or PW is blank 2013-05-07 11:59:20 -07:00
Dylan Lacey e49f791ee6 Add an example for Android and Sauce Labs 2013-05-06 18:09:26 -07:00
Steven Hazel 9950dde436 put a keep_trying spin around this assertion, since there's a race condition where alerts might not be cleared yet if the script goes fast enough 2013-05-03 15:14:53 -07:00
bootstraponline f4f305d6c0 HTTPS for rest API 2013-03-05 11:51:45 -05:00
Dylan Lacey 3fcab93ff8 Pulled out groady Net::HTTP, replaced with rest-client\nUpdated Gemfile or rubygems freaks out and can't find RestClient 2013-02-28 17:25:24 -08:00
Dylan Lacey 49eb29b15d Send is more lovely then @instance_variable_get 2013-02-28 07:24:38 -08:00
Dylan Lacey 53c00f10ca Added Sauce Labs API for passes and failures 2013-02-28 05:40:20 -08:00
Jonathan Lipps 31f14c81eb allow getting screen size through selenium /window/size 2013-02-12 11:52:11 -08:00
Jonathan Lipps eee901fc2e special-case getting the text of a button 2013-02-12 10:06:07 -08:00
Jonathan Lipps 53590088d8 allow finding of alerts 2013-02-12 09:48:33 -08:00
Jonathan Lipps f4d0b72215 this file shouldn't be in the repo 2013-02-12 09:05:39 -08:00
Jonathan Lipps 554c755e1c update ruby example to show how alerts work 2013-02-12 09:05:32 -08:00
Jonathan Lipps c11c7a4986 update example files to clarify what sdk is used 2013-02-11 18:53:00 -08:00
bootstraponline 6a92151bc2 App can be zip file or directory #149 2013-02-09 12:50:06 -05:00
bootstraponline 82995f4740 Add error detection to absolute_app_path
A specific error message is better than the current "Timeout::Error:" when the app doesn't exist or isn't a directory.
2013-02-08 11:27:05 -05:00
Dylan Lacey 3c674f2d47 Lets try to use secure rubygems.org 2013-02-07 18:48:06 -08:00
Dylan Lacey 2918e92ad4 Merge branch 'master' of github.com:appium/appium
Conflicts:
	sample-code/examples/ruby/cucumber/features/support/env.rb
	sample-code/examples/ruby/simple_test.rb
2013-02-07 18:45:01 -08:00
Dylan Lacey 4739d94471 Added additional details to the simple test.
Added a Readme.
2013-02-07 16:07:25 -08:00
bootstraponline fcd0496139 Exit after scenario
Instruments never exits if quit isn't called.
2013-02-07 18:54:50 -05:00
Steven Hazel 8cb681e763 Merge pull request #141 from jlipps/master
fixes to ruby examples and execute.js
2013-02-07 13:38:38 -08:00
Jonathan Lipps 9eb2f80e60 fix ruby examples to use driver.quit 2013-02-07 12:51:19 -08:00
bootstraponline ef5e0e19b1 Add run command
ruby sauce_example.rb does nothing because the example uses rspec.
2013-02-07 15:03:22 -05:00
bootstraponline 0b83ddf7e6 Fix gem name
$ gem install webdriver
ERROR:  Could not find a valid gem 'webdriver' (>= 0) in any repository
2013-02-07 14:55:46 -05:00
Jonathan Lipps 6b88ae1d34 change hosted location of example apps 2013-02-06 16:34:07 -08:00
Jason Huggins 3c1e435400 Merge pull request #128 from DylanLacey/master
Cuke Example
2013-02-06 07:22:11 -08:00
Dylan Lacey cde11f1686 Added additional explaination. 2013-02-06 02:38:42 -08:00
Dylan Lacey 604bd45d1f Created a cucumber example along with documentation about what it means. 2013-02-06 00:07:13 -08:00
Adam Christian 117e622cb4 Merge pull request #124 from DylanLacey/master
Additional examples
2013-02-05 10:56:40 -08:00
Dylan Lacey 1b9623abcc Added in flicks rather then scrolls (Which aren't working) 2013-02-05 05:01:05 -08:00
Dylan Lacey 681f4a4792 Added size analysis 2013-02-05 02:12:23 -08:00
Dylan Lacey 0fb8ee5556 Added a Gemfile, Gemfile.lock to allow for easier dep management
Added sessions to u_i_catalog
2013-02-04 23:45:09 -08:00
Dylan Lacey 7a5c0555ef Added details for scrolling -- Not yet functional 2013-02-04 23:16:03 -08:00
Dylan Lacey 5ff68cdfb9 Changed from sauce-labs/appium to appium/appium 2013-02-04 19:26:42 -08:00
Jason Carr 145cfac46c Ruby example for Sauce. 2013-02-04 17:34:31 -08:00
Dylan Lacey fcd79f38aa It helps to add things to the right repository.
Added a simple, complex test.
2013-02-04 14:37:52 -08:00