User Profile

Collapse

Profile Sidebar

Collapse
somsub
somsub
Last Activity: Mar 7 '12, 07:54 PM
Joined: Nov 14 '08
Location: Bangalore
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Unable to get web page element while running perl script with selenium RC server .

    Hi All,

    I am facing a problem while running a perl script through selenium RC server .

    I recorded oone log in test case with slenium IDE and run it after that with the ide only and it worked fine .

    After I exported that test case as a perl script . I installed all the required modules (like Test::WWW::Sele nium,Test::More ,Test::Exceptio n)by PPM GUI (As I am using active perl 5.10 on winxp).I run the Selenium...
    See more | Go to post

  • Yaa it worked peoperly ....!! thnx a lot.. for ur help
    See more | Go to post

    Leave a comment:


  • Unable to put array as a comment on excel sheet cell .

    Hi,

    I m facing a problem to add an array as a comment to a MS excel cell using Spreadsheet :: WriteExcel .

    I m using the below code

    Code:
    use Spreadsheet::WriteExcel;
    $workbook = Spreadsheet::WriteExcel->new('perl.xls');
    $worksheet = $workbook->add_worksheet();
    print "\n \n Enter a path value to take its contns \n";
        $pth=<STDIN>;
        chomp $pth;
    ...
    See more | Go to post

  • Thanx guys fr ur interest and valuable inputs .....
    As per your suggestion I added one more line that is "$workbook->close();"
    to close it explicitly at the end of previously mentioned code . After the execution of this line i could able to open the excel sheet manually with MS excel with out any error.

    Thanks a lot .
    See more | Go to post

    Leave a comment:


  • yaa.... It is located in the same folder where the script is . But I tried with different path also but got the same error .
    See more | Go to post

    Leave a comment:


  • yaa... !! I tried with single quote in the place of double quote but got the same "Unable to read file " error .
    See more | Go to post

    Leave a comment:


  • Not able to open excel sheet created by Spreadsheet::WriteExcel .

    Hi,

    When I tried to open excel sheet created by below code with MSexcel it showing "Unable to read file " error .

    Code:
    use Spreadsheet::WriteExcel;
    $workbook = Spreadsheet::WriteExcel->new("sm2.xls");
    I am using winxp OS and MS excel 2003 ....


    Advance thanks fr any help on this ..... its urgnt fr me...!!
    See more | Go to post

  • Yaa It worked for me. I added the bribes repository in my perl 5.10 PPM GUI from http://ppm4.activestate.com/ and it worked for me .

    Thank you so much RON fr valuable inputs .
    See more | Go to post

    Leave a comment:


  • somsub
    started a topic Problem instaling win32:GuiTest 1.56 in windows xp .
    in Perl

    Problem instaling win32:GuiTest 1.56 in windows xp .

    Hi

    I downloaded this win32:GuiTest 1.56 package from CPAN and extracted it in my local folder .through command line Nmake Utility I m trying to install it in windows xp . But it is showing error below in the command line .

    'cl' is not recognized as an internal or external command,
    operable program or batch file.
    NMAKE : fatal error U1077: 'C:\WINDOWS\sys tem32\cmd.exe' : return code '0x1'

    ...
    See more | Go to post

  • Thanks numberwhun for ur inputs.

    I uninstalled Active Perl and installed strawerry Perl . That gets installed under C:\strawerry

    After that to install CPAN repository modules in command prompt I simply typed :

    cpan -h

    it gives me the all list of options

    among them I chosen
    cpan /fi module:name

    And it gets installed .
    See more | Go to post

    Leave a comment:


  • Yeh... RonB thanks fr ur interest....... ........ but the http://ppm4.activestate.com/
    is already been added to my win32 PPM GUI -> Edit -> Preferences -> Repositories .

    I am using perl, v5.10.0 MSWin32-x86-multi-thread . So it is listing only those modules what are in its repository database .

    But my need is to install few current CPAN packages those are not listed in the repository database...
    See more | Go to post

    Leave a comment:


  • somsub
    started a topic Unable to install CPAN modules with PPM GUI in win32
    in Perl

    Unable to install CPAN modules with PPM GUI in win32

    How can I install CPAN current modules whats are listed from CPAN site using PPM GUI . Because my PPM GUI's package repository does not contain the latest modules as in CPAN . So I need to install few modules from CPAN .

    But using manual method..(just down load that module from CPAN and after that manually setting it ) there are so many dependencies and at last it gets failed so I want to install through PPM GUI . Beacause it...
    See more | Go to post

  • Unable to install CPAN modules with PPM GUI in win32

    How can I install CPAN current modules whats are listed from CPAN site using PPM GUI . Because my PPM GUI's package repository does not contain the latest modules as in CPAN . So I need to install few modules from CPAN .

    But using manual method..(just down load that module from CPAN and after that manually setting it ) there are so many dependencies and at last it gets failed so I want to install through PPM GUI . Beacause it...
    See more | Go to post

  • Yaa that worked.

    I had previously perl 5.8.8 version and it is off x64 version . PPM GUI didnot work there. So I had to install perl 5.10 off x86 version and went through the docs in activestate site.

    It is hassle free and very ease to use.

    Thank you so much Kevin for your help.
    See more | Go to post

    Leave a comment:


  • Problem installing perl module for IO::Uncompress::Unzip

    Hi all,

    Here is my samle code
    Code:
    use strict ;
    use warnings ;
    use IO::Uncompress::Unzip ;
    When I compiled this three lines of code in win32 I got error like below.

    Can't find 'boot_Compress_ _Raw__Zlib' symbol in C:/Perl/lib/auto/Compress/Raw/Zlib/Zlib.dl
    l
    at C:/Perl/lib/IO/Uncompress/RawInflate.pm line 8
    Compilation failed in require at C:/Perl/lib/IO/Uncompress/RawInflate.pm...
    See more | Go to post
    Last edited by numberwhun; Dec 29 '08, 02:25 PM. Reason: Please use code tags

  • somsub
    started a topic Help on Network machine's status using ping command.
    in Perl

    Help on Network machine's status using ping command.

    Can any one help me on ping command .
    Code:
    for this line of code 
    ($ret, $duration, $ip) = $p->ping ($line)
    If i give any
    1> invalid entry as a parameter ($line) in ping command

    or

    2>Any network machine's name that actualy exists but it is down


    it is returning same value for ($ret, $duration, $ip) in both the cases .


    ............... ............... ............... ............
    See more | Go to post
    Last edited by numberwhun; Nov 18 '08, 01:21 PM. Reason: Please use code tags!

  • somsub
    replied to ping the machine using TCP pings
    in Perl
    I have used that code .. and that worked fine..........
    ............... ............... .... but .. it is showing the same result
    that is "machine name is down " for the

    1>invalid entry (machine name that is not found by the $p->ping in the network ) in the $line in ($p->ping ($line))

    and ....

    2>for those machines which are actualy down.

    Does any one...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...