Integrating Appium and Code magic #1761
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?React Native Steps to reproduceMy requirement is without using any kind of cloud-based mobile device or a real device , can we run our Appium script only with using code magic. ie; headless mode without using real/cloud based mobile devices. Expected resultsI want to run my wdio.conf.js file automatically when the build generation completed in code magic. Actual resultsNo Result Build id (optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hi @Anandhakrishnansm, You can use Appium and inbuilt emulators on build machines to run the tests; please check this doc which serves a good starting point. Let us know if you hit any roadblocks. |
Beta Was this translation helpful? Give feedback.
-
Hi @himesh-cm "You can use Appium and inbuilt emulators on build machines to run the tests" - Build machines means- is it my machine or the codeMagic virtual machine ?? because its's says :- "In the context of CodeMagic, the build machines do not provide inbuilt emulators for running tests with Appium. CodeMagic primarily focuses on building and deploying mobile applications rather than providing inbuilt emulators or simulators for testing purposes." From my understanding, We need a target device(virtual or real) to run our Appium automation code. It would be great if you can confirm this. Regards, |
Beta Was this translation helpful? Give feedback.
-
@himesh-cm Please find the diagram given.
Please note : I don't want to use a real/Cloud based mobile devices to run my appium script. I want to run it in the same virtual machine created by codemagic for the build generation Is this requirement possible? |
Beta Was this translation helpful? Give feedback.
-
Hi @Anandhakrishnansm , While I’m closing our discussion for now, if you have any other questions or suggestions, feel free to reply back or start a new discussion anytime. Have a nice day! |
Beta Was this translation helpful? Give feedback.
Hi @Anandhakrishnansm, You can use Appium and inbuilt emulators on build machines to run the tests; please check this doc which serves a good starting point.
Let us know if you hit any roadblocks.