I’m using selenium Webdriver and writing a script with Rubygems. I would like to test an app on a physical device. Unfortunately I’m receiving issue such as I’m missing platformName or other error messages regarding my desiredcapabilities.
My goal is to connect my phone to the computer and execute a script that will take the apk, initialize it on the device and run the script. I’m unable to get it to start. What am I missing or what do I need to add to my code so that I can initiate the app on my device?
I wanted to make sure my problem was explained a little easier. I’m using rubygems and when my script is executed I want the app (apk is on my laptop) to startup on my physical device and the rest of the script to execute.
When I manually run the apk from appium the app will start on the phone. I’m just having problems understanding how to get the app to start on the phone with a script.