We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
case "mobile": System.out.println("Application is opening... "); DesiredCapabilities cap = new DesiredCapabilities(); if(runOn.equals("172.30.55.229:5555")) { cap.setCapability("app", path+"//App//store.apk"); cap.setCapability("platformName", "Android"); cap.setCapability("deviceName", "atv"); cap.setCapability("appWaitActivity", "com.atv.shopping.store.ui.activity.SplashActivity"); cap.setCapability("appPackage", "com.atv.shopping.store"); cap.setCapability("udid", "172.30.55.229:5555"); driver = new AndroidDriver(new URL("http://127.0.0.1:4729/wd/hub"), cap); }else if(runOn.equals("AIRCLRE66HEQROR8")) { cap.setCapability("app", path+"//App//mobile.apk"); cap.setCapability("platformName", "Android"); cap.setCapability("deviceName", "mobile"); cap.setCapability("appWaitActivity", "com.example.flutter_atv_store_app_p.MainActivity"); cap.setCapability("appPackage", "com.example.flutter_atv_store_app_p"); cap.setCapability("udid", "AIRCLRE66HEQROR8"); driver = new AndroidDriver(new URL("http://127.0.0.1:4726/wd/hub"), cap);
-
The text was updated successfully, but these errors were encountered:
No branches or pull requests
case "mobile":
System.out.println("Application is opening... ");
DesiredCapabilities cap = new DesiredCapabilities();
if(runOn.equals("172.30.55.229:5555"))
{
cap.setCapability("app", path+"//App//store.apk");
cap.setCapability("platformName", "Android");
cap.setCapability("deviceName", "atv");
cap.setCapability("appWaitActivity", "com.atv.shopping.store.ui.activity.SplashActivity");
cap.setCapability("appPackage", "com.atv.shopping.store");
cap.setCapability("udid", "172.30.55.229:5555");
driver = new AndroidDriver(new URL("http://127.0.0.1:4729/wd/hub"), cap);
}else if(runOn.equals("AIRCLRE66HEQROR8"))
{
cap.setCapability("app", path+"//App//mobile.apk");
cap.setCapability("platformName", "Android");
cap.setCapability("deviceName", "mobile");
cap.setCapability("appWaitActivity", "com.example.flutter_atv_store_app_p.MainActivity");
cap.setCapability("appPackage", "com.example.flutter_atv_store_app_p");
cap.setCapability("udid", "AIRCLRE66HEQROR8");
driver = new AndroidDriver(new URL("http://127.0.0.1:4726/wd/hub"), cap);
The text was updated successfully, but these errors were encountered: