It is possible to test multiple IOS devices with OSX Server and Xcode Server.
https://developer.apple.com/videos/wwdc/2014/
Continuous Integration with Xcode 6
I hope I have understood the problem correctly.
The Problem with test multiple IOS devices is. That instruments can run only one device at a time.
With XCode Server it should bepossible to run more then one device at the same time.
Has anyone tried this?
Can Appium handle multiple sessions out of the box or Appium changes are required?
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/000-About_Continuous_Integration/about_continuous_integration.html#//apple_ref/doc/uid/TP400132921
Related
I'm working in a project of develop a responsive webapp and I'm in charge of creating automated tests in order to test everything in 3 different places, Desktop web, Android web and iOS web with RobotFramework and Appium Library
Desktop and Android it's not the first time I've done it so I quickly configured everything, on the other hand I never tested or even develop anything for iOS (not even used an iPhone irl) and I know from a past experience that XCode has required to send data to the phone, in a similar way to adb for Android.
The real question that my research was not able to respond is: Is a MacOS environment running XCode needed in order to run regression tests? Or is it possible in someway just use Windows, Robot and a physical phone/emulator to run regression tests?
In the case that a MacOS is required do I need Apple Developer ID? (I remember a few years back that it was required for any iOS related development).
In case you're using MacOS and running with Real Device iOS you will require to have Developer Account to provision profile WebDriverAgent or Otherwise you need to have certificate from your developer to install on your Mac. Create Your Apple Dev Account. And if you want try with Windows you can try with Appium Studio.
Yes, you need a MacOS to test with Appium/AppiumLibrary and Robot Framework.
You don't need an Apple Developer ID to test on iOS (only need it when publishing apps to Apple Store).
It is obvious that we can run iOS App (.ipa, .app) in UITest mode from MacOSX using Xcode or Xcode command line tools.
But I saw some test-automation tools, who can launch App in UITesting mode (Appium Studio, QUAmotion, Ranorex, ..etc) from Windows 10. They are even giving back elements. (which is possible only in UITestMode)
As per my knowledge, UI Testing mode is only supported on MacOSX with Xcode because Xcode has a testManager which it uses to manage the Testcases while running. As for iOS Device attached to windows. LibiMobileDevice with the help of itunes gives functionalities like installing, running, uninstalling etc.
Can any one explain or help me with some library (paid or free )that can help me in Launching iOS app with UI Testing mode on iOS Device from Windows 10 ?
I work for Quamotion, one of the companies that you mentioned. You are right, we can run iOS appliations in UI Test mode on Windows and Linux, just like other vendors such as Ranorex.
If you're still interested, I'd be happy to help you getting started with launching iOS applications in UI testing mode on a real, physical iOS device in Windows 10.
The best way for you to get started would probably to download the latest version of Quamotion, request a 2-week trial license and start one of the tutorials.
For example, we publish a hands-on-lab which shows you, step by step, how you can automate the Acquaint iOS application on a real iPhone from a Windows PC.
I have Mac with installed OS X server. We can remotely install iOS app. But we need to run Xcode UI and Unit tests remotely. The problem is that tested devices has connected lightning MFI device and cannot be connected to Xcode computer. Our goal is to run UI and Unit tests remotely and transfer results to server by Air. Could anyone please propose any suggestion how we can do it?
Finally I got a final answer from Apple:
I did investigate if there were any workarounds or alternatives to get UI Tests to run without an active connection to Xcode, and unfortunately I found this was not possible. I also investigated if you could run UIAutomation tests wirelessly since Instruments supports collecting data wirelessly. Unfortunately that support does not extend to the Automation instrument, so it is also not possible to run UIAutomation tests without a lightning cable connected.
I am able to get the UI iOS automation under control by using command line. But I would like to get the iOS automation running without real devices or simulators, but to determine if the tests are passed or not by reading the logs. Is it possible to do so? Thanks!
UI test framework use UI Testing in Xcode7, and CI System use OS X Server.
I am planning to do some calabash testing using more than one IOS device. I want to run the tests on a mac mini, however I am not certain if it is possible to run and test more than one device using only a single mac mini. The reason I am asking this is that I have to test two or more devices up against each other. Do anyone know?