Launching iOS App in UI Testing Mode from Windows 10 - ios

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.

Related

Run flutter app on iOS from android studio

So I'm trying to build an app on flutter SDK using the android studio platform and now I want to run it on an iOS device. I've serched on google like 1h but I couldn't find anything(they only said how to run it on MAC which I don't have) . Is there any way how can I run the app from my android studio (or output the iOS app like the android app file which I can find in the project folder?)
I believe your asking how to run your app on a physical iOS device which you can find on flutters website scroll down a little past half way and you will see a section called deploy to iOS devices. Since you don't have a mac testing on a physical device would be your only other option because you can not run a iOS simulator on anything but a mac computer. Gotta love apple :)
If you are without a mac there are some options to you. I will link to a couple articles below. Your best option is to get access to a mac I understand this isn't an option for everyone.How to sign Flutter apps for iOS automatically without a MacDeveloping and debugging Flutter apps for iOS without a Mac

Automated tests in iOS with RobotFramework

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).

Can you build a react-native iOS app using WINDOWS?

Can you build for iOS with react-native on Windows?
Or does it require xcode?
If so, any work arounds?
I dont want to work on a mac... or a mac vm.
I think the app you create with react-native will work with iOS but you might just have to develop it without an iOS SDK. (essentially, you can't really see the app in a virtual iOS device whilst developing).
However, i think if you develop the app for android using android studio SDK with react native, the app should also work with iOS as well. It's just that you won't really be able to see the app in development on a virtual iOS device.
Another option is to use expo when using react native. Essentially, it displays your app on your iphone so you can technically do app development whilst viewing the app on an iOS device, but I don't think its that great as you can only see it on your phone, whilst I prefer to use a virtual device on my laptop.
You can view documentation for expo in the react native docs here:
https://facebook.github.io/react-native/docs/getting-started
I'd recommend you to just develop the app for android using the android SDK from Android studio. This also works with expo or react native CLI. Although you may have to develop the app in a virtual android device, I think the app also works with an iOS device (it may just look a little bit different e.g. a button in android will look different to a button on iOS)
Here's a tutorial that really helped me with learning React-Native:
https://www.youtube.com/watch?v=NuZOwsmzcro
Just follow the steps and make sure you install an android SDK. Then once you get to around "9:25", instead of starting up an iOS emulator from an iOS SDK, start up the android one from android SDK, then hit the button "a" to choose android and you're all set!
The short answer is NO. iOS apps need to build on a Mac. However, if you have a cheap old Mac, or even a Mac cloud account, you can effectively do the equivalent while (almost) never touching the Mac. Of course, this assumes that it has been setup up once, and builds via Xcode or Xcode command line. Once that is done, you can automate it so that you're working and testing only on the PC.
For example, I once took over a React Native project where the previous developer did something similar. Because it was a generic interface, he coded on his PC, then tested via the Android emulator without ever testing for iOS. At that point you can simply push code to GitHub (manually, or with something like Fastlane or a user script). Separately, you have a script on that old Mac or online Mac-as-a-service that checks periodically and builds when the code changes. There were some times when the Mac needed special attention, but for the most part, it worked solely on one machine.
Namely, you can not run IOS Simulator on windows. But you can access a virtual IOS machine and run Simulator from windows virtually as a solution..

Why cant I build apps on my PC but I can on my mac? Xamarin

So I got my MacBook pro yesterday in hopes of developing some local apps to build on my phone.
And after setting everything up, Visual studio on my mac and XCode, and I already had Visual Studio on my PC things started messing up.
I tried debugging my app on my phone from my PC, with the phone connected to my PC ofcourse, didnt work, so I read around on the internet for a good 4 hours and it said that I should create a blank project in XCode, and for the Signing in preferences I had to choose Team, so I did and it debugged the application on my iphone when my iphone was connected to my Mac,
However I DONT want to code on Mac computers, I want to use my PC.
But everytime I try to debug the application from my PC it keeps saying
Could not find any available provisioning profiles for iOS.
I am running a iPhone 7 with the version 10.1.1 because I dont want to update due to various reasons.
I tried changing the Deployment target to something really low but that didnt fix it.
Why is this happening?
Visual representation of what the error looks like
Not sure if this picture helps, this is the project properties > iOS Bundle Signing
And my device log is empty aswell.. Why?
ANother error message saying it doesnt support
EDIT
I plugged it into the mac and now its visible in the Device log and I can see stuff happening in the device log but I still cant boot the project on my iPhone
Apple doesn't allow developing for iphone on a non IOS device. This simply means that you can't build apps on a Linux or Windows computer/laptop the normal way. You are stuck on building your project on an IOS device.
There are 2 options to fully develop on a Windows laptop though.
One way of doing so is by using your mac as a gateway to send your app from Windows to IOS to your phone. More info about this can be found here:
https://learn.microsoft.com/en-gb/xamarin/ios/get-started/installation/windows/
The second option is a newer one called Xamarin Live Player. You don't need to use a mac at all for developing, but you still need a mac if you want to publish the app. This option also works differently from normal development as you need to download an extra program on your phone.
https://www.xamarin.com/live
You could try to do manual provisioning. Create a development provisioning profile at the Apple Developer site, and have XCode download it for you. Then it should show on your PC for you to select.
See the Xamarin documentation on manual provisioning for some more details:
https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/manual-provisioning?tabs=vsmac#creating-a-development-provisioning-profile

How do I test my NativeScript application on the device and am I in Windows?

I'm using a translator because I speak Spanish. I hope they understand me. I'm starting in Nativescript and I have a test application running on an Android emulator, so I want to test that application on my ios device. I have read that to run the command tns run ios it is necessary to do it in mac but I have Windows Any way to do it? , I have also read about Telerik but I still do not know what it is about
in windows is imposible to test IOS, you need to do it on a MAC OS because you need XCode to compile to IOS, even in MAC you need an IOS developer account because of the profiles.
Best regards!

Resources