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

Just released v1.7.0

IMPORTANT CHANGE: The scrollTo() and scrollToExact() methods have been removed because they used the ComplexFind method, which is no longer part of appium. I wanted to release this update because new methods for appium that people want to use.

We will definitely re-add the scrolling methods, but first we have to implement another change:

PLANNED CHANGE TO JAVA-CLIENT: Some commands only work on iOS while others only work on Android. This is confusing and not well documented. We're planning on making two new classes AndroidDriver and IOSDriver which will inherit from AppiumDriver. You can discuss your opinion of the change in this topic, or on github18

Here's rest of the changelog for the new release:

  • Removed scrollTo() and scrollToExact() methods because they relied on complexFind(). They will be added back in the next version!
  • Removed complexFind()
  • Added startActivity() method
  • Added isLocked() method
  • Added getSettings() and ignoreUnimportantViews() methods
  • created

    Sep '14
  • last reply

    Nov '14
  • 20

    replies

  • 3.5k

    views

  • 7

    users

  • 4

    likes

  • 7

    links

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