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

Hello!

I have an Appium test to run certain actions in an iOS app on a device. I need a close to real-time communication channel to report certain actions executed in the app from the device to the test host so test host can react and behave accordingly. For example, a user presses a button which executes business logic, this logic generated some metadata which I want to be able to read from the test host.

For now, I came up with the only channel - files. The app can write metadata to files and test host constantly read updates from it using session’s pullFile method. This approach has some complexity around monitoring logic and delays in delivering messages.

Are there any other communication channels from a device to a test host I miss?

  • created

    Feb '19
  • last reply

    Mar '19
  • 2

    replies

  • 351

    views

  • 2

    users

  • 1

    link

iOS is pretty limited from this perspective. An effective approach would be to implement a backdoor communication web socket on the application’s side, but this will require additional coding and may compromise application’s security if not implemented properly