How to setup Appium on MAC with Java for iPhone Automation? - java

I am new to the world of Software Test Automation. I have worked earlier as a developer. I have successfully setup and used the Appium for Android apps testing with Java environment on Windows, Mac Mini and Linux. Can anyone please help me with setup of appium for iOS testing? My environment is as follows.
1) Mac Mini (An old machine)
2) Java
3) iPhone
Any link to the step-by-step video tutorial and/or useful webpage will be much appreciated. I will appreciate even more if one could provide me the steps in the answer itself.

First of all this is not a site where you ask for tutorials - this is a place where you provide your programming problem and users try to solve it together.
Secondly, I do not understand how can You not understand how to work with Appium for iOS if you have already experience with Android with Appium? Everything is the same except the driver which will be used to interact with (in this case IOSDriver(address, capabilities)).

Related

Questions regarding Windows/Android development (Java:APK/JAR)

I'm planning to write a software (with GUI and sounds) that should run under Android and Windows 7/8
I guess the best approach for this is to use Java?
I am new to Android and Java development so my questions are:
-So can I use one development platform to create both (APK & JAR), namely Java?
-As far as I understand for Android I need to compile (from same source?) a .APK file and for Windows a .JAR file ?
(The .JAR will run in the Java Runtime that is installed in Windows)
-If I use Java what would be the best IDE, something like Google's Android Studio (will it allow to create .JAR?) or Oracle's JDK (Java SE Development Kit) ?
thank you
I don't think it is possible to write an app that will run on both OS's, since all GUI components are part of different frameworks (Android SDK for Android, SWT/Swing/... on Windows), and not compatible with all OS's.
You best bet is probably a web-based app. You can run it in the browser on dektop and either on a mobile browser on Android, or package it as a fullscreen WebView running your web app. The best part is it would also work on iOS.
You could also write your app for desktop in Swing and then convert it to an Android app, you can find questions on StackOverflow on the subject, such as this one.
Hope this helps ;)

Can I create windows phone applications using java

I have learnt android application programming. My command is with java.
Some sites provides their sdk for multi platform development, but i am not getting them
Xamarin can develop androids app using c#. Is reverse possible?
Can i develop windows app using java? If yes how?
Yes, you can. Codename One is an SDK that will allow you to create Android, iOS, RIM, and Windows mobile apps all by using native Java.
Source
yes you can develop windows app using java , actually the main point of java is that you can run it on multiple platform (write-once-run-everywhere) ,i can't get what you mean with how, you build jar file from your app so you can run it everywhere that has jdk or jre
and about android , yes you can write it using c# ,i hope this link will be helpfull.

How to connect NFC in J2ME emulator

how to do the connection for NFC in j2me emulator.
If anyone has already work on this project kindly help me to figure out the problem,
and please shared me if you have any demo code related to this project.
Thanks
The NFC J2ME implementation is JSR-257 Contactless Communication API. I suppose you are using WTK 2.5.2_01.
From that link you can see that there are ~20 modules supported out-of-the-box, but not the JSR-257, so you'll have to load it in the emulator.
This answer has a command line solution, but there should be the possibility to load it from the Netbeans GUI.
Try the Nokia 6212 NFC emulator. I've developed with it on Windows Vista. Seems to work on Windows 7 too... http://developer.nokia.com/info/sw.nokia.com/id/5bcaee40-d2b2-4595-b5b5-4833d6a4cda1/S40_Nokia_6212_NFC_SDK.html

I need something to automate web browser tasks in its own virtual enviorment (Chrome)

Ever since i started learning java i wanted to create a way to automate a few actions on a couple websites,
For example, topline is a website that replaces all your ads with its own ads and pays you a bit of money for it, i want to emulate the act of just surfing the web, then start emulating specific tasks like clicking certain buttons or playing flash games (Actually playing the game by using image recognition) and this has to be written in java as i want to run this on a raspberry pi.
any help is appreciated, is there a class that i can use?
any help is appreciated!
Selenium is a good browser automation tool. Refer http://seleniumhq.org/
You can get more info on Google. Let me know if you need help finding resources.
Check the class Robot, it will help you to emulate mouse interactions with the screen, but you have to implement the image recognition though
Although I can't point you to a JAVA solution, I would like to advocate two very interesting tools: PhantomJS and CasperJS. The latter depends on the first, and with them, browser navigation scripting and testing are a breeze.
They both work on Linux, MAC OS and Windows and are as multiplatform as Javascript can be. Naturally, it will work just fine in you Raspberry Pi.

Installing and using the play framework on windows vista with java

I am brand new to the play framework and could use a little bit of help understanding first why the play framework is useful, and how to install and use it on windows vista. The project that I will be working on will be to make a custom API that will power a photo sharing software to be accessed by mobile and desktop devices. I tried to go through the installation guide on the play website but I couldn't get it to work (unfortunately i'm not very good when it comes to manual installations in the command line on windows).
I would like to be able to run one of the sample projects included, but I am unsure of how to get the play command installed on the command line to run it. Any help would be greatly appreciated. Thanks in advance.
open a command window then type :
c://pathtoplaydirectory/play

Categories