How do you run DalekJS on iOS? - ios

I've got DalekJS running really well on WinLin, but am interested to know exactly what the process is for running it on iOS.
http://dalekjs.com/docs/ios.html
When running on Windows, for example, I install the DalekJS npm globally, and then install the IE web-driver, before executing my test suite.
On iOS am I expected to do the same thing? Can you install NodeJS on an iPhone? Is there a difference in doing it on the actual device, vs doing it through the emulator?
Also, what are the current obstacles in making it run on iPad?
Thanks!

Dalek will not run on the IPad/Iphone etc. itself (neither will or must NodeJS), it uses the native debugging tools that come with the dev environment through Appium.
Unfortunately, due to some changes that happened in MacOS 10.8 & 10.9 (Changes in the user rights management, etc.) it can only do this in the simulator. We are working on bringing back support for "real" devices with the next version of DalekJS.

Related

How to get Flutter Application running on real ios device with Windows?

Is there a way to get a Flutter Application running on own ios device with Windows and without paying money?
No, it is not possible to run an iOS simulator on Windows.
The reason for this is the following (highlighting is mine):
Simulator allows you to rapidly prototype and test builds of your app during the development process. Installed as part of the Xcode tools [...]
This means that iOS simulator come only with Xcode. And Xcode is only available on MacOS.
This means that you will either need to run MacOS yourself or use a service that runs your app on MacOS for you.
See also: https://stackoverflow.com/a/28573/6509751
For Flutter this means that you will have to test your code on Android, Desktop, or Web locally. You can still run an iOS simulator in your CI or do something similar to what was described in the answer linked above.

ios appium test on windows

I was looking for information about how to test IOS apps with Appium, and I saw that all documentations are using Mac for demonstration. I wondered if I test run local tests and use Appium's IOS-inspector on Widnwos. So far I have found one source stating that it is impossible unless I install Mac Os on visual desktop. So I wanted to make sure that I have to use a Mac Os system to test IOS applications on iPhone/iPad, etc. Thanks!
Indeed you have to use Mac OS to test iOS apps, it will be a lot easier than to try and install a virtual machine trust me, since Appium it's a pretty robust framework you will have a lot less problems if you run it on a Mac

How to run Appium with an iOS app

How do you use Appium with iOS? I know this question seems ridiculously simple, but actually you'd be surprised. There is apparently no documentation online that explains how to do this, except for perhaps youtube videos, which I can't watch anyway because my workplace disallows it.
I have a Mac. I have an app that is loaded in Xcode. I have the Appium desktop app running.
What do I do now?
BTW, I am already very familiar with Appium, as I have created tests for the Android version of the app.
Steps
install homebrew: to install and update the required packages easily
install Node.js
install Appium
install libimobiledevice: required to run our tests on real
devices
install ios-deploy: required to deploy our apps to our devices
you also need WebDriverAgent: to opens the apps when it is downloaded to the device
Visit IOS Mobile Test Automation Using Appium and JAVA to learn how to install and run appium with an ios app. Hope this will help you.

simple kivy application not running on android?

i'm trying to run kivy examples on my android emulator, i can build them and install them on my device without any problem but i can't start them. does anybody have this problem too?
i'm using android API 18 as target.
You can run adb logcat, then try to start your app. After it crashes, you can ctrl+c to stop logcat and search for "died". Your error should be shown a few lines before it says your app died.
First thing, I'm not clear...is your problem with an emulator or a device? Or you have different problems on each?
If it's an emulator, make sure you are using a recent android version (I think you need at least 4.1 or something), and it must have hardware acceleration enabled for kivy to work.
Either way, if the app installs but fails to start, that suggests something is crashing it at the initialisation stage. You should plug your device into your computer, enable adb in its developer options, and run adb logcat to see the device log in real time. Run your application, and you will see the initialisation log and any standard python log when the app fails. This should indicate the problem.
The adb tool comes with the android sdk, so you must have it if you built an apk, but you might need to find it manually somewhere in the sdk folder if it isn't already somewhere in your $PATH.
I have same issue in past and I solve by adding requirements in .spec
This requirements work for me:
requirements = hostpython3==3.7.8,python3==3.7.8,kivy==1.11.1, certifi,chardet, lxml, docutils, future, idna, Kivy-Garden, Pygments, requests, six, soupsieve, urllib3, deep-translator, arabic-reshaper, python-bidi, openssl, pyopenssl, numpy, pytz, python-dateutil, pandas, setuptools, zope.interface, datetime
you have to write all modules and parent module in requirements which your app is using.
To know module which you app is using has two method:
run command pip freeze in current app folder in powershell
install all the module as below photo which help to install your application module

Monodroid application not working in real phone

I created a Monodroid application, its worked in the emulator with no problem at all. And i copy the .apk file in Andorid phone.
But after installation, it doesnt works.
I am getting Force close issue
How to install a Monodroid Application in an Android Phone?
Are you using the full version of Mono for Android or the evaluation? If you're using the evaluation, that doesn't support deploying to a device.
If you're using the full version, are you building in debug or release mode? If you're in debug mode then the shared library is most likely enabled, which means that the APK will not contain everything the app needs to run. You should use MonoDevelop/Visual Studio to deploy to the device, which will install the shared runtime as well as the app.

Resources