Has anyone automated this test scenario ?
I need to automate the upgrade test flow and need to confirm that the existing session doesn’t end.
This should be possible. I would try the following
- call out to a program like ideviceinstaller to install via command line (in ruby I would use “system”)
- Stop your driver
- Restart your driver
- Check to see your expected ui (session in tact)
Good luck!
This is how I upgrade iOS app on device only using .net
driver.CloseApp();
driver.InstallApp(appPathOfAppToUpgrade);
driver.LaunchApp();