You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I am trying to do is to use it directly as Robolectric unit tests in Android Studio. The problem comes when I create a new AndroidDriver():
new AndroidDriver(new URL("http://0.0.0.0:4723/wd/hub"), capabilities);
The selenium driver uses the apache-http client which in Android is not complete so there are missing classes from the preloaded one. My next step is to use Jarjar to stitch together a new version of http client in the Android SDK jar.
Not sure if it worths the pain, but I would like to discuss if this sounds like a good idea (fake the UI tests as unit tests)?
A different option is of course to create a different project only to test the apk.
Activity
Jonahss commentedon Mar 24, 2015
Hmm. Yeah it would be nice if users could run their tests directly from Android Studio. Didn't realize they weren't able to.