Posts

Install eclipse on Mac OS X 10.9 onwards / JRE or JDK must be available in order to run Eclipse.

Image
If you are seeing this error while launching eclipse after an update to your Mac machine: "A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse." There are couple of solutions: editing  eclipse.ini , adding in vm /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java  just before the  -vmargs editing the  Info.plist  and adding the full path to the Oracle SDK, checked if syntax was correct by double clicking and succesfully opening it and verified that the path was correct. adding 4 capabilities to the JDK: CommandLine JNI BundledApp WebStart Applets The eclipse.ini entry must have -vm on a separate line from the path - vm / Library / Java / JavaVirtualMachines / 1.7 . 0.jdk / Contents / Home / bin / java All this after installing JDK7 and on my Mac I still see errors!! What finally wor...

SeeTest - Launch iOSBridge automatically

Image
If you are automating your apps on seeeTest + iOS and you see that the iOS Bridge just goes blank and says disconnected. You know that your tests will not run as the prerequisite for any test to run is that you need to have the iOS Bridge running in the background. Solution: Manually launch iOS Bridge on your phone. But what if your devices are located on a remote system and cannot be accessed ?? Solution:    Using the  Runtime Application Manager  mechanism The Application Manager is used primarily to install and instrument applications so that their Native and Web elements/objects can be used to test them .Applications are generally imported from the local disk of the tester's computer. Click on the 'Application Manager' button in SeeTest located under Applications on the left hand side corner. The icon looks like an import button The Application manager will then appear on your screen and you need to import the ipa file that is located in  < ...

Working on iOS Testing and want to add to the classpath on OSX / Mac

Image
If you want to make a certain set of JAR files (or .class files) available to every Java application on the machine, then your best bet is to add those files to /Library/Java/Extensions. Or, if you want to do it for every Java application, but only when your Mac OS X account runs them, then use ~/Library/Java/Extensions instead. In OSX, you can also set the classpath from scratch like this:export CLASSPATH=/path/to/some.jar:/path/to/some/other.jar Or you can add to the existing classpath like this:export CLASSPATH=$CLASSPATH:/path/to/some.jar:/path/to/some/other.jar Happy iOS testing!

Appium - Mobile test automation on a real device

Image
If you are looking to perform test automation on a real device (iPhone in my case) and you have had problems with the documentation on the official Appium website , the following post will help you for sure: Prerequisites:  Apple account with valid apple ID  Download and Install Eclipse on your Mac – A link that might help you with the installation process http://www.cs.dartmouth.edu/~cs5/install/eclipse-osx/ Download and Install Xcode Download Selenium Jars for java from the Selenium website Download the java client libraries from http://appium.io/downloads.html Download and install appiumD download the latest version from Appium.io. Mount the disk image.   Drag Appium.app to your Applications folder Download and Install brew (The missing package manager for OS X) It's on the bottom of the Homebrew homepage. http://brew.sh/  ( Yeah, it would be helpful if it was listed at the top, instead.) From a Terminal prompt:    ruby -e "$(curl -...

How to create a new Apple APP ID and select the WildCard App ID option and set it to “*”

Image
An application ID uniquely identifies your iOS application within Apple's application services - enabling you to use things like in-app purchasing, push notifications, game center and more inside your app. You can only create application IDs in the iOS developer portal . So first you would need to log-in with a developers access. Once you're logged in, choose the "Certificates, Identifiers & Profiles" link On the next screen, choose the "Identifiers" option on the left Now you can click the "+" icon near the top right to create a new App ID The first thing you're asked to do is provide an App ID description (Just provide something descriptive enough for your needs) You have two options here. Pick the one that says - Wildcard App ID  Choose an App ID Suffix as “*” Select App Services if needed Complete and submit to get a message – “This App ID is now registered to your account and can be used in your provisioning profile...