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 blocked on playback - IE

nizar.salhajinizar.salhaji Members
edited November -1 in Sahi - Open Source
Hi,

I have this script:

_click(_span("Reportage - Report (44)"));
_click(_checkbox("editCart{4990BAD1-3532-42F3-AEFF-453AF7D050BE}"));
_click(_link("Add to cart"));
_click(_span("Shopping List"));

With Firefox all works fine. But with IE, the script stay blocked after this line:
_click(_link("Add to cart"));

Thanks for help.

Nizar.

Comments

  • I have the same issue, and cant deal with it.
  • I have an update.

    In my Web Site, link "Add to cart" is build as :

    <a href="javascript:addToCart(getSelectedItems('No item selected.'));">Add to cart</a>


    So, when Sahi execute this line: _click(_link("Add to cart")); the script stay blocked.

    But, I change this line
    _click(_link("Add to cart"));
    by
    _call(addToCart(getSelectedItems('No item selected.')));

    and my script works with IE.


    What's the different between these two call .
  • narayannarayan Administrators
    Can you please specify what browser and OS versions you are using? Could be a bug in Sahi that we need to look into on high priority.

    Thanks,
    Narayan
  • XP SP3 and IE6
  • Windwows 7 x64 Ultimate, IE8.

    This is that work for me:
    $('#image_editor_apply_changes_button').click();

    By the way, I put debug in concat.js inside _click() It fully complete execution. Sahi hang on somewhere outside concat.js
Sign In or Register to comment.