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.
How to select all the checkboxs
I want to check all the checkboxes on the page for that ... `I tried
< browser >
function SetAllCheckBoxes()
{
checkboxes = document.getElementsByTagName('checkbox');
for(var i in checkboxes)
checkboxes[ i ].checked = true;
}
< / browser >
_call(SetAllCheckBoxes());
but checkboxes are not changing its state. please correct me where ever I am wrong
< browser >
function SetAllCheckBoxes()
{
checkboxes = document.getElementsByTagName('checkbox');
for(var i in checkboxes)
checkboxes[ i ].checked = true;
}
< / browser >
_call(SetAllCheckBoxes());
but checkboxes are not changing its state. please correct me where ever I am wrong
Comments
You can use this:
Regards
Sumitra