Commit Graph

57 Commits

Author SHA1 Message Date
Jonathan Lipps 81b0cdf9cd updates to correspond to JSONWP 2013-01-28 18:55:59 -08:00
Jonathan Lipps 50af1ab0bc fail gracefully if someone sends in a bad http request 2013-01-28 11:48:48 -08:00
Jonathan Lipps 54145f4dc3 allow loading of app by path or url from desired capabilities
also a lot of stability improvements and error handling
2013-01-25 09:06:54 -08:00
berni 96a3dc5aa8 flick element - work with sliders etc. 2013-01-24 12:52:14 +01:00
admc 8303f50c28 Merge pull request #40 from jlipps/master
make appium+instruments connection more robust
2013-01-23 17:05:50 -08:00
Jonathan Lipps c54b059d45 move session management into controllers where it belongs 2013-01-23 16:57:05 -08:00
Jonathan Lipps 8e568fe6f4 fixing merge conflicts 2013-01-23 16:41:18 -08:00
Jonathan Lipps 1e9fc04306 allow appium to recover from surprise instruments exits, and tests 2013-01-23 16:16:05 -08:00
berni 7d40e16667 flick test (using UICatalog app), fix: use camelcase in flick 2013-01-23 23:45:19 +01:00
Santiago Suarez Ordoñez 79736620ef final fixes and compliance with the new error handling pattern 2013-01-23 14:01:35 -08:00
Santiago Suarez Ordoñez 0eba77a77a Improving error handling:
- The device now replies with a partially valid JSONWireProtocol response (no
sessionId).
- Controller methods now automatically inject things like the sessionId and
check the response from the device
- All status codes used come from status.js
2013-01-23 13:47:40 -08:00
berni 92a2e7407d new style of returning responses, test methods for getAttribute, clear, and active, fix for active in appiumutils, return empty string if UIATextField has no value 2013-01-23 22:19:41 +01:00
berni 877ceff2ce added getAttribute, clear, and active @sourishkrout please review clear (in ios.js) and active (as I had to modify appiumutils.js to make that work) 2013-01-23 22:19:41 +01:00
Sebastian Tiedtke f7e4f6f5af Merge pull request #36 from jlipps/master
Add php example test with various fixes
2013-01-23 13:14:43 -08:00
Jonathan Lipps caae26bacb stub out POST url method so some libraries e.g. phpunit work 2013-01-23 12:27:04 -08:00
Sebastian Tiedtke 23fe1910a4 Didn't realize I broke these tests. Here's a fix! Sorry! 2013-01-23 10:49:20 -08:00
Sebastian Tiedtke 59980e8072 Error codes live in app/status.js now. 2013-01-22 14:11:33 -08:00
Sebastian Tiedtke b7fcfd001f Refactoring for more error handling. 2013-01-22 14:11:33 -08:00
Sebastian Tiedtke 1cfc5d91c8 Merge pull request #24 from jmathes/master
code cleanup
2013-01-18 16:20:34 -08:00
Joe Mathes 227e78216b don't need 3 trailing lines 2013-01-18 16:18:07 -08:00
Sebastian Tiedtke cb3297daaf Getting flick straight. 2013-01-18 15:27:57 -08:00
Jonathan Lipps 17769fd9c1 merge admc pull request #17 and fix conflict 2013-01-17 18:27:37 -08:00
Sebastian Tiedtke 94d5c3c1ff Removed trailing whitespaces. 2013-01-17 18:16:36 -08:00
Jonathan Lipps 3e9ca08742 add element/:id/element(s) methods 2013-01-17 17:52:47 -08:00
Adam Christian dc6f6245b4 Adding flick without a test :( 2013-01-17 16:47:17 -08:00
Joe Mathes b406a02c7a sweep up some unnecessary codez 2013-01-17 16:09:38 -08:00
Santiago Suarez Ordoñez b62bc13683 adding support for frame switching, will need an app with frames to test properly 2013-01-17 12:07:03 -08:00
Santiago Suarez Ordoñez e3e9afc29e adding support for getting element's size 2013-01-17 11:41:53 -08:00
Santiago Suarez Ordoñez f69f5123ca Adding support for getting an element's location 2013-01-16 18:54:35 -08:00
Sebastian Tiedtke c0afb86401 Merge pull request #4 from bernii/master
porting GET and POST '/session/:sessionId/orientation'
2013-01-16 17:31:04 -08:00
berni 7ab2c36667 porting '/wd/hub/session/:sessionId/screenshot', update in instruments - creating unique temp dir that is used by UIAutomation to store screenshots, there is some problem with test - socket times out waiting for new command 2013-01-17 02:09:36 +01:00
berni 8f10c97dc5 porting GET and POST '/session/:sessionId/orientation',
submitted pull request to wd.js (setOrientation, getOrientation)
2013-01-17 00:28:36 +01:00
Santiago Suarez Ordoñez ae50ba3817 findElement + tests, yay! 2013-01-16 15:15:24 -08:00
Santiago Suarez Ordoñez 7a954ed5ca adding support for implicit waits 2013-01-16 10:50:17 -08:00
Sebastian Tiedtke 43045b0dfe Merge pull request #3 from santiycr/master
Adding getSessions
2013-01-15 15:25:19 -08:00
Santiago Suarez Ordoñez 7f71f0e1a3 moving capabilities to the device, to keep responsibilities clear 2013-01-15 15:24:03 -08:00
Santiago Suarez Ordoñez 6aa2b354ee adding support for getSessions + test 2013-01-15 14:28:22 -08:00
berni f39f09e9b5 updating sample project to contain alert triggering button,
porting '/wd/hub/session/<session_id>/alert_text', '/wd/hub/session/<session_id>/accept_alert' , '/wd/hub/session/<session_id>/dismiss_alert'
2013-01-15 23:27:25 +01:00
berni 9b32e0ea41 porting '/wd/hub/session/<session_id>/source' 2013-01-15 23:27:25 +01:00
berni 64ae78e802 porting /wd/hub/session/<session_id>/element/<element_id>/enabled 2013-01-15 23:27:25 +01:00
berni c1b68ea0e9 porting /wd/hub/session/<session_id>/element/<element_id>/displayed 2013-01-15 23:27:25 +01:00
berni 2462fb1ac1 /session/:sessionId/key implementation and test 2013-01-15 23:27:25 +01:00
jeremy avnet b1f5bb4922 have grunt lint use js strict mode and fix up the codebase to pass 2013-01-15 11:43:08 -08:00
jeremy avnet 1610f5587d This was a translation from the Python. Removing it until we write the real function. 2013-01-15 11:43:08 -08:00
Sebastian Tiedtke 44130711e9 Moved iOS specific stuff into ios.js. 2013-01-14 20:33:02 -08:00
Sebastian Tiedtke 4c5583d450 Added new layer for iOS abstraction. 2013-01-14 20:33:02 -08:00
Sebastian Tiedtke 7a38b96057 Follow naming conventions. 2013-01-13 21:43:09 -08:00
Sebastian Tiedtke bddc4734ac Knock, knock... housekeeping. 2013-01-13 18:20:12 -08:00
Sebastian Tiedtke c9dee416bb Added /click and /text. 2013-01-12 17:53:43 -08:00
Sebastian Tiedtke 6f638db3c5 Added setValue like a boss. 2013-01-12 16:57:48 -08:00