Skip Menu |

This queue is for tickets about the Test-WWW-Selenium CPAN distribution.

Report information
The Basics
Id: 20042
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Test-WWW-Selenium

People
Owner: cpan [...] 5thplane.com
Requestors: srl [...] bestpractical.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Autoload bug
Date: Thu, 22 Jun 2006 10:24:18 -0400
To: bug-Test-WWW-Selenium [...] rt.cpan.org
From: Shane Landrum <srl [...] bestpractical.com>
In line 136 of Test::WWW::Selenium 1.0, you invoke WWW::Selenium::AUTOLOAD, but WWW::Selenium no longer has an AUTOLOAD, so code dies if this section gets invoked. Also, here's some functional sample code for the POD at the top: # use special test wrappers around WWW::Selenium commands: $sel->open_ok("http://www.google.com"); $sel->type_ok( "q", "hello world"); $sel->click_ok("btnG"); $sel->wait_for_page_to_load(5000); $sel->title_like(qr/Google Search/); srl
On Thu Jun 22 10:25:50 2006, srl@bestpractical.com wrote: Show quoted text
> In line 136 of Test::WWW::Selenium 1.0, you invoke > WWW::Selenium::AUTOLOAD, but WWW::Selenium no longer has an > AUTOLOAD, so code dies if this section gets invoked.
Thanks, it will now just croak with the invalid method. Show quoted text
> Also, here's some functional sample code for the POD > at the top: > > # use special test wrappers around WWW::Selenium commands: > $sel->open_ok("http://www.google.com"); > $sel->type_ok( "q", "hello world"); > $sel->click_ok("btnG"); > $sel->wait_for_page_to_load(5000); > $sel->title_like(qr/Google Search/);
Thanks as well! I'll push these out in a few minutes... (T-W-S 1.01)