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.

Script gets recorded with zero size

lawrencelawrence Members
edited November -1 in Sahi - Open Source
OS: Windows XP
Browser: IE8
Sahi Build: 2011-07-19

I have a html page which is used to log into the application. I recorded the login process and it got recorded with zero size.

Then did the below steps:
1) Sahi Dashboard -> Configure -> <browserType> for IE8: Changed <options>-noframemerging</options>
to
<options></options>
2) Restarted the system
3) Recorded the login process and got a zero size script file

I searched this forum and read few similar posts. However I could not solve this issue.

Comments

  • Hi lawrence,

    The <options> tag should remain unchanged for IE8.
    <options>-noframemerging</options>
    

    After clicking on the "Record" button, do you see the steps being recorded in the controller's "Evaluate expression" box?

    If you are not able to see these steps,
    [list=*]
    [*]Check if the controller's address bar matches the URL on the web page. If it does not, bring up the controller again and try recording.
    Eg: If your web page is google.co.in, then the controller's address bar should look something like this: http://www.google.co.in/_s_/spr/controller7.htm
    [/*]
    [*]If your application is on the localhost, replace "localhost" in the URL with the machine name or IP address. Try recording again.[/*]
    [/list]
    However, if you ARE able to see the steps, could you check if there are any errors reported on Sahi's console?

    Regards,
    dkulkarni
  • Hi dkulkarni,

    Below are the steps I get in the console:

    _domain("118.102.161.165")._click(_imageSubmitButton("lbtnSignIn"));

    However I did the below steps while recording:
    1) Entered the User Name
    2) Entered the Password
    3) Entered the Organization Code
    4) Clicked the Enter button

    Regards,
    Lawrence
  • Hi Lawrence,

    Can you post the URL of the application?Can you post the contents of Sahi's command prompt if you are getting any error.

    Also, can you check if the scripts are getting recorded as zero size with other browsers?

    Regards
    Sumitra
  • Hi Sumitra,

    1) URL: www.trinetrawireless.com/login.html
    2) No content is displayed in Sahi's controller since I am not getting any error
    3) I checked with Firefox also and getting the zero size file

    Regards,
    Lawrence
Sign In or Register to comment.