PDA

View Full Version : Sencha Touch -- Automated Integration Testing: How?



portlandwebworks
14 Mar 2011, 5:12 AM
All,

Coming from a java background, I've been using automated test integration for some time via Selenium. When I moved to Extjs I found that Selenium still worked for integration testing, after tweaking with selectors. Now I've moved over to Sencha Touch and am at a roadblock: I can't easily test the apps I write in Sencha Touch because the Selenium IDE only runs in Firefox 3 and Firefox 3 is not HTML5 ready yet.

I can't do it with Jasmine either. Apparently the Jasmine Browser implementation it uses under the covers doesn't support HTML5 entirely either (Got an error from the sencha framework when attempting to work with a Local Store proxy, for example).

Another option seemed to be the Sencha Touch simulator. I'm very leery of it because of the lack of documentation--is it viable (and do you incorporate it into your automated build process?).

So, how do we do it--robust integration testing of a Sencha Touch App in an automated fashion?

Thanks!

phil.fuse
16 Mar 2011, 7:36 AM
hey,
i'm watching this thread with interest...
i'm getting up to speed with Sencha at the moment but have had some experience with Selenium IDE for standard webapps (which where pretty simple tbh)...
i'm looking to really get a decent test suite together though.

what you dev-ing for?
i'm planning on taking a look at
http://code.google.com/p/selenium/wiki/AndroidDriver
http://code.google.com/p/selenium/wiki/IPhoneDriver
could be nothing - i'll see where i get to in the coming weeks and try to report back...
...
but i'm very keen to hear how other people are going to regression test applications in this framework.

phil.fuse
16 Mar 2011, 7:59 AM
looks like there is some pretty interesting stuff going on here tho...

http://www.sencha.com/blog/event-recorder-for-android-web-applications/