Skip to main content
Participant
November 23, 2015
Question

Instrumenting the AIR iOS or Android application

  • November 23, 2015
  • 1 reply
  • 435 views

I'm looking to use automation tools to test against my apk and ipa files on real devices. These automation tools need viability to the UI object IDs. This may be known as instrumenting the application. Is this at all possible using the AIR runtime environment?

This topic has been closed for replies.

1 reply

Adobe Employee
November 24, 2015

Hi,

For Android, you can use the UIAutomator framework to automate the UI for AIR android apps. To get the info regarding UI objects used in AIR android app, you can use the uiautomatorviewer tool which comes with the android sdk(location: sdk/tools/uiautomatorviewer).

Hope it helps.

Thanks,

Adobe AIR Team

Participant
November 24, 2015

Thank you, I hope that helps too. I'll know shortly. I need to be able to expose the objects via the adb interface.

Can you tell me if there is a method to expose the oids on iOS?

Thanks in advance.

Greg

yorammizrachi
Participant
November 25, 2015

tried it and it's not giving the information. you can see in the example below that only the higher level is displayed but not the fields (united states, english or the button in this example)

do we need to change anything in the way we compile the app?