cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <>
Subject Re: Suggest: Add "Cordova Selenium Web Driver Sub-Project"
Date Tue, 19 Mar 2013 18:44:02 GMT
I personally dislike Selenium because it's next to impossible to set
up and write tests for, and it's extremely large and full of cruft.
After many months trying to get Selenium working on Cordova-Android, I
gave up on it and wrote the Purity Class, which basically just
simulates touch events on Android using the Android SDK.

Here's a blog post which talks about the development of this tool:

I know someone is working on Selenium for iOS, but I haven't used it.
IMO Selenium is far too complex to be used by anyone, and there
doesn't seem to be a huge benefit to using it based on my experience.

On Tue, Mar 19, 2013 at 11:11 AM, Andrew Grieve <> wrote:
> Selenium for iOS and Android must use WebViews, no? It would probably be
> possible to write a Cordova plugin to add selenium to a project for testing.
> On Tue, Mar 19, 2013 at 1:39 PM, Filip Maj <> wrote:
>> Nothing much out there for automation of hybrid apps, I have been working
>> on a project called medic [1] that hooks into a hybrid app using
>> javascript within the hybrid app package. Medic is the project that powers
>> Cordova's rudimentary CI setup [2]. It's designed to compile and deploy
>> our test suite [3] inside a cordova app, drop in an extra Jasmine test
>> suite adapter to catch when the tests are finished running, and report the
>> results to a single couchdb. This also allows for multiple medic setups to
>> exist simultaneously and aggregate test results for different devices.
>> The project is still fairly simple but it slowly building up.
>> Hope that can help,
>> Fil
>> [1]
>> [2]
>> [3]
>> On 3/19/13 3:38 AM, "张晶峰" <> wrote:
>> >Hi there,
>> >
>> >Developing Hybrid Applications using Cordova/PhoneGap is very popular
>> >today, but for Automation Testing, it is very hard for these Hybrid
>> >Applications.
>> >
>> >Selenium is a very popular tool on automation testing. So far there are
>> >Selenium web drivers for Android, iOS and other mobile platforms to
>> >support
>> >testing native applications and web applications. But they cannot be used
>> >to test Hybrid Applications. This is very a pain point of many many
>> >developers and testers (you can search by google for this).
>> >
>> >If we have the Selenium web driver for Cordova hybrid applications, the
>> >things will become very exciting.
>> >
>> >By the way, now, we are planning to build an application with
>> >Cordova/PhoneGap, could you give some advice on testing the hybrid
>> >application?
>> >
>> >Expecting your response, :)
>> >
>> >Thank you very much!

View raw message