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 <f...@adobe.com> 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] http://github.com/filmaj/medic > [2] http://ci.cordova.io > [3] http://github.com/apache/cordova-mobile-spec > > On 3/19/13 3:38 AM, "张晶峰" <bolt...@gmail.com> 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! > >