iOS/Android automation to interact with third party applications? - android

I'm looking for various automation suites that can automate iOS / Android. I have an application that uses the third party Video/Audio/Photo/ from the native OS.
I was using Robotium with android before but I couldn't get it to take a photo/video/audio etc and research on google stated this wasn't possible.
I also attempted to use Calabash-iOs/ Calabash-Android but ran into the same problem when trying to take the video/photo/audio from an application outside the testing application.
Any recommendations for testing suite for iOS And/or Android?
Thanks!

uiautomator allows to automate features you need.
It can access system features and pre-installed apps.
The challenges include:
1) only one language for development – Java; 2) and it works only on Android 4.0 or later.
P.S. Calabash and Robotium will not help to automate third party apps. I've used them both.

I would like to suggest you Appium, This tool gives you access to do the stuffs you are trying to do:
http://appium.io/

Related

Compare tools for Android Application testing between Appium and MonkeyTalk

I'm brand new to Mobile application automation. So, I did a research for selecting a good automation tool for test Android applications.
I need a tool with following requirements
Functional testing
UI testing for different devices, different Android versions
Can write scripts using Java
According to my reading Appium is the best option for functional testing. Can someone give a comment about the best testing tool to cover both functional and UI testing.
Thanks in advance. :)
Appium is a cross-platform tool and works for hybrid as well as native apps where as MonkeyTalk doesn't support hybrid apps.

iPhone Automation for 3rd party/built in apps

I'm trying to find an automation framework for iOS and/or Android that allows me to automate actions on a real device using 3rd party/built-in apps. For example, I want to be able to automate: Browse these websites with Safari, watch these videos with the Youtube app, et al.
The automation frameworks I've encountered in my search seem to be focused on testing out your own app, in which you provide hooks in your own code to the framework in question.
I won't be testing out my own app (I'm testing out a proxy that the devices send traffic through), and thus won't have access to the source code to the apps on the device. I'm new to this, apologies in advance if there's a way obvious answer right under my nose.
For android automation you can use UIAutomator. It doesn't require source code. It uses in built uiautomator jar file which is present in android SDK. For more information you can refer http://developer.android.com/tools/testing-support-library/index.html

Can we do mobile automation directly with Ruby without cucumber?

I am a newbie to mobile test automation. I searched a bit and read a lot about using calabash (cucumber + ruby) to automate the testing for Android and iOS.
If we don't use the cucumber layer in between (i.e. if we don't have cross functional teams), is it possible to do mobile test automation for android or iOS directly with the programming language through Eclipse/Rubymine?
I do not think cucumber layer is between something. Its the front end using which you write the feature and scenarios. I have been using Calabash for both android and ios automation testing and I do not think it can work without cucumber. But there are cases where people try to use Java or C# instead of Ruby with cucumber. Here is the github link https://github.com/cucumber/cuke4duke. It looks old and i am not sure if there is active development on cuke4duke

Automation frameworks for mobile devices

I am trying to use automation frameworks similar to Selenium to test native apps (both android and IOS apps). Does anyone have a list of frameworks that is suitable for the tasks. Java based frameworks are preferred but others are welcome too. I want to go over the merits of each framework and make a final determination
There are lots of options to test mobile applications, not all are cross platform though. You say this is important to you so I would either say MonkeyTalk (http://www.gorillalogic.com/testing-tools/monkeytalk) calabash (http://blog.lesspainful.com/) or the new Calabash Driver projects (A form of calabash made to look and feel more like selenium from the ebay guys just recently announced) https://github.com/calabash-driver/calabash-driver and https://github.com/freynaud/ios-driver.
Appium is a Selenium-compatible mobile automation tool which lets you write tests in Java and other languages using the Selenium client libraries.
My team has been using Frank for the past 14 months and it's been working out really well for us. It describes itself as: "Selenium for native iOS apps". It's a fairly active project, and has a small community that's very helpful.
You can get started here: Testing With Frank
For iOS: Unlike the ruby based Frank, KIF is a 100% obj-c solution, which makes for easier integration with your iOS code.
Take a look here for an example of how I used KIF for my iOS project and the reason why I chose it over Frank.

Rhomobile vs. MoSync/Phonegap/HTML5

I am interested in supporting a few different platforms, like Android, iOS, Windows, and I was interested in Rhomobile might help? However, I am concerned about not being able to use any device specific syncing capabilities. Has anyone worked with PhoneGap/MoSync combo and what has been your experience?
I'm not sure I understand what you mean by "not being able to use any device specific syncing capabilities" with Rhomobile. You can always create your own syncing mechanism using the network libraries as described here:
Connecting Directly with Web Services
You can also create native extensions and use them inside your Rhodes project so no native capability is impossible to access. Of course you would have to replicate this extension for every platform you are targetting or manage the differences in implementation in your code in a platform specific way.
Regarding the comparisson with the other multi-platform frameworks, we evaluated using PhoneGap but ended up deciding for Rhodes because of the development tools. Having a development tool that has integrated step-by-step debugging and the Rhodes simulator that allows you to test and manipulate your style sheets and works 100 times faster than the android emulator is a major advantage.

Categories

Resources