Hi gabo, good questions hope these answers help:
-
You install appium on a vm just like you would install appium anywhere else - appium.io should help you here.
-
A few different ways to go on this. Start appium on your Jenkins vm like you would on your machine. 2 processes: 1 for iOS, 1 for android on separate ports. Of course if you’re up for it there is selenium grid but that’s a whole other level
-
You can set up your emulators on the remote vm however you like. Just note that if you want to run multiple android emulators simultaneously, youll need to specify separate ports. Up until recently it was impossible to run multiple iOS simulators simultaneously. Facebook looks to have a solution. You can search on this board and online for more info.
Note: you could work this with real devices as well using usb (wifi adb to device I believe is possible - haven’t tried) ultimately, I would think you would have to have some level of physical access to this vm and it’s devices for this method to work
-
Lastly, you’ll have to change The driver setting in your scripts to the correct server and port. I’m using the ruby cucumber Appium.txt setup, so I would do this in the appium_lib section
-
As you probably know now, sauce labs is offering a real device cloud as well as Amazon and bit bar. - they can do a lot of this for you if you’re willing to pay
Good luck!
Eric