a.t.obulreddy
a.t.obulreddy

Reputation: 249

Android Test Automation

How can i automate Android Apis for better quality ? How can i test the android applications to get a better quality of this software..?

Upvotes: 2

Views: 2146

Answers (8)

revolutionary
revolutionary

Reputation: 3354

If you have a spare Raspberry-Pi, you can also use that to speedup your test :) , much better than running on Emulator:

Raspberry-PI for Android Test Automation

Upvotes: 0

Pranit
Pranit

Reputation: 168

Espresso is the best option coming forward to automate the android API's. Google has developed this testing kit for developers to write the unit test cases. Here's the Google's home page for espresso https://code.google.com/p/android-test-kit/wiki/EspressoStartGuide

Google has also implemented the sample test cases which help to learn espresso faster. Main advantage of espresso is its speed of execution and its work asynchronously meaning we are not explicitly required to write wait for actions in espresso. Developer should only perform action, waiting time taken care by espresso. Here's link which gives start to espresso in easy to understand way: http://www.stevenmarkford.com/android-ui-testing-with-espresso-basics-tutorial/

Upvotes: 0

Varun Menon
Varun Menon

Reputation: 390

Try bot-bot. Its a functional automation tool built over Robotium/Nativedriver. It have recording feature which helps in easy element identification and writing test-cases.

It uses "Ant" for build and running the tests. This helps in integration with continuous integration tools.

At the end of your test execution it generates emailable html reports with pass-fail status.

Upvotes: 0

Raghubansh
Raghubansh

Reputation: 341

I would suggest Webdriver/ selenium 2.0 android driver if you are looking for open source. its good and robust as well

Upvotes: 0

Rahul Mendiratta
Rahul Mendiratta

Reputation: 625

http://www.robotium.org/

Try robotium, i am using it, Its very easy for writing your Functional Test Cases and can be tested in all android Devices.

Upvotes: 1

sangram
sangram

Reputation: 141

I would suggest you to use Seetest. This is also an automation tool independent of any platform. You can run the same test script across all the platforms like Android, IPhone, Windows Phone using this tool. Moreover it has a plugin for existing test frameworks like QTP, Testcomplete etc. Here is the link to download the trial version of the same. http://experitest.com/support/download-2/

Upvotes: 0

Rahul Mendiratta
Rahul Mendiratta

Reputation: 625

Use Robotium, its a good tool to use for Android Automation

Upvotes: 1

Adam Milligan
Adam Milligan

Reputation: 2826

I would recommend you checkout Robolectric for testing Android apps.

Upvotes: 3

Related Questions