This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
21 / 21
Nov 2014

Thanks for the info!

What will be the options to scroll to an specific element?

Also, is there any news about the swipe method?

I'll fix the javadoc. Not sure what happened there.

ScrollTo will definitely be back as soon as we do the refactor which splits it into two separate clients.

If you use scrollTo, you can just stay on the previous version, since the only additions are the commands mentioned above.

Thanks @jonahss .. Its very neat now.

It will be great if the documentation is more descriptive. Currently I feel its very abstract.

As in the example below, its difficult to understand values "using" will take. If some explanation saying, String value having UISelector data will help.


public org.openqa.selenium.WebElement findElementByAndroidUIAutomator(String using)
Specified by:
findElementByAndroidUIAutomator in interface FindsByAndroidUIAutomator

i am trying to understand new APIs. From java doc, i am not getting clear info.
what is the usecase for these apis:
startactivity(), getSettings() and ignoreUnimportantViews().

11 days later

Pull requests for documentation welcome!
The thing is, we usually add documentation to the main Appium project, and the clients aren't documented as much. Maybe I'll provide links there?

12 days later

Doesn't work for me. It involves specifying an element that is not visible, which triggers an exception, which halts the tests and closes the simulator:

error: Unhandled error: TypeError: Cannot read property 'status' of undefined
at null. (/usr/local/share/npm/lib/node_modules/appium/lib/devices/ios/ios-controller.js:169:19)
at Object.cb as callback
at next (/usr/local/share/npm/lib/node_modules/appium/node_modules/async/lib/async.js:801:43)
at /usr/local/share/npm/lib/node_modules/appium/node_modules/async/lib/async.js:32:16
at null. (/usr/local/share/npm/lib/node_modules/appium/lib/devices/ios/ios.js:1273:36)
at Object.q.process as _onImmediate

10 days later

Related to the ScrollTo, I was trying to use that as a work-around for Swipe, but it won't work for me because I'm trying to swipe on a slider. I'll need and option to trace all the way from one point to the other. Probably ScrollTo won't work for that.

Those exist @Neto18. You can draw touch actions which follow a path drawn between arbitrary points. Check out this image appium drew on a multi-touch paint program :smile:

@jonahss I need that!
Is it part of the Appium/WebDriver lib?
could you please give me some extra info related to that?

I think this is what you are looking for

12 days later

Hmm Okay ,just wanted to know what features are being worked on at the moment for the next release, will come up with features which can be implemented.
Thanks @jonahss for your quick revert.