Open TuHuynhVan opened 7 years ago
Hi there,
If by interact you mean list devices, start apps, take screenshots, install software, restart devices, etc. then sure, you can do that with this library (or by using libimobiledevice).
However, if you mean actually interacting with apps installed on the phone - then no, not with this library. As each app is essentially sandboxed, you can't interact with them remotely without building in some URL schemes or compiling your app with debug hooks and using something like Appium or Calabash to run scripts to perform actions specific to that app.
Hope this helps.
Thank you so much for your quick answer! I got it. I thought we can have features like openSTF.
I also took a look on Hive Mind and thought that we can interact with iDevices via Web Interface.
No problem and there's one of the reasons why openSTF only supports Android!
Hive Mind is more of a device catalogue than an interactive device manager although the team did have plans to implement that (at least for Android) at some point in the future.
Thank you! Btw, may I pick Hive CI or Hive Ci to start automation test for iDevies with java script frameworks? I meant, does Hive CI or Hive mind independent from automation testing framework?
Short answer: Yes, you can use any testing framework.
Longer answer: Tests are run automatically by a script running on the hive which will run tests against the device that picks up the job (it uses a queuing system to ensure that devices pick up jobs). This script is how the tests are run and so it's actually testing framework agnostic - provided you can start running your tests via the command line, you can start it from within the Hive.
We have some documentation here and my basic answer is covered in more detail here
Thank you so much. Going to give a try!
Actually it's a question but I don;t know where to contact to.
Can we interact with iDevices via Web Interface?