HI
As per the test case, we need to disable mobile network/data. How to achieve this from the groovy script.
I have tried dumpsys window windows | grep -E ‘mCurrentFocus’ this command and given activity and package in the desired capability and was trying to run.
But I’m getting
Unable to start app at: ‘com.android.launcher3’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The application at ‘com.android.launcher3’ does not exist or is not accessible (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 192 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘W10B0Q5VN2’, ip: ‘172.21.231.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: driver.version: SwipeableAndroidDriver)
Please help me to resolve this