I need to test various alerts that comes when network disconnects at various points of test flows. So I need to disconnect iPad/simulator from network. Is there any way where we can toggle network settings during tests execution time from within the tests ?
I have searched and found it is not possible : Is it possible to disable the network in iOS Simulator? But, the response here is old , wondering do we have some approach now ?