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

Hey,
what are exactly the commands sent from appuim by sockets like
"target = $.target();" "au.getWindowSize()" "au.getElementByName('Arizona')" "au.tapById('0')".......,
these are not xcode automation commands right!,
and is it possible to execute xcode automation commands through appium like "UIATarget.localTarget().frontMostApp().mainWindow().tableViews()1.cells()[14].scrollToVisible()"

  • created

    Feb '16
  • last reply

    Feb '16
  • 4

    replies

  • 953

    views

  • 2

    users

  • 2

    likes

HI @Deep_Dark,

you can achieve it though java executor....By passing"UIATarget.localTarget().frontMostApp().mainWindow().tableViews()1.cells()[14].scrollToVisible()" as arguments.

@Mani_Maran_Chandraba Hey, thanks!

but what do you mean in java executer, you mean from java code something like:
currentDriver().execute(driverCommand, parameters)
but what i should send here?

Or do you mean the executer inside the server code somthing like this:
this.proxy("au.getActiveElement()", cb);

Sample code:

JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("UIATarget.localTarget().frontMostApp().mainWindow().tableViews()1.cells()[14].scrollToVisible()");