Commit Graph

168 Commits

Author SHA1 Message Date
Benjamin Herzig
c60f436aae switch values at assertEquals statements, to reflect the correct meaning 2014-01-15 17:02:26 +01: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
sebv
6129c29a46 fixing one liner if 2014-01-03 02:03:41 +08:00
sebv
b793ce3ce8 fixing spaces 2014-01-03 02:00:59 +08:00
sebv
bbe8698077 new node examples 2014-01-02 11:33:04 +08:00
Leo Gallucci
eaaea6e2aa Markdown-related improvements to README.md ruby examples 2013-12-19 01:09:10 -02:00
Leo Gallucci
2932f01095 Small typo 'sessoin' for 'session' 2013-12-19 00:38:20 -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
Jonathan Lipps
18917698a4 update sauce android example to not be dependent on driverblock 2013-12-09 15:12:46 -08:00
Jonathan Lipps
3822519efb allow iwebview to access https sites with self-signed certs 2013-11-26 17:25:47 -08:00
Jonathan Lipps
5f1713d57b add pass/fail status reporting to sauce node examples 2013-11-19 12:15:32 -08:00
Ross Rowe
2fe7ea7b09 Updated Sauce Java samples to use Sauce Java helper libraries, which sets the pass/fail status after the test has been run 2013-11-19 07:15:34 +11:00
bootstraponline
c1611ace1e Merge pull request #1494 from testerhome/master
add chinese docs and a ruby xunit testcase sample for android
2013-11-18 10:28:11 -08:00
unknown
5472fa6ace add chinese docs and a ruby xunit testcase sample for android 2013-11-18 14:16:34 +08:00
Jonathan Lipps
c3e7c1d03b update webviewapp for ios7, all orientations, and loading notification 2013-11-15 10:56:16 -08:00
Sergio Neves Barros
68d9a5f314 Fix for 1047 as dependencies have moved for latest version of selenium into interactions package 2013-11-01 09:22:21 +00: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
Jonathan Lipps
37f4a95f7b update yiewd example again 2013-09-15 11:18:36 +02:00
Jonathan Lipps
d82449e0d2 update yiewd example with new yiewd syntax 2013-09-15 11:18:35 +02:00
Jonathan Lipps
09d06f63cd add another yiewd example 2013-09-15 11:18:35 +02:00
Jonathan Lipps
ae4b2f0052 remove commented code 2013-09-05 09:43:01 -07:00
Jonathan Lipps
06424765d4 add a yiewd example for node 2013-09-04 17:56:38 -07:00
Jonathan Lipps
81fbfb3877 add chrome on sauce example 2013-09-02 06:37:44 -06:00
drpy
0cebb5ad52 improved python sample codes (android + selendroid mode) 2013-08-31 18:04:46 +02:00
Jonathan Lipps
b889e23f8c add javascript chrome example 2013-08-30 11:24:47 -06: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
snevesbarros
e7f0e22780 fixed issue around installation where app was downloaded and unzipped twice for the installApp mobile command. 2013-08-20 16:24:49 +01:00
Henry Stratmann
a8e6f0ce94 TestApp dies when sent to background. Test added for appium responding to last command when instruments is killed. 2013-08-16 15:34:17 -05:00
berni
0cb929e4ca all-in-one sauce connect example for python 2013-07-30 10:11:53 +02:00
Ross Rowe
8c565171ea Added Java sample which demonstrates how to run a test against Mobile Safari with Appium 2013-07-26 19:07:14 +10:00
AmitKumar5
ce69300ba6 Squashing Commits
Squashing 2

Use lower case adb.

Use === not ==

create ChromeAndroid device which subclasses Android

move remote execute functionality into device common

send commands to chrome as javascript atoms via remote debugger

make chrome device proxy to chromedriver instead of using atoms

add describeForChrome in driverBlock and add webview tests for chrome

fix outstanding issue in doRequest so there's no empty body, misc cleanup

use streams instead of data events for chromedriver subproc

add comment about why we're doing dumb things with chromedriver

add docs for mobile safari and mobile chrome

update grunt docs

remove unused remote debugger files

clean up callback structure

make sure to encode doRequest response to JSON if possible (fix #847)

Fix undefined

Squashing 1

allow testsuite to take port from env so ios/android tests can run simultaneously

make sure webview guinea pig runs on same port as appium

make sure to discard series info here so it doesn't get passed on

fix find element from element tests

update test to use correct appium port

Squashing

make sure fruitstrap gets into build/ for npm releases (cc @snevesbarros)

/session/:sessionId/element/:id/enabled should return a boolean value.

Signed-off-by: Matt Isaacs <misaacs@gilt.com>

Unneccessary

Removing MonkeyPinch
2013-07-23 12:29:50 -04:00
Saikat Maitra
8eae54c64c TestNG and Junit tests for Android.These tests are similar to the one available in the sample-code/examples/python 2013-07-13 23:07:58 +05:30
Jonathan Lipps
d39390eb1f update example code to use new style of android activity 2013-07-10 16:12:48 -07:00
Jonathan Lipps
bae72cd7d0 browserName not needed for Appium tests 2013-07-10 10:20:44 -07:00
sergio.barros
f964900510 Added changes for decoupling creating session, installing, launching, closing and uninstalling app for iOS and Android using mobile commands 2013-06-30 08:07:20 +01:00
tborys
f56a6a70bb Decoupling installation and removal from launching the app for iOS by adding new end points to appium server. 2013-06-29 23:27:47 +01:00
Henry Stratmann
d01c644e87 Added unit tests to verify disabled/enabled and visible/invisible elements. 2013-06-14 09:11:32 -05:00
Jonathan Lipps
d3fc5a081d update appium to reflect changes in new selendroid 2013-06-06 09:39:13 -07:00
Eric Plaster
5d7cc06ae8 Added changes to notify websocket listeners of alert dialogs.
One thing to keep in mind: iOS and Android treat dialogs differently. iOS "system" dialogs can be triggered from the application under test as well as from external sources (the system). However, Android treats dialogs as any other window. So, to make this work, the bootstrap app looks for windows with the package name of "com.android.systemui". These are dialogs that the system has instantiated, but not the app.

So, for example, if we had the same application written on both platforms, and they both had a login screen, and you click on the login button without putting in a username. On iOS, you would be notified if they used a standard system dialog, and you would not be notified on Android. However, if the system put up a low battery dialog, it would be detected on both systems.

So... The main reason for implementing this is to stop failing tests from unintentional dialogs appearing during an overnight test.

Updated call signiture to instruments.
2013-05-28 13:11:36 -05:00
Jonathan Lipps
3eb5f1d550 add a test for window handles idempotence 2013-05-22 15:39:09 -07:00
Jonathan Lipps
5ac61d3187 Merge pull request #573 from DylanLacey/master
Add nice error message for missing auth details
2013-05-16 13:48:27 -07:00
OniOni
7ee8bbc5cb Update android web view example. 2013-05-14 14:24:51 -07:00
OniOni
09ee81061b __dirname should do fine. 2013-05-09 15:55:47 -07:00
OniOni
1a0be0d773 Add example for real device (iOS). 2013-05-09 15:55:47 -07:00
Jason Carr
2fa7a34c8f Add requirements.txt 2013-05-09 15:26:48 -07:00