Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Will reusing the same Firefox process cause a problem?

    Your arguments in favor of reusing the process are very similar to my arguments in favor of running tests in a single process with Test::Aggregate. Even though it's worked very well, a few people raked me over the coals for this decision. I wonder if they'll give you the same level of grief :)

    • A web browser is designed to keep things strictly separated. Perl is, at best, a half-blind chaperonage in a French farce.

      Test::Aggregate is the mod_perl of the testing world. If you take a bunch of things which were all designed to run in their own process once and then terminate and try to smash them together they're going to step all over each other and themselves. It requires careful recrafting, and restricting, of the formerly independent tests for them to all run together. Even then you can't be s

  • Awhile back, I wrote the following tutorial

    # Using WWW::Selenium To Test Or Automate An Ajax Website

    http://perlmonks.org/?node_id=720018 [perlmonks.org]

    It is more about getting the most out of Selenium and working around some issues than it is about integrating it into your testing framework. In any event, any tips, tricks or pointers you might be able to share would be very much appreciated.

    • I had none of the problems you had getting Selenium RC running on OS X. It fired right up and found my Firefox. I get no errors switching base domains. I didn't try it with SSL. Maybe they fixed it with 1.0?

      I don't have much experience with Selenium, honestly. I've taken over doing acceptance level QA at Open Sourcery and have just started seriously using Selenium. Its all been in the IDE up to this point -- recording and tweaking for Ajax (I've found waitForElementPresent to be very handy in that reg

  • Selenium server itself supports "multiWindow" mode, which means that when the server is started up it also kicks firefox off at that time. It will then open a new window as a child and run your tests in there.

    Other ways to speed the process up is to create your own dump of a firefox profile (selenium creates one for you, but does it every time). This will also reduce the time required to start selenium up.

    I had previously sent a patch, but it looks like it got dropped. WWW::Selenium creates a brand ne