18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

How to run the demo files in the sahi download?

b1833b1833 Members
edited October 2009 in Sahi - Open Source
I have just downloaded sahi and am trying to learn to use it.

I am trying to run the demo files to show the various features. I see the folder but cant get them to run correctly.


Thanks,
Duane
Tagged:

Comments

  • narayannarayan Administrators
    Hi Duane,

    Can you specify what you tried and what did not work?
    Note that you will need to specify the start URL as http://sahi.co.in/demo/ for most of the scripts to work. Also have a look at demo.suite to know what the start urls for specific scripts are. They would be relative to http://sahi.co.in/demo/ . (Actually this information should be part of the scripts themselves. We will check which ones do not have the information and rectify them.)

    Regards,
    Narayan
  • b1833b1833 Members
    edited October 2009
    Ok, I found the line of text on one of the web pages telling how to get the demo to launch.. http:/ /localmachinename:10000/demo. I got it working.

    However, I am doing the save_as test and I only get zero byte file downloaded. I am running ie7.

    The file is saving with the name in the script, but zero bytes.. I see the temp file name in C:\sahi\temp\download with zero bytes. I tried increasing the wait to 10 seconds.. Still nothing..
  • Any ideas for the always zero byte file? I am beginning to think its a software bug...
  • narayannarayan Administrators
    b1833,

    You are right, the file saved is of 0 size. Thanks for reporting.
    How urgently do you need this fixed?

    Regards,
    Narayan
  • Soon as possible.. I am held up at this point.. my whole need for the automation is to automatically download files from a site. I realize there are other things on the list to do. I'd like to get back on this project in a week or so.

    Thanks,
    Duane
  • Hi Narayan,
    we are in the same trouble. Many our tests case finish with a file download but they fail due this 0 bytes situation ( :(( ) even if applications work fine.
    Our boss is not so happy .....

    TIA
    Massimo
  • narayannarayan Administrators
    Hi Massimo,

    This bug has been fixed in the build released yesterday (2009-10-22). Let us know if you still face a problem. Make sure you give a wait sufficient for the download to happen. (We will synchronize this soon, but use a wait for now.)

    Regards,
    Narayan
Sign In or Register to comment.