jeudi 5 janvier 2017

Getting log as The following desired capabilities were provided, but not recognized by Appium

Below is the parameter I have set to get Appium session but I got error desired capabilities not recognized by appium for no-reset, app-activity, app-pkg, session-override, pre-launch below is my code snippet.

switch (platForm) {
    case "Android":
        capability.setCapability("platformName", "Android");
        capability.setCapability("deviceName", "emulator-5554");
        capability.setCapability("app-pkg", "com.f24.alert");
        capability.setCapability("app-activity", "com.f24.alert.LoginActivity");
        capability.setCapability("app",dataSutiteBaseData.AppUrl);
        capability.setCapability("session-override", true);
        capability.setCapability("no-reset", false);
        capability.setCapability("pre-launch",true);
        break;
    case "IOS":

Aucun commentaire:

Enregistrer un commentaire