Skip to content

iOS: calling findElementByIosUIAutomation(".scrollUp()") for element created by PageFactory causes InvocationTargetException #198

Closed

Description

@RetAdmFloyd

The following code scrolls the list but then throws InvocationTargetException:

@iOSFindBy(uiAutomator = ".tableViews()[2]")
private IOSElement filesContainer;
...
getFilesContainer().findElementByIosUIAutomation(".scrollUp()");

Here's the stacktrace: https://gist.github.com/RetAdmFloyd/fbb0ba98dbacad92a596
Though this code works well without any exceptions:

driver.findElementByIosUIAutomation(".tableViews()[2].scrollUp()");

Activity

  1. TikhomirovSergey commented on Nov 23, 2015

    @TikhomirovSergey
    Contributor

    It is most likely fixed long time ago or here #267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions