Jonathan Lipps
2a7ab7340a
implement sendkeys/value
2013-03-04 16:54:17 -08:00
Jonathan Lipps
c71df82954
swipe and tap by pct as well as pixels
2013-03-04 16:26:44 -08:00
Jonathan Lipps
583eb5df95
beginnings of xpath support
2013-03-01 13:28:53 -08:00
Jonathan Lipps
3e2f7d7c31
fix tests for nexus s and make command timeout correct
2013-03-01 12:24:55 -08:00
Jonathan Lipps
18661c407a
need to reset timeout on command
2013-03-01 11:07:18 -08:00
Jonathan Lipps
d7e8f6555a
institute command timeouts so adb dies if it sits forever
2013-02-28 16:26:27 -08:00
Jonathan Lipps
478b7910bf
better error handling if device never starts
2013-02-28 15:20:25 -08:00
Jonathan Lipps
48c24beac6
fix window size method, reorg test files
2013-02-28 13:03:58 -08:00
Jonathan Lipps
741d197957
respond with not implemented while android catches up to ios
2013-02-28 12:52:06 -08:00
Jonathan Lipps
6445113fe4
implicit waits, find elements from elements, moar tests
2013-02-28 12:45:23 -08:00
Jonathan Lipps
a5aedcd98d
more object orientation and el.getText()
2013-02-28 11:17:55 -08:00
Jonathan Lipps
0bc98587e0
uninstall app after test instead of before
2013-02-28 10:37:33 -08:00
Jonathan Lipps
8afb52fc82
add basic find element logic
2013-02-28 10:32:13 -08:00
Jonathan Lipps
4705ac1dba
enable full flow of selenium command to device and back
2013-02-27 17:50:46 -08:00
Jonathan Lipps
c8d0cdd054
combine methods for convenience
2013-02-27 17:16:21 -08:00
Jonathan Lipps
ef3856878c
add app package / activity options to server
2013-02-27 16:04:19 -08:00
Jonathan Lipps
532d6e88ae
generalize notion of device and kind of app
2013-02-27 15:55:22 -08:00
Jonathan Lipps
70eb12d4d3
factor out some commonly used device methods
2013-02-27 14:48:52 -08:00
Jonathan Lipps
b9e63463bf
stub out android interface
2013-02-27 14:31:10 -08:00
Jonathan Lipps
48ffc98791
enable orientation tests in webview app which supports them
2013-02-26 09:09:06 -08:00
Jonathan Lipps
adfbf9d34d
use mainApp for context instead of mainWindow
2013-02-26 08:45:27 -08:00
Jonathan Lipps
b8c28129c7
make implicit wait do what it should
2013-02-21 17:48:52 -08:00
Jonathan Lipps
38f4e6cf47
make xpath contains search case insensitive
2013-02-21 17:04:39 -08:00
Jonathan Lipps
797441f07c
make plist resetting a server flag
2013-02-20 16:47:34 -08:00
Jonathan Lipps
ebda1b29c8
separating concerns a bit here for reset app
2013-02-20 15:36:32 -08:00
bootstraponline
7f2a27e8cc
mobile: reset
2013-02-20 17:27:17 -05:00
Jonathan Lipps
9cd9907db6
Merge pull request #200 from bootstraponline/fix_undefined
...
Fix undefined issues
2013-02-20 10:10:04 -08:00
bootstraponline
57015e52f8
Fix undefined issues
...
TypeError: Cannot read property 'name' of undefined
TypeError: Cannot read property 'code' of undefined
2013-02-20 13:08:20 -05:00
bootstraponline
2c47fa2b49
Fix null value
...
getElementsByXpath returns value: null when xpObj === false
2013-02-18 14:02:09 -05:00
bootstraponline
2a9c75d8f6
Fix null check
...
Selenium::WebDriver::Error::JavascriptError: 'null' is not an object (evaluating 'el[key]().indexOf')
This happens when an element exists that doesn't have the proper value.
> execute_script "[$('text')[0].name()]"
=> [nil]
2013-02-18 13:52:25 -05:00
Jonathan Lipps
45efbf6d9d
round out xpath finding logic
2013-02-15 16:41:07 -08:00
Jonathan Lipps
ed6fb344a5
initial searching by xpath logic
2013-02-15 15:44:30 -08:00
Jonathan Lipps
cef7cea3dd
no difference between 'all' and 'desc' in root context
2013-02-15 13:05:01 -08:00
Jonathan Lipps
6fdcb30ed4
rewrite xpath parsing to return kind of descendance
2013-02-15 13:00:49 -08:00
Jonathan Lipps
bd5e0693ea
test organization
2013-02-15 11:53:14 -08:00
Jonathan Lipps
50dfbae0d3
more xpath parsing and unit tests for it
2013-02-15 11:52:22 -08:00
Jonathan Lipps
a063ac950b
initial work getting xpath regexes working
2013-02-14 16:50:39 -08:00
Jonathan Lipps
d7ff5c0df0
backwards compatibility fix for pyappium
2013-02-14 12:17:12 -08:00
Jonathan Lipps
ab18a9c57d
Merge pull request #187 from bootstraponline/fix_186
...
Fix 186
2013-02-14 10:16:55 -08:00
bootstraponline
0412eae8f8
Fix style
2013-02-14 13:12:27 -05:00
Jonathan Lipps
aaa19e7777
add style guide link to README
2013-02-14 09:25:39 -08:00
Gaige B Paulsen
ba033c349c
Add support for setValueImmediate
...
This new mobile: command restores the ability to manually set the value
of all objects, including UITextField using the direct setValue() JS in
UIAutomation.
By default, POST /value will generate keypress events in a UITextView,
as is in line with the webdriver specification. With this additon, you
can now use the 'old' appium method of setting directly with setValue
by using:
mobile:setvalue [{ element: elementID, value: value }]
2013-02-14 10:44:25 -05:00
Gaige B Paulsen
8ce29bbe89
Object leak removal, and some work at removing the file descriptor leaks coming from the unix domain sockets.
2013-02-14 10:42:59 -05:00
Gaige B Paulsen
7d0e2c2daa
Change /value to send keys as per spec when used with text fields
2013-02-14 10:41:51 -05:00
Jonathan Lipps
388baad37e
add mobile: hideKeyboard method for hiding keyboard based on key name
2013-02-13 18:46:04 -08:00
Jonathan Lipps
e5b2b8ae88
don't show errors from debugger if they're meaningless
2013-02-13 15:45:20 -08:00
Jonathan Lipps
0a98f4e758
Merge pull request #181 from bootstraponline/fix_wrap
...
Status is never undefined
2013-02-13 15:43:27 -08:00
Jonathan Lipps
fec770c0fa
better messages when we try to use a strategy that doesn't exist
2013-02-13 14:47:34 -08:00
bootstraponline
9ac362b31d
Status is never undefined
2013-02-13 17:12:04 -05:00
Santiago Suarez Ordoñez
c51422d42b
log some more info to figure out what's going on with these messages
2013-02-13 14:08:10 -08:00