Although the question doesn’t related to Appium , but to automated mobile testing …
I’m trying to automate some scenarios with Appium , the test cases are validate App behaviour under different types of internet connections.
I’ve tried to work with Network Link Conditioner , and it works grate , but the thing is I need the network’s within the automated test. As far as I understand , Network Link Conditioner doesn’t provide any external API … I’ve seen that on previous versions of OSX the network control could be achieved by ipfw command , but unfortunately , the ipfw was deprecated by apple.
Any idea how I can control the network connection programmatically ?
Thanks