Posts

Showing posts with the label SeetTest

Device Enablement in SeeTest

Image
The new feature of device enablement has made iOS mobile automation easy. Now we do not need a provisioning profile !! Here are the steps tried first hand: When you add a new device and select the checkbox for instrumented device, you now see a message: Choose the option for device enablement and click ok, you will see an automated mail sent to you   Once you have received the email on confirmation another email will be sent to the support as a request: Within a few hours you will receive a link to download the .def file! Happy iOS automation!!!

Key Events in Android Device Automation

Image
If you are looking to automate your android device there are instances when the automation tool/scripts need to run the adb shell commands to achieve the actions: If you are using seeTest one of them is: client.run("adb shell input keyevent 26"); For more commands look at: http://developer.android.com/reference/android/view/KeyEvent.html Happy Android automation!

SeeTest Cheatsheet for Mobile test automation

Image
Here is the first of its kind a cheat sheet for SeeTest mobile test automation: P.S: Click on the image to download a larger copy. You can also email me for an excel version for easier navigation! Happy Mobile testing!

How do I get my Nexus 7 to show up in the adb devices list ?

Image
Problem: Nexus 7 that I'm trying to connect to Windows computer for automation over adb No device driver for nexus 7 ? What did not work: I did click on the build number 7 times to get the developer options enabled Tried connecting both as a Media device (MTP) and as a Camera (PTP). ("Connected as a media device" up at the top left corner, de-selecting Media Device (MTP) and then checking Camera (PTP).) downloaded this usb driver: http://dlcdnet.asus.com/pub/ASUS/EeePAD/nexus7/usb_driver_r06_windows.zip Go to the device manager , right click the nexus device and choose properties, choose "hardware" and then choose update your driver , choose manualy and pick the folder you opend the zip file to and press apply. What worked for me: The universal adb driver installer worked for me. Download the universal driver exe Run with the device connected and it will give you an option to install.  http://adbdriver.com/ Install that and you will...

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!

Mobile Test Automation - iOS / Android / Windows + Real Device / Emulators + Instrumentation?

Image
I must admit that even though I was a test automation fanatic, in the past I had been running away from the mobile automation space. Finally the race is over and the obvious has happened, the mobile devices have won! I started playing around with tools that support iOS and android platforms and found that  there are quite a few out there.All with promising abilities but a lot of communication gap. Conclusion:  Mobile automation is where Web automation was say 7-10 years back but with a more definitive approach. The good thing is that slowly but steadily there are communities building around them, but a few tools stand out as always. Note: Before I start off I would like to mention that the information here is based on trying to use these technologies firsthand and might not be 100 percent accurate. It is also based on various blogs, articles and websites that I read while evaluating the mobile testing frameworks and tools. My Verdict:  From my...