Skip to content
New issue

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

java.lang.NullPointerException: null value in entry: lastScrollData=null #3

Open
chetanJTH opened this issue Feb 28, 2022 · 0 comments

Comments

@chetanJTH
Copy link

  • I tried launching the different apps on both devices configured in the grid. but it gives me the error mentioned above.

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);

- 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant