Hello everyone,
I am new to Appium.
I need to do automation Network switching from Wi-Fi to 4G and 4G to Wi-Fi.
Can anyone please help me to get automate this. I am using headspin cloud devices.
Thanks
Hello everyone,
I am new to Appium.
I need to do automation Network switching from Wi-Fi to 4G and 4G to Wi-Fi.
Can anyone please help me to get automate this. I am using headspin cloud devices.
Thanks
just enable/disable WiFi. with android you can use -> http://appium.io/docs/en/commands/device/network/toggle-wifi/
I don’t find option toggleWifi () in eclipse. Do i need to modify something ?
Below is desired capabilities
@Before("@iPhoneSafari")
public void SetupSafari() throws MalformedURLException {
DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability(“deviceName”, “iPhone”);
desiredCapabilities.setCapability(“udid”, “XXX”);
desiredCapabilities.setCapability(“automationName”, “XCUITest”);
desiredCapabilities.setCapability(“platformName”, “iOS”);
desiredCapabilities.setCapability(“platformVersion”, “12.4”);
desiredCapabilities.setCapability(“browserName”, “Safari”);
URL remoteUrl = new URL(“XXXXX”);
base.Driver = new IOSDriver(remoteUrl, desiredCapabilities);
}
If anyone have any network switching script snippet. Could you please share as sample.
Thankyou in advance.
Oh…Thanks much…
Any alternate option for iOS ?