示例#1
0
        static iOSApp PrepareDevice(string device)
        {
            Assert.NotNull(AllDevices[device], "Device " + device + " not found");

            iOSApp app = ConfigureApp
                         .iOS
                         .AppBundle(BundlePath)
                         .DeviceIdentifier(AllDevices[device])
                         .EnableLocalScreenshots()
                         .StartApp();

            app.Invoke("activateTestEnvironment:", "true");

            return(app);
        }