Can I automate with webdriver an iOS web application from Windows PC? - iphone

I have seen on http://code.google.com/p/selenium/wiki/IPhoneDriver that to use selenium webdriver tests on a real device for UIWeb, you need the iphone SDK and a provisioning profile. I want to write my selenium webdriver tests for iphone in Java (Eclipse).
Can i run test cases for ios as from a windows machine?Mac machine is compulsory to run tests? indeed, testers who design tests are used to on Windows and have no knowledge on Mac. Thank you
May I also ask if one can use webdriver to automate native, hybrid ios mobile app?
Once Iphone SDK is checked out from repo, may I run tests with any browser, like safari, firefox, chrome...?
Please help me

Only solution is Virtual Machine + Hackintosh but is not legal.
Download this
Read guide and install it, if your machine is Intel feel lucky,
there are a lot of issues with AMD
Run VM with MacOS and download on it xCode and install it
Get trunk project from checkout from here
Build trunk in xcode
Now it will open emulated Iphone or Ipad (from what you choosed)
Go to emulated iphone and get IP
Run WebDriver app from emulate Iphone
Now run test like that WebDriver driver = new RemoteWebDriver(new URL("yourip/wd/hub"), DesiredCapabilities.iphone());
P.S. I don't remeber all points correctly so good luck

Related

Can we build iOS apps on Windows using flutter?

Can we build iOS apps on Windows using flutter?
If we use iPhone and connect it with windows using the cable and run a flutter app then will it work, then can we test the application on the iphone?
no, and yes
You can't build for iOS, without a mac
But you can install virtual box, and install macOS on it, then you'll be able to build for iOS
But that's quite a complex task to do(it was for me, when I tried to do it on my ubuntu), even if you get success with it, it'll consume so much of your computer's resources, and the performance can be poor as well
Personally tried on i5 9th gen, with 4gb graphics, and 8gb ram laptop
You can use the CLI tool Appollo to do that. Check a demo : https://www.youtube.com/watch?v=ZX3DAMwlEfM&t=10s
To install it run pip install appollo in your console then configure your Apple Developer Account with Appollo : https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html
And then you just have to build and publish your app
appollo build start --build-type publication

Can I run IOS app built by ionic2 for a simulation on Windows?

Are there any ways to simulate ionic hybrid apps on Windows 7 without using MacOS or virtual machine such as VMware/virtual box?.
Specifically, I read ionic documents and references and tried to apply sim-ios & sim-deploy on Windows 7. However, on Windows, sim-deploy seems not supported.
and the information I am looking for related to this is pretty much out-dated.
NO..., To simulate a app you need Xcode installed which you cannot on windows, You can get away with browser testing using Chrome built in browsers but that's about it.
I had the same issue when I wanted to Deploy a IOS app on windows

Telerik Nativescript for Blackberry

We know that Blackberry 10 can run Android app. Does somebody tried Telerik Nativescript for Android and make it run for Blackberry 10?
If so, is it possible to explain the steps to be able to do it? Does Webworks gives any help?
Telerik NativeScript for Android does indeed work on BlackBerry OS 10 I've tried on (10.3.2.2474). I'll list some tips to get you started, but please keep in mind that NativeScript doesn't officially support BlackBerry OS.
Deployment with the {N} CLI tool (tns) might be problematic - it produces an apk for the app, but it can't deploy it on the device itself, so you need to transfer it somehow and install it on the device.
Alternatively you can use Telerik AppBuilder to build the app (either version will work - VS plugin, CLI tool, Windows or Web clients) and deploy it on the device via QR code scan and install. However, apk installation is a bit slow process on a BB10, so you may choose to use the NativeScript companion app for development. Deployment to the companion app is done via QR codes - it has an integrated QR code reader - and since no installation is necessary, development cycle is faster. There is a small issue with the app - it may seem to crash on the first run, but you can still find the Sync and Scan buttons in the BlackBerry Hub, which you can use to scan the code and start your app.
Releasing the app in the BlackBerry store is out of my scope, but you can check these documents:
https://developer.blackberry.com/android/documentation/rpkg_with_bb_plugin_for_android_stdio.html
https://developer.blackberry.com/android/documentation/publsh_your_app_to_appworld.html
Make sure you've built the app for release as mentioned.
Let me know if this helps.

How to install a .bar file hosted in a remote server to a BlackBerry 10 Dev Alpha device

I have port an Android application to BlackBerry using Android Runtime. I can install that application successfully using Eclipse. Now I want to put those deploy files (MyApp.bar) in to a remote server and download the .bar file using a browser and install it to another BlackBerry 10 Dev Alpha device. I was able to download but unable to install the .bar file. What should I do?
I believe that you are looking for an app or tool that you can run from a BB10 device itself to install the .bar file, after you've already downloaded it. There used to be a tool like this for the Playbook, but it seems to be no longer maintained and Blackberry (RIM) have blocked the method this app used to perform the install in newer version of the Playbook OS (and presumably BB10 as well).
A solution which has been reported to work by some in the Blackberry Developer forums is the Playbook App Manager as a Firefox or Chrome plugin. You can use this plugin from the browser on your PC to push the .bar to your other Blackberry 10 Dev Alpha device over the network.
If that doesn't work, that leaves you only with external tools that you already know work like the Eclipse plugin, and you could also use the command line tools like blackberry-deploy or batchbar-deploy installed with the SDK.
Finally, crackberry.com has a tutorial on sideloading Android apps using the DDPB third party app, which requires Java and .Net (so the browser plugin tool is really preferred).

Testing GWT application on Mobile Emulator

I want an android and iphone emulator to run on windows to test my gwt application on windows. can someone point me to a proper emulator because i've been trying some with no success
The official iPhone simulator does not run on Windows. Seems you have to get a Mac ;-)
However the Android emulator can be installed pretty much anywhere:
http://developer.android.com/guide/developing/tools/emulator.html
If you point the Andorid browser in the emulator to your GWT application you should be able to test it. You can find messages from the browser in LogCat, watch out for the logging tag WebCore. You can even log from within your code and get the output in LogCat, see:
http://developer.android.com/guide/webapps/debugging.html