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.
  • ...but is there a transcript or paper anywhere? I can't actually watch the video very easily..and it's quasi-impossible to cite.
    • I don't know if there is a transcript, it's an open-source project you can download from here [java.net]. From an example on that site:

      public class GoogleTest extends NavigatingLiftTestCase {

          public void testGoogleImageSearch() throws Exception {
              goTo("http://www.google.com/");
              assertThat(page, has(title("Google")));
              clickOn(link("Images"));
              enter("kizoom", into(textField()));
         

      • which in turn sounds a bit like WWW::Mechanize, too:

                              $mech->get( $url );

                              $mech->follow_link( text_regex => qr/download this/i );

                              $mech->submit_form(
                                      form_number => 3,
                                      fields => {
                                              username => 'mungo',
                                              password => 'lost-and-alone',
                                      }
                              );

        WWW::Mechanize is great.
        • Did you watch the demonstration? It's a lot more than what Mech or Selenium tools allow us to do (not that there's anything wrong with the latter). It can almost completely bridge the gap between developer and customer because it reads naturally and doesn't have things like an invocant or funny words like a 'regex'. It also does one heck of a lot more than what little I've mentioned. It's pretty cool stuff.