[Commotion-dev] Automating Browser Testing

Dan Staples danstaples at opentechinstitute.org
Thu Apr 17 13:21:59 EDT 2014


Good idea, Ben. If you want to go this route, Andrew, you could build
off of the luci-commotion-linux repo, which is designed to provide just
that, a LuCI/uhttpd instance on x86:
https://github.com/opentechinstitute/luci-commotion-linux

Dan

On 04/17/2014 11:36 AM, Ben West wrote:
> If you are willing to isolate some portions of the commotion-router web
> UI for browser compatibility testing, i.e. not do such tests exclusively
> on target hardware, you could try running an instance of uhttpd/luci/etc
> compiled for x86 (or likewise running the same under an virtualized
> environment via VMWare Player / VirtualBox).
> 
> Jenkins is quite flexible in letting you specify post-build scripts to
> do pretty much anything that can be scripted.  For example, deploy a
> freshly compiled VMDK file to a VMWare Player instance, or simply copy
> over the updated contents of /www/luci-static and /usr/lib/lua over to
> the instance of uhttpd/luci you have running on whatever port on the
> build server, and then point automated browser testing at that.
> 
> This would require modifying / extracting pieces from commotion-router
> to run meaningfully enough for testing purposes in an environment w/o a
> radio.
> 
> 
> On Thu, Apr 17, 2014 at 9:50 AM, Andrew Reynolds
> <andrew at opentechinstitute.org <mailto:andrew at opentechinstitute.org>> wrote:
> 
>     I spent some time with the IDE this week and am just starting to work
>     with the perl and python bindings. So far it seems like exactly what I'm
>     looking for.
> 
>     The biggest hurdle I see right now is that we can't run the
>     commotion-router web interface on the build server (at least not live),
>     so we may not be able to integrate fully with jenkins. If there's a
>     solution I'm overlooking I would love to hear it.
> 
>     -andrew
> 
>     On 04/10/2014 11:55 AM, Bill Comisky wrote:
>     > My 2 cents: I've been using Selenium for a few years through the perl
>     > bindings, and have been pretty happy with it.   The Selenium IDE
>     plugin for
>     > firefox makes it pretty easy to construct the selectors for your
>     browser
>     > actions.  I've used it primarily with firefox, so can't speak to
>     > cross-browser testing.
>     >
>     > Bill
>     >
>     >
>     > On Thu, Apr 10, 2014 at 11:27 AM, Andrew Reynolds <
>     > andrew at opentechinstitute.org
>     <mailto:andrew at opentechinstitute.org>> wrote:
>     >
>     >> Hi all,
>     >>
>     >> We're doing a lot of manual testing for our Commotion releases these
>     >> days, including a lot of browser-based tests of the luci
>     interfaces. For
>     >> example, we check all fields for proper input validation, make
>     sure file
>     >> upload widgets work, check all the links, etc.
>     >>
>     >> I've been looking at Selenium to try to automate some of the work. It
>     >> seems popular and integrates with Jenkins but I've never actually
>     used it.
>     >>
>     >> Have any of you used Selenium or similar products enough to favor
>     one or
>     >> the other?
>     >>
>     >> -andrew
>     >>
>     >>
>     >> _______________________________________________
>     >> Commotion-dev mailing list
>     >> Commotion-dev at lists.chambana.net
>     <mailto:Commotion-dev at lists.chambana.net>
>     >> https://lists.chambana.net/mailman/listinfo/commotion-dev
>     >>
>     >>
>     >
> 
> 
> 
>     _______________________________________________
>     Commotion-dev mailing list
>     Commotion-dev at lists.chambana.net
>     <mailto:Commotion-dev at lists.chambana.net>
>     https://lists.chambana.net/mailman/listinfo/commotion-dev
> 
> 
> 
> 
> -- 
> Ben West
> http://gowasabi.net
> ben at gowasabi.net <mailto:ben at gowasabi.net>
> 314-246-9434
> 
> 
> _______________________________________________
> Commotion-dev mailing list
> Commotion-dev at lists.chambana.net
> https://lists.chambana.net/mailman/listinfo/commotion-dev
> 

-- 
Dan Staples

Open Technology Institute
https://commotionwireless.net
OpenPGP key: http://disman.tl/pgp.asc
Fingerprint: 2480 095D 4B16 436F 35AB 7305 F670 74ED BD86 43A9


More information about the Commotion-dev mailing list