android - How do I attach the specific app to Selendroid test suite? -
how 1 attach specific app tested selendroid
? i've seen example test app displayed virtually everywhere, well, have place apk under test? tried use id of app this:
selendroidconfiguration config = new selendroidconfiguration(); config.addsupportedapp("io.selendroid.testapp:0.17.0"); selendroidlauncher selendroidserver = new selendroidlauncher(config); selendroidserver.launchselendroid(); desiredcapabilities caps = io.selendroid.common.selendroidcapabilities.android(); selendroidcapabilities cap = new selendroidcapabilities("io.selendroid.testapp:0.17.0");
but keep receiving errors: sessionnotcreatedexception
. causing this? how attach specific app java
project tests?
seems issue caused not giving correct path apk.
here should give path apk, giving package name of app
config.addsupportedapp("io.selendroid.testapp:0.17.0");
the fix then
config.addsupportedapp("c:/users/madis/documents/selendroid.apk");
Comments
Post a Comment