Skip to main content
Participant
Nov 23, 2015 11:38 PM UTC
Question

Instrumenting the AIR iOS or Android application

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

Adobe Employee
Nov 24, 2015 5:22 AM UTC

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

Translate
Participant
Nov 24, 2015 8:04 AM UTC

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

Translate
yorammizrachi
Participant
Nov 25, 2015 7:26 PM UTC

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?

Translate