Commit Graph

61 Commits

Author SHA1 Message Date
bootstraponline
a2e0fca11a Fix cucumber 404 2014-07-28 20:00:54 -04:00
bootstraponline
a548d0a601 Add cucumber example for cross platform env.rb 2014-06-06 17:17:35 -04:00
bootstraponline
ef1d22e9f4 Fix Ruby sample code so it works on Sauce Labs
Add Android cucumber example

Fix #1458
2014-06-01 17:13:07 -04:00
bootstraponline
04ca54f094 Update Ruby sample code 2014-05-17 17:04:44 -04:00
bootstraponline
82a6a5dbb4 Fix xunit_android sample code 2014-05-14 23:27:40 -04:00
Dylan Lacey
6461d33920 Update TouchActions in u_i_catalog demo 2014-05-12 21:36:41 -07:00
Dylan Lacey
8ad70b7db2 Update alerts 2014-05-12 03:12:07 -07:00
bootstraponline
5a218d90dc Fix cucumber example so multiple features run without error 2014-05-06 12:07:58 -04:00
Dylan Lacey
32694a6d2b Update README to 1.0 for Ruby 2014-05-02 19:44:41 -07:00
Dylan Lacey
03dbf956fc Update sauce example 2014-05-02 18:46:37 -07:00
Dylan Lacey
6cd4ebdfcd Updating Cucumber example doc 2014-05-02 16:34:02 -07:00
Dylan Lacey
8a830f0ea4 Updated simple_test to use appium_lib 2014-05-02 11:14:52 -07:00
Dylan Lacey
633c2ed81e Update Ruby sample code.
Change from tag_name to class_name for u\_i\_catalog, simple\_test,
cucumber tests.

Changed to iOS 7.1 in u\_i\_catalog, simple\_test, cucumber tests.

Changed `capabilities` to `desired_caps` to avoid some weirdo
collisions.

Remove Debugging output from Cucumber.

Add example of send\_keys as an action chain for u\_i\_catalog.
2014-04-01 01:46:27 -07:00
Jonathan Lipps
1e60311926 make ruby sauce android example send a name 2014-02-13 15:47:13 -08:00
seveniruby
63aa6e1509 add troubleshooting.cn.md
add real-devices.cn.md
update the cn doc to the latest
add saucelabs-repository in pom.xml in testng example
2014-01-05 22:00:41 +08:00
Leo Gallucci
eaaea6e2aa Markdown-related improvements to README.md ruby examples 2013-12-19 01:09:10 -02:00
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