[bcn-pm] Win32::Watir

Jordi Amorós jordi.amoros.andreu a gmail.com
dim feb 14 05:19:26 PST 2012


Bon dia,

Prova d'instal·lar-lo sense fer el 'make test' (algú dirà que això és una
heretgia). L'últim canvi en aquest mòdul és de fa 4 anys, tant Yahoo Japó,
com Google Japó (que són les pàgines contra les que es fan els testos)
hauran canviat una barbaritat en aquest temps. I els camps en els que el
test vol escriure, i els botons on vol fer click hauran canviat de nom.

Podries modificar t/01_IE_default.t fins que passi els testos... o, canviat
a WWW::Mechanize<http://search.cpan.org/~jesse/WWW-Mechanize-1.72/lib/WWW/Mechanize.pm>
.

Salut!


On 14 February 2012 13:52, Toni Homedes i Saun <toni.homedes a gmail.com>wrote:

> Hola Mongers,
>
> Necessito usar Win32::Watir (o algun altre modul que em permeti controlar
> fàcilment Internet Explorer o Firefox sota windows)
>
> El cas es que no aconsegueixo instal·lar-lo amb Cygwin ni amb Strawberry
> Perl (amb ActiveState no he provat perquè sembla que no el té)
>
> Algú l'ha usat o te idea de què puc fer per instal·lar-lo? o algun altre
> mòdul "fàcil i ràpid"?
>
> Per referencia:
>
> *Cygwin:*
>
> # Looks like your test exited with 2 just after 1.
> t/01.IE_default.t .. Dubious, test returned 2 (wstat 512, 0x200)
> All 1 subtests passed
>
> Test Summary Report
> -------------------
> t/01.IE_default.t (Wstat: 512 Tests: 1 Failed: 0)
>   Non-zero exit status: 2
> Files=1, Tests=1,  4 wallclock secs ( 0.05 usr  0.02 sys +  0.31 cusr
> 0.18 csys =  0.55 CPU)
> Result: FAIL
> Failed 1/1 test programs. 0/1 subtests failed.
> Makefile:791: recipe for target `test_dynamic' failed
> make: *** [test_dynamic] Error 2
>   SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz
>   /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>   reports SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz
> Running make install
>   make test had returned bad status, won't install without force
> Failed during this command:
>  SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz: make_test NO
>
> *Strawberry Perl:*
>
> # Looks like your test exited with 2 just after 1.
> t/01.IE_default.t .. Dubious, test returned 2 (wstat 512, 0x200)
> All 1 subtests passed
>
> Test Summary Report
> -------------------
> t/01.IE_default.t (Wstat: 512 Tests: 1 Failed: 0)
>   Non-zero exit status: 2
> Files=1, Tests=1, 10 wallclock secs ( 0.05 usr +  0.03 sys =  0.08 CPU)
> Result: FAIL
> Failed 1/1 test programs. 0/1 subtests failed.
> dmake.EXE:  Error code 130, while making 'test_dynamic'
>   SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz
>   C:\strawberry\c\bin\dmake.EXE test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>   reports SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz
> Running make install
>   make test had returned bad status, won't install without force
> Failed during this command:
>  SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz: make_test NO
>
>
> --
> Toni Homedes i Saun
> skype:toni.homedes
>
>
> _______________________________________________
> llista dels Barcelona-pm
> Barcelona-pm a pm.org
> http://mail.pm.org/mailman/listinfo/barcelona-pm
> BCN Perl Mongers: http://barcelona.pm.org
>
-------------- part següent --------------
Un document HTML ha estat eliminat...
URL: <http://mail.pm.org/pipermail/barcelona-pm/attachments/20120214/76f8358e/attachment.html>


Més informació sobre la llista de correu Barcelona-pm