18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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
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.
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
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 .
Thanks,
Narayan
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