Hi All,
I am unable to perform batch execution for scripts which have test cases on wifi on/off scenarios.
Example: To Login appn i need wifi to be On and after signIn have to disable Wifi to verify network disabled and after verifying it must Enable Wifi again To Logout from App.
Like these have written around 20 test cases of various scenarios to be executed in Single batch TestNgSuite .xml file.
Wifi won’t repsond correctly it may enable or sometime maynot enable.
Facing issue in Samusng J7 prime and Samsung galaxy S6 Edge,Nexus.
Andorid 7.0 and Android 6.0.1 OS used.
Please your support is precious.
Used
Adb command:
Runtime.getRuntime().exec(“adb shell am broadcast -a io.appium.settings.wifi --es setstatus enable”);
Note: Single testcase execution works fine.
With regards
VijaySimha