@BeforeSuite
public void setUp() throws Exception {
//Start selendroid-standalone during test
SelendroidConfiguration config = new SelendroidConfiguration();
// Add the selendroid-test-app to the standalone server
config.addSupportedApp("F:\\Seleandriod\\OFCOne.apk");
//start the standalone server
SelendroidLauncher selendroidServer = new SelendroidLauncher(config);
selendroidServer.launchSelendroid();
// Create the selendroid capabilities
SelendroidCapabilities capa = new SelendroidCapabilities();
// Specify to use selendroid's test app
capa.setAut("io.selendroid.androiddriver:0.11.0");
// Specify to use the Android device API 19
capa.setPlatformVersion(DeviceTargetPlatform.ANDROID19);
// Don't request simulator, use real device
capa.setEmulator(false);
//capa.wait(10000000);
// Create instance of Selendroid Driver
driver = new SelendroidDriver(capa);
We are using HYBRID cordova app,
the execution fails at the line where SelendroidDriver(capa);
is getting initialized with the following error:
"The requested application under test is not configured in selendroid server"
We are using selendroid-standalone-0.11.0-with-dependencies version.
We have run on command line:
java -jar selendroid-standalone-0.11.0-with-dependencies -aut OFCOne.apk
Its giving following error:
"SEVERE: Error building server: The base package name of the apk resigned-OFCOne.apk cannot be extracted."
please give me some suggestion to resolve this error.