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.
Checkbox not checked in Chrome
Chrome version 10.0.648.127
Sahi build 2011-02-03
Hi
I can record a script to click some checkboxes :
_click(_checkbox("centerContent:productSelectionTree:n-0-0-0:product"));
_click(_checkbox("centerContent:productSelectionTree:n-0-0-1:product"));
_click(_checkbox("centerContent:productSelectionTree:n-0-0-2:product"));
When I play the script back, the checkboxes don't get selected!
I tried this:
_check(_checkbox("centerContent:productSelectionTree:n-0-0-0:product"));
_check(_checkbox("centerContent:productSelectionTree:n-0-0-1:product"));
_check(_checkbox("centerContent:productSelectionTree:n-0-0-2:product"));
It doesn't work either.
I'm using Chrome version 10.0.648.127, Sahi build 2011-02-03.
Both versions work in Firefox 3.6.11, but neither in Chrome.
Thanks in advance.
David
Sahi build 2011-02-03
Hi
I can record a script to click some checkboxes :
_click(_checkbox("centerContent:productSelectionTree:n-0-0-0:product"));
_click(_checkbox("centerContent:productSelectionTree:n-0-0-1:product"));
_click(_checkbox("centerContent:productSelectionTree:n-0-0-2:product"));
When I play the script back, the checkboxes don't get selected!
I tried this:
_check(_checkbox("centerContent:productSelectionTree:n-0-0-0:product"));
_check(_checkbox("centerContent:productSelectionTree:n-0-0-1:product"));
_check(_checkbox("centerContent:productSelectionTree:n-0-0-2:product"));
It doesn't work either.
I'm using Chrome version 10.0.648.127, Sahi build 2011-02-03.
Both versions work in Firefox 3.6.11, but neither in Chrome.
Thanks in advance.
David
Comments
This issue is not fixed in the current build of Sahi.
In the meanwhile, can you change line 636 in SAHI_HOME/htdocs/spr/concat.js to look like this and then run your script again? Check if this solves the problem.
The fix seems to work for me, (after restarting the proxy) and it still works in firefox too, so no noticable side-effects. Thanks.
Tell me if I'm wrong, but is this a problem that comes back with each new Chrome build?
Thanks again,
David